|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66774 SolrQuery::setFacetDateGap produces an error
Submitted: 2014-02-25 23:06 UTC Modified: 2014-02-27 01:03 UTC
From: Assigned: omars (profile)
Status: Not a bug Package: solr (PECL)
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
 [2014-02-25 23:06 UTC]
When running 


No results are shown since solr produces an error due to url encoding not present:
Solr Server Error: date facet 'gap' is not a valid Date Math string:  1YEAR

Test script:
$query = new SolrQuery();

echo $query;

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-02-26 01:18 UTC]
Automatic comment on behalf of omars
Log: Fixed Bug #66774, SolrQuery::setFacetDateGap() parameter not URL encoded
 [2014-02-26 01:18 UTC]
-Status: Open +Status: Closed
 [2014-02-26 19:27 UTC]
Automatic comment on behalf of omars
Log: Revert "Fixed Bug #66774, SolrQuery::setFacetDateGap() parameter not URL encoded"
 [2014-02-27 01:03 UTC]
-Status: Closed +Status: Not a bug -Assigned To: +Assigned To: omars
 [2014-02-27 01:03 UTC]
parameters are encoded on query time
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Dec 07 14:01:28 2023 UTC