[
https://issues.apache.org/jira/browse/SOLR-848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Otis Gospodnetic updated SOLR-848:
----------------------------------
Comment: was deleted
> The search method cannot manager several values for a single parameter
> ----------------------------------------------------------------------
>
> Key: SOLR-848
> URL: https://issues.apache.org/jira/browse/SOLR-848
> Project: Solr
> Issue Type: Improvement
> Components: clients - php
> Environment: Any
> Reporter: Antoine Tissier
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> If you look at this wiki page :
> http://wiki.apache.org/solr/SimpleFacetParameters
> You will notice the url may looks like :
> http://localhost:8983/solr/select?q=video&rows=0&facet=true&facet.field=inStock&facet.query=price:[*+TO+500]&facet.query=price:[500+TO+*]
> Two values for the field facet.query. It can also happen you have several
> values for the variable facet.field.
> Unfortunately, here is the current Apache_Solr_Service::search method
> public function search($query, $offset = 0, $limit = 10, $params = array())
> {
> (...)
> $queryString = http_build_query($params, null, $this->_queryStringDelimiter);
> (...)
> }
> $params is an associative array. In my opinion, (tell me if i am wrong), but
> this way you cannot generate this kind of query.
> Regards
> Antoine Tissier
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.