Product attribute properties (metadata) determine:
The scope of attribute metadata is
The Live Search API allows a client to sort by any product attribute that has the storefront property
Use in Search set to
Yes in the Adobe Commerce Admin. When enabled,
Search Weight and
Visible in Advanced Search can be set for the attribute.
Live Search does not index deleted products or those set to
Not Visible Individually.
The client calls the search service from the storefront to retrieve (filterable, sortable) index metadata. Only searchable product attributes with the Use in Layered Navigation property set to
Filterable (with results) and Use for Sorting in Product Listing set to
Yes can be called by the search service.
To construct a dynamic query, the search service needs to know which attributes are searchable and their weight. Live Search honors Adobe Commerce search weights (1-10, where 10 is the highest priority). The list of data that is synced and shared with the catalog service can be found in the schema, which is defined in:
When Live Search is configured and synchronized during onboarding, it can take up to eight hours to build the initial index. The process begins after
cron submits the feed and finishes running.
The following events trigger a full sync and index build:
For example, changing the
Use in Search property of the
color attribute from
Yes changes the attribute metadata to
searchable=true, and triggers a full sync and reindex. The following attribute metadata trigger a full sync and reindex when changed:
After the initial index is built during onboarding, the following incremental product updates are continuously synced and reindexed:
For example, adding a new swatch value to the
color attribute is handled as a streaming product update.
Streaming update workflow:
The Live Search API allows a client to sort by any sortable product attribute by setting the storefront property, Used for sorting in product listings to
Yes. Depending on the theme, this setting causes the attribute to be included as an option in the Sort by pagination control on catalog pages. Up to 300 product attributes can be indexed by Live Search, with storefront properties that are searchable and filterable.
The index metadata is stored in the indexing pipeline and is accessible by the search service.
The order of the fields in this list reflects the typical order of columns in exported product data.
The following field is indexed for all configurable products: