Hello,

In our project we have a requirement to exposed facet operator to user. On fronend, user will see a bunch of facets and for each he will be able to select AND/OR operator. I'm looking for a way how to implement this.

I guess for this I would need to create custom widget for each facet to include AND/OR operator switcher. But I have no idea how to pass this operator to search_api/search_api_solr. Does facetsa allow operator to be set in GET parameter?

Current setup:
- search_api: 7.x-1.14
- facetapi: 7.x-1.5
- search_api_solr: 7.x-1.6

Any suggestions?

Thanks!

Comments

markabur’s picture

Did you ever have any success with this? I'm needing the same thing and have no idea where to start.