# Elasticsearch highlight

**URL:** <https://discuss.elastic.co/t/elasticsearch-highlight/290838>\
**Category:** Elasticsearch\
**Created:** [December 3, 2021, 3:46am UTC](https://discuss.elastic.co/t/elasticsearch-highlight/290838 "2021-12-03T03:46:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![qixian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/qixian/32/97437_2.png) [@qixian](https://discuss.elastic.co/u/qixian)\
**Post date:** [December 3, 2021, 3:46am UTC](https://discuss.elastic.co/t/elasticsearch-highlight/290838/1 "2021-12-03T03:46:00Z")

</div>

I want to have a accurate highlight match.for example ,then I search the string '2323',which will highlight the '2323' and don't highlight mathch '23231'、'23232' and so on.now I used the plain highlight type and default fragmenter,the result just like the below picture content.  
 ![微信图片_20211203114533](https://us1.discourse-cdn.com/elastic/original/3X/6/0/607b372a8d8b743cce4d1945eda4dc8851b24aa2.png)

 ![微信图片_20211203114540](https://us1.discourse-cdn.com/elastic/original/3X/3/f/3fcf72672da35c34cf72607e82d50fe3b8f7f958.png)

---

<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 31, 2021, 3:46am UTC](https://discuss.elastic.co/t/elasticsearch-highlight/290838/2 "2021-12-31T03:46:41Z")

</div>

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