First Iβll try to explain what I would like to achieve using facet search in SOLR before asking a question. Imagine that I have a parameter for a dog that describes what the dog is suitable for, and one dog may have several options. Let me call it "housing." Therefore, the dog is suitable for:
- in room
- on open air
- Children
- old people
- security.
So, basically, when I use facet search on this parameter, I get results with the current current database (url query facet=true&facet.field=housing ):
indoors (74), in the open air (63), children (71), old people (65), security (31).
Now, when I check the indoors parameter (url query fq=housing:1&facet=true&facet.field=housing ), I get the following results:
indoors (74), outdoors (53), children (60), old people (53), security (15).
He shows me that if, when checking the next parameter "outdoors", there are 53 dogs that are inside and out. I would like to get a result that would say: "How many dogs will be added to the result if I check the next option." Because there may be dogs that are suitable only outdoors. I would like to get results like this after checking the first parameter βindoorsβ:
indoors (74), outdoors (83), children (78), old people (79), security (75)
OR other way
(+0), on the street (+9), children (+4), people (+5), security (+1)
Is this possible in SOLR faceted-search? Or I use the wrong tool to achieve this. Because basically, when I check "indoors" and "on the street", I get the correct result from the query (url request fq=housing:(1 OR 2)&facet=true&facet.field=housing ). Just the number of faces is not what I expected.