- Go to the Algolia dashboard and select your Algolia application.
- On the left sidebar, select Search.
- Select your Algolia index.
- On the Configuration tab, click Facets (in the Filtering and faceting section).
- In Attributes for faceting, click Add an Attribute
-
Set the attribute as:
- searchable if you want to use the attribute for both searching and filtering. For example, if a product has a
color
attribute, users can search for products of a specific color and also filter search results by color. - filter-only if you want to use the attribute only for filtering.
- not searchable if you want the attribute to be used only as a facet.
- searchable if you want to use the attribute for both searching and filtering. For example, if a product has a
- Click Review and Save Settings.