I have problems with faceting. Imagine this situation. Product can be in more than one category. This is common behavior for faceting:
Category
- Android (25)
- iPhone (55)
- other (25)
Now when I select "Android", I make new query with "fq" => "category:Android", I will get:
Category
- Android
- iPhone (15)
- other (2)
But this means that there is 15 products, that are in categories "Android" AND "iPhone". I would like something like this: ("Android" OR "iPhone")
Category
- Android
- iPhone (+5)
- other (+1)
Meaning 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 SOLR's faceting? Or perhaps with more than one query and calculate it manually?
Thanks for advice!