Closed GoogleCodeExporter closed 9 years ago
why did you make facet.query into a complicated array? the client doesn't do
anything special with your additional parameters except http_build_query...
I expect your intention was two separate faceted queries for each range, which
you'd do like this:
$params = array(
'facet' => 'true',
'facet.query' => array(
// use an array only because i have multiple facet queries,
// the queries themselves are just the lucene query syntax
'price:[* TO 5000]',
'price:[5000 TO 10000]'
)
);
which then looks like this in the GET / POST:
facet=true&facet.query%5B0%5D=price%3A%5B%2A+TO+5000%5D&facet.query%5B1%5D=price
%3A%5B5000+TO+10000%5D
If you have further problems with usage, try the mailing list first.
Original comment by donovan....@gmail.com
on 16 Jan 2013 at 3:53
Original issue reported on code.google.com by
ghogi...@gmail.com
on 16 Jan 2013 at 2:24