Facet Configuration
This table lists the fields of your index that can be filtered on. Tick the ones visitors should see in the sidebar and choose how each one looks.
Where: Opensolr Search › Facet Mapping tab › Facet Configuration section
The columns
| Column | What it does |
|---|---|
| Enable | Shows the field as a facet on the search page. |
| Solr Field | The field name; the magnifier next to it opens a preview of its values in your index. |
| Type | string, numeric or date, which decides the widgets offered. |
| Widget | How the facet looks, see below. |
| Label | The heading visitors see. |
| Docs | How many documents have a value in this field. |
| Weight | The order in the sidebar, lower first. You can also drag the rows by their handle. |
| Min | The fewest documents a value needs to be listed. 1 by default; raise it to hide rare values. |
Widgets
- List: values to click, with their counts. With more than 10 values, a Filter... box appears; + Show all opens every value.
- Min/Max slider: for numbers, such as a price.
- Duration slider (h:mm:ss): for whole-number fields that hold seconds, such as the length of a video.
- Date range picker: for dates.
- Hierarchical (drill-down): for category levels, see Hierarchical categories.
Click Save configuration. Reset All Facets, under the table, turns every facet off after a confirmation; your mappings stay.
A field is missing?
The table only lists fields that already hold values in your index. After a new mapping, index your content again and come back.
Facets
- Facets
- Facet Mapping
- Facet Configuration
- Hierarchical Categories