Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
markabur CreditAttribution: markabur commentedDid you ever have any success with this? I'm needing the same thing and have no idea where to start.