vector_search.synonym_max_score

Background

The maximum score (distance) to use for synonym word auto generation, which does a vector search (nearest neighbor search) to find synonyms with a distance of this score or less. Values closer to 0.0 are considered more similar synonyms, whilst words that have a score up to 1.0 are considered to be further away in meaning (i.e. non-synonyms).

Setting the key

Set this configuration key in the search package or data source configuration.

Use the configuration key editor to add or edit the vector_search.synonym_max_score key, and set the value. This can be set to any valid Double value.

Default value

By default, it is 1.0 score.

vector_search.synonym_max_score=1.0

Examples

To allow the generating of synonyms with more similar meanings lower the score to 0.5.

vector_search.synonym_max_score=0.5