Is there a way to a facet disjunctive when using a facet query:
I have a query like this:
I would like the facet-result to return all colors so that I can query several colors and get results that has either color. While still allowing the user to pick more colors
Hi @Tobias_Monster , welcome to the community!
There is not a direct way of doing disjunctive faceting via App Search API.
However, you could use Search UI for achieving this. Search UI provides disjunctive facets that is done client side - it performs two queries, one with the filter applied and other without.
You can check the source code for it or use Search UI for interacting with App Search.
Hope this helps!
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.