Reputation: 180
I have three content types with a taxonomy Term field "Topics". I want to create a Drupal search with Search API module. For the users I want to expose a search textfield and Topics as Dropdown so that they can select taxonomy topics and search for a keyword in that Topic. But with the search api module I am not seeing an option to expose my taxonomy Term field as drop down field. Is there a way I can do that?
Upvotes: 0
Views: 2645
Reputation: 4386
Facet API suggested in other answer is for Drupal 7. The Facets module in Drupal 8 enables your website with faceted searching abilities. Facets also supports Drupal 9.
You can display your facets in blocks.
Upvotes: 0
Reputation: 1
Make sure your Taxonomies are indexed from your index FIELDS tab.Then you can create exposed filters on taxonomies in your view on index."Taxonomy Facets" module also can help.
Upvotes: 0
Reputation: 114
check Facets API module and Taxonomy Facets
I think this can help
https://www.drupal.org/project/facetapi
https://www.drupal.org/project/taxonomy_facets
Upvotes: 0