Magento attributes listing allows ElasticSuite users to configure attribute that will be useful for search and for facets. Attribute listing can be accessed under the Magento Stores menu > Attributes > Product > Select an attribute Then under “Storefront properties”, configuration for search and facets will be available :
Parameter | Default value | Description |
---|---|---|
Use for Promo Rule Conditions | No | This is a Magento field, but it’s important that this field is set to yes if the attribute is needed in rule engine (virtual categories, virtual attributes, optimizers) |
Parameter | Default value | Description |
---|---|---|
Use in Search | No | If the attribute is used for product search. Eg : Setting it to “Yes” for the “Color” attribute allows to obtain result when searching on “blue hoodie” or “red jacket”. |
Search Weight | 1 | The weight of this attribute in search. |
Used in spellcheck | No | When set to “Yes”, the engine will compute spellchecking on this attribute values. |
Use in vector search | No | If the field should be used to compute semantic proximity when the vector search feature is enabled |
Vector Search Prompt | %s | A chunk of prompt you can edit to add a bit of context on the attribute data. This might help the LLM engine when indexing. |
Display in autocomplete | No | When set to “Yes”, values of this attributes will be shown in autocomplete results. |
Visible in Advanced Search | No | If this attribute can be used on the Advanced Search page. |
Used for Sorting in Product Listing | No |
Parameter | Default value | Description |
---|---|---|
Use in Layered Navigation | No | Set this to “Filterable (with results)” to display this attribute as a search filter (facet) on the Catalog Navigation pages. |
Use in Search Results Layered Navigation | No | Set this to “Yes” to display this attribute as a search filter (facet) on the Search Result pages. |
Facet coverage rate | 90 | The minimum coverage rates of results by this attribute. Example, if set to 90% on the “Brand” attribute, the facet will be displayed only if 90% of the products in the search results or category have a brand. |
Facet max.size | 10 | The maximum number of values that will be displayed for this facet. If the attribute features more values than this limit, a Show more button will be displayed after the values listing and an autocomplete search box will appear automatically above the values listing. |
Facet sort order | Result count | This is how the facet values will be ordered. Result count : Will order values according to their number of results (descending). Admin sort : Values will be displayed as ordered in attribute’s options values in Magento back-office. Name : Values will be displayed alphabetically (ascending). Relevance : Values are displayed by relevance. |
Use in facets recommendations | No | If set to yes, the attribute will be used in the facet recommender. |
Facet internal logic | Logical OR (default) | |
Position | Order of the facet in the filters block |
Parameter | Default value | Description |
---|---|---|
Include zero or false values | No | |
Default Search Analyzer | standard | This is how the data of this attribute will be indexed. standard : Recommended for most attributes, will apply stemming and word delimiting according to language. Reference : To be used with SKU-like attributes : will decompound letters and numbers. standard_edge_ngram : Will output data suitable for partial matching : Eg, “Lagavullin” will be indexed as “l la lag lagav lagavu lagavul lagavull lagavullin” |
Use this field for span queries | No | |
Discard the field length for scoring | No |