Facets
Facets are the filters in the sidebar of your search page: category, price, date, author, or any field of your own. Visitors click to narrow the results; every active filter shows as a pill they can remove.
/admin/config/search/opensolr/fields)A field of your own becomes a facet in three steps. Fields Opensolr already fills, like category and date, skip the first two.
The pages of this part
- Facet Mapping: send a Drupal field to your index as a field you can filter on.
- Facet Configuration: pick which fields show as facets, their widget, label, order and minimum count.
- Hierarchical categories: drill down through your taxonomy tree, Electronics, then Computers, then Laptops.
Ready from the start
A new installation already shows two facets: Category (a list) and Date (a date range picker). The same facets also feed the sort menu.
Then facets are set in the Control Panel of your index, in Opensolr, and this tab shows a link there. See Configure facets on the hosted search page.