You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Giving the facet.query in array of $additionalParameters
2. format : 'facet.query' =>
array('price'=>array('[*+TO+5000]',[5000+TO+10000]))
What is the expected output? What do you see instead?
I expect for output to be an array of facet.query object, but response is is
empty (stdClass Object ( [facet_queries] => stdClass Object ( ) ....)
What version of the product are you using? On what operating system?
stable @version $Id: Service.php 59 2011-02-08 20:38:59Z donovan.jimenez $
Original issue reported on code.google.com by ghogi...@gmail.com on 16 Jan 2013 at 2:24
The text was updated successfully, but these errors were encountered:
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:24The text was updated successfully, but these errors were encountered: