# Highlight only search letters in wildcard search

**URL:** <https://discuss.elastic.co/t/highlight-only-search-letters-in-wildcard-search/97353>\
**Category:** Elasticsearch\
**Created:** [August 17, 2017, 7:22am UTC](https://discuss.elastic.co/t/highlight-only-search-letters-in-wildcard-search/97353 "2017-08-17T07:22:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Narmatha](https://avatars.discourse-cdn.com/v4/letter/n/d26b3c/32.png) [@Narmatha](https://discuss.elastic.co/u/Narmatha)\
**Post date:** [August 17, 2017, 7:22am UTC](https://discuss.elastic.co/t/highlight-only-search-letters-in-wildcard-search/97353/1 "2017-08-17T07:22:10Z")

</div>

How to highlight only the search term alone in wildcard search.

Ex: text : `*us*` .

Response : Focus, uses, plus.

Highlight only us in the above response.

Is this possible in elasticsearch 2.4 ?

---

<div class="post-metadata">

**Author:** ![Narmatha](https://avatars.discourse-cdn.com/v4/letter/n/d26b3c/32.png) [@Narmatha](https://discuss.elastic.co/u/Narmatha)\
**Post date:** [August 17, 2017, 9:22am UTC](https://discuss.elastic.co/t/highlight-only-search-letters-in-wildcard-search/97353/2 "2017-08-17T09:22:35Z")

</div>

Can anyone help on this ?

---

<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:** [September 14, 2017, 9:22am UTC](https://discuss.elastic.co/t/highlight-only-search-letters-in-wildcard-search/97353/3 "2017-09-14T09:22:38Z")

</div>

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