# Penalize multiple fuzzy matches from one word

**URL:** <https://discuss.elastic.co/t/penalize-multiple-fuzzy-matches-from-one-word/257430>\
**Category:** Elasticsearch\
**Created:** [December 2, 2020, 11:25pm UTC](https://discuss.elastic.co/t/penalize-multiple-fuzzy-matches-from-one-word/257430 "2020-12-02T23:25:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tianyi\_Mao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tianyi_mao/32/80037_2.png) [@Tianyi\_Mao](https://discuss.elastic.co/u/Tianyi_Mao)\
**Post date:** [December 2, 2020, 11:25pm UTC](https://discuss.elastic.co/t/penalize-multiple-fuzzy-matches-from-one-word/257430/1 "2020-12-02T23:25:57Z")

</div>

Suppose I am doing a multi\_match query with `"good brain"`, on the following documents:

```auto
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?

Thanks!  
Teddy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 30, 2020, 11:26pm UTC](https://discuss.elastic.co/t/penalize-multiple-fuzzy-matches-from-one-word/257430/2 "2020-12-30T23:26:26Z")

</div>

Closed on December 30, 2020, 11:26pm UTC

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