Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

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.

  1. Define custom property in the Application Dictionary (see Related topics below).
  2. Add queryable flag:
    1. Go to Admin Console > Marketing > Search > Field Boosting.
    2. Find the custom property.
    3. Edit the custom property.
    4. Change Queryable to Yes.
    5. Adjust boost value as desired.
  3. Rebuild the Elasticsearch index.