Cache Settings

Image

Parameter Default value Description
Always cache thesaurus application results No Determines whether the results of search queries rewritten by active thesaurus rules are unconditionally cached.

Setting this to No allows for conditional caching (configured below). Tip: During peak traffic times, using conditional caching can reduce the load on your cache component, though this comes with the trade-off of slightly higher CPU usage and more analysis requests sent to your Elasticsearch/OpenSearch cluster.
Minimum amount of alternative queries 0 Defines the minimum number of alternative queries that must be generated by the thesaurus for a user’s search to be stored in the cache.

0 (Default): Always caches the result, even if the thesaurus did not generate any alternative queries.
1 (or more): Only caches the result if the thesaurus successfully generated at least this many alternative queries.

Text Analysis

image

Parameter Default value Description
Enable stemming on synonym and expansion rules No Controls how strictly user searches must match your configured thesaurus rules.

Yes: Applies the standard stemming algorithm to your thesaurus rules, allowing them to intelligently match broader singular and plural forms. Example: A synonym rule for story,tale will successfully trigger even if the user searches for stories. An expansion rule for sport => football,tennis will trigger if the user searches for sports.
No (Default): Enforces strict legacy matching. A search for stories will not trigger the story,tale synonym rule.

This site uses Just the Docs, a documentation theme for Jekyll.