When I do a query like this '*' and apply a bunch ...
# community-help
s
When I do a query like this '*' and apply a bunch of facets, is there then a way to sort by "number of matched facets"
k
I don't follow you. Say there are 2 facets in the result of 35 records: A with count 20, and B with count 15, what do you want to do here?
s
Assume I have 5 facets: A,B,C,D,E,F each having 20 possible values Entry 1: matches 1 value in A,B,C,D,E,F Entry 2 matches: 2 values in all facets Entry 3 matches: 3 values in all facets Entry 4 matches: 4 values in all facets ... And now I would like entry 4 to be ranked first
k
No that's not possible. But this can be pre-computed as a field before hand and then you can just sort on that.
s
Hmm, only if the values I am filtering for a static, which they are not in my case
k
Can you tell me how the filter query will look like?