# High recall, low precision, n-gram partial match

**URL:** <https://discuss.elastic.co/t/high-recall-low-precision-n-gram-partial-match/265644>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [February 26, 2021, 6:07pm UTC](https://discuss.elastic.co/t/high-recall-low-precision-n-gram-partial-match/265644 "2021-02-26T18:07:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlblake](https://avatars.discourse-cdn.com/v4/letter/c/edb3f5/32.png) [@carlblake](https://discuss.elastic.co/u/carlblake)\
**Post date:** [February 26, 2021, 6:07pm UTC](https://discuss.elastic.co/t/high-recall-low-precision-n-gram-partial-match/265644/1 "2021-02-26T18:07:21Z")

</div>

We have setup a news search application which is returning a lot of irrelevant articles, because of n-grams and partial matches. For example, a search on MongoDB is returning articles with the word 'among' or 'ongoing' in it. These unrelated articles seem to have a score \< 1. A few solutions/feature requests come to mind, but not sure which ones are possible.

We could filter by score, but there is no way to pass a filter "min\_score": 0.5.

Can we increase the min\_gram, max\_gram settings in App Search? We like the way query\_suggest works, so we wouldn't want to impact that.

We can try adding quotes around single terms like "MongoDB", but didn't find an easy way to do this in Simple-ui without overriding the existing methods/functionality.

Thoughts?

Thank you,  
Carl

---

<div class="post-metadata">

**Author:** ![JasonStoltz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasonstoltz/32/49893_2.png) [@JasonStoltz](https://discuss.elastic.co/u/JasonStoltz)\
**Post date:** [February 26, 2021, 6:53pm UTC](https://discuss.elastic.co/t/high-recall-low-precision-n-gram-partial-match/265644/2 "2021-02-26T18:53:58Z")

</div>

This is a challenge with App Search right now. We're currently working on solutions to solve this, but we can't share any specific dates or details at this time.

---

<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:** [March 26, 2021, 6:54pm UTC](https://discuss.elastic.co/t/high-recall-low-precision-n-gram-partial-match/265644/3 "2021-03-26T18:54:03Z")

</div>

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