# Elasticsearch- Prevent Highlight on fuzzy match when exact match is found

**URL:** <https://discuss.elastic.co/t/elasticsearch-prevent-highlight-on-fuzzy-match-when-exact-match-is-found/161152>\
**Category:** Elasticsearch\
**Created:** [December 17, 2018, 1:02pm UTC](https://discuss.elastic.co/t/elasticsearch-prevent-highlight-on-fuzzy-match-when-exact-match-is-found/161152 "2018-12-17T13:02:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nikesh/32/86579_2.png) [@Nikesh](https://discuss.elastic.co/u/Nikesh)\
**Post date:** [December 17, 2018, 1:02pm UTC](https://discuss.elastic.co/t/elasticsearch-prevent-highlight-on-fuzzy-match-when-exact-match-is-found/161152/1 "2018-12-17T13:02:47Z")

</div>

I am finding issues while highlighting text due to fuzziness.  
When i am searching on advertising and printing, the results shown are "advertising and printing", "printing", "writing" and "painting" I want to avoid highlight of fuzzy matched texts whenever a exact match is found in the same Document i.e., when "advertising and printing" is found, "writing" and "painting" should not be found if it found in same document.

---

<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:** [January 14, 2019, 1:02pm UTC](https://discuss.elastic.co/t/elasticsearch-prevent-highlight-on-fuzzy-match-when-exact-match-is-found/161152/2 "2019-01-14T13:02:53Z")

</div>

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