Faceting is a method of high-performance filtering that uses multiple dimensions of attribute values as search criteria. Faceted search is similar, but considerably “smarter” than the standard layered navigation. The list of available filters is determined by the filterable attributes of products returned in the search results.
Any defined facet may be used as a URL parameter and results will be filtered based on the parameter values: http://yourstore.com?brand=acme&color=red
.
The category and product attribute requirements for faceting are similar to the filterable attributes used for layered navigation. The storefront properties of each attribute must be set to filterable (with results)
.
Live Search supports up to:
Setting | Description |
---|---|
Category display settings | Anchor - Yes |
Attribute properties | Catalog Input type - Yes/No , Dropdown , Multiple Select , Price , Visual swatch (widget only), Text swatch (widget only) |
Attribute storefront properties | Use in Search Results Layered Navigation - Yes |
The following product attributes have storefront properties that are used by Live Search and enabled by default.
Property | Storefront Property | Attribute |
---|---|---|
Sortable | Used for Sorting in Product Listing | price |
Searchable | Use in Search | price sku name |
FilterableInSearch | Use in Layered Navigation - Filterable (with results) | price visibility category_name |
The following table shows the default search and filterable properties of non-system attributes, including those that are specific to the Luma sample data. Setting the Use in Search attribute property to Yes
makes the attribute searchable in both Live Search and native Adobe Commerce.
Attribute Code | Searchable | Use in Layered Navigation |
---|---|---|
activity | Yes | Filterable (with results) |
attributes_brand | Yes | No |
brand | Yes | No |
climate | Yes | Filterable (with results) |
collar | Yes | Filterable (with results) |
color | Yes | Filterable (with results) |
cost | Yes | No |
eco_collection | Yes | Filterable (with results) |
gender | Yes | Filterable (with results) |
manufacturer | Yes | Filterable (with results) |
material | Yes | Filterable (with results) |
purpose | Yes | Filterable (with results) |
strap_bags | Yes | Filterable (with results) |
style_general | Yes | Filterable (with results) |
The following table shows the default search and filterable properties of system attributes.
Attribute Code | Searchable | Use in Layered Navigation |
---|---|---|
allow_open_amount | Yes | Filterable (with results) |
description | Yes | No |
name | Yes | No |
price | Yes | Filterable (with results) |
short_description | Yes | No |
sku | Yes | No |
status | Yes | No |
tax_class_id | Yes | No |
url_key | Yes | No |
weight | Yes | No |