I have problems with the cut. Imagine this situation. The product may be in several categories. This is the usual behavior for cutting:
Category
- Android (25)
- iPhone (55)
- other (25)
Now when I select "Android", I make a new request with "fq" => "category: Android", I will get:
Category
- Android
- iPhone (15)
- other (2)
But this means that there are 15 products that are in the categories of โAndroidโ and โiPhoneโ. I would like something like this: ("Android" or "iPhone")
Category
- Android
- iPhone (+5)
- other (+1)
Value I will get 25 results by selecting "Android (25)" and another 5 by selecting "iPhone (+5)", so finally I will get 30 search results.
Does anyone know if this is possible with a SOLR cut? Or perhaps with multiple queries and compute it manually?
Thanks for the advice!
source share