Guides / Managing results / Refine results / Faceting

How to declare attributes for faceting in the dashboard

On this page

Algolia lets you create categories based on specific attributes so users can filter search results by those categories For example, if you have an index of books, you could categorize them by author and genre. This allows users to filter search results by their favorite author or discover new genres.

To enable this categorization, first declare your attributes for faceting. To do this:

  1. Go to the Algolia dashboard and select your Algolia application.
  2. On the left sidebar, select Algolia Search Search.
  3. Select your Algolia index:

    Select your Algolia application and index

  4. On the Configuration tab, click Facets (in the Filtering and faceting section).
  5. In Attributes for faceting, click Add an Attribute
  6. Set each facet attribute as:

    Set the type of facet attribute

  7. Click Review and Save Settings

See also

Did you find this page helpful?