Skip to content
Last update: April 11, 2024

Faceted Search

Faceted search (sometimes also called faceted navigation) allows users to navigate through a website by applying filters for categories, attributes, price ranges, and so on. The main idea behind faceted search is to present the attributes of the documents of the previous search result as filters, which can be used by the user to narrow down search results, along with calculating statistical counts to aid.

For example, let's search for all the lemon-lime drinks available:

  1. Check Soft Drinks in the Category facet:

    Soft drinks

  2. Check Lemon-Lime in the Flavor facet:


  3. The search query is executed using these two facets. The search result returns the entries that are aggregated both in the Category facet and in the Flavor facet:

    Faceted search result

This policy allows you to select multiple values of the same facet, for example, using a checkbox.

Readmore How to Implement Multi-Select Faceting for Nested Documents in Solr

Readmore Elastic Search Post Filter

The muti-select faceting search policy is enabled by default and you do not need to activate it.

Faceted Search Configuration

To configure properties available for faceted search via Platform Manager:

  1. Click Stores in the main menu.
  2. In the next blade, select the required store.
  3. In the next blade, click on the Aggregation properties widget.
  4. Click on the available properties to be applied to filtering. There are two types of properties:
    • Attributes: Displays and enables using all or selected values of the selected property for facet filters.
    • Range: Enables aggregating facet counts across ranges of values. This type is applicable to the date, time, datetime, number, and money type fields.
  5. Click Save in the top toolbar to save the changes.

Filtering properties

To edit a selecte property, click on it and configure the following fields:

Edit property