Add custom properties to the search index
Describes how to add custom properties to the search index by enabling the queryable flag in the Admin Console in Optimizely Configured Commerce.
Custom properties can be add to the search index by enabling the queryable
flag in the Admin Console in Optimizely Configured Commerce. Custom properties will then be treated as text and are added to the ExactMatch
, PrefixMatch
and PhraseMatch
queries during search.
- Define custom property in the Application Dictionary (see Related topics below).
- Add
queryable
flag:- Go to Admin Console > Marketing > Search > Field Boosting.
- Find the custom property.
- Edit the custom property.
- Change Queryable to Yes.
- Adjust boost value as desired.
- Rebuild the Elasticsearch index.
Updated over 1 year ago