I have some specific id like 1,2,5,11,64589 in solr (int type)
I want to qet query like ttp://localhost:8983/solr/select?q=x:[1,2,5,11,64589] but does not work (get error). how can do it ???
Note: i can implement with "OR" but i want simple way (and other problem limit in max url char length)
These are your options:
?q=x:(1 OR 2 OR 5 OR ...)
?q=x:1 OR x:2 OR x:5 OR ...
?q=x:(1 2 5 ...)
with defaultOperator="OR" (haven't tried this one but it should work)If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With