Penalize multiple fuzzy matches from one word

Suppose I am doing a multi_match query with "good brain", on the following documents:

a good brain is so fun
some rain on grain and brain drain
brain brain brain brain

By adjusting the k1 value of BM25 scoring, one can make the 1st document more preferred over the 3rd one. However, when fuzzy matching is on, the second document will get multiple matches over different variants of brain, which boosts its score.

Is there a way to penalize matching multiple variants of a word in fuzzy match, so the index would wish to match more different words from the original query?


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.