Custom properties can be added to the search index by enabling the queryable flag in the Admin Console. Custom properties will then be treated as text and are added to the ExactMatch, PrefixMatch and PhraseMatch queries during a search.
- Define custom property in the Application Dictionary (see related articles 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 (see related article below)
Note: We only index custom properties which are specifically marked as being searchable when creating the search index (Search.Searchboost, name = Field_customProperties.<custom prop name> and IsQueryable = 1).
Last updated: Dec 11, 2020