Working with Search Term Associations (STAs)
Search Term Associations (STAs) enhances, diversifies, or replaces existing search results. Additionally, search phrases can be associated with particular landing pages in the store. A product recommendation strategy using STA is used to increase store sales by modifying search submissions to target or increase search results.
STAs are treated in the same way by Elasticsearch as they are by Solr. For more information, see Search term associations. Similar to Solr, the Query service evaluates and expands Elasticsearch STAs during runtime, including synonyms and replacement terms. Since Query service cannot access Commerce directly, STA configurations from CMC are replicated to Zookeeper during indexing so that Query service can retrieve data from Zookeeper at runtime.
For more information on essential guidance concerning the use of synonyms and replacement terms with Elasticsearch, see Expanding synonyms and Search Term Associations at query time.