# Elasticsearch search by part of a word

**URL:** <https://discuss.elastic.co/t/elasticsearch-search-by-part-of-a-word/323748>\
**Category:** Elasticsearch\
**Created:** [January 23, 2023, 3:57pm UTC](https://discuss.elastic.co/t/elasticsearch-search-by-part-of-a-word/323748 "2023-01-23T15:57:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![maks1](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@maks1](https://discuss.elastic.co/u/maks1)\
**Post date:** [January 23, 2023, 3:57pm UTC](https://discuss.elastic.co/t/elasticsearch-search-by-part-of-a-word/323748/1 "2023-01-23T15:57:11Z")

</div>

Hello. Could you help me? There is an ELK cluster (version 5) and through kibana I execute a query for a part of a word using a wildcard, for example, **examp** \*, but nothing is found. If I search for the whole word **example** , then everything is found. I also have a second ELK cluster and everything is found correctly in the part of the word using wildcard. I don't understand what is the difference between the settings between these two clusters

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [January 23, 2023, 4:36pm UTC](https://discuss.elastic.co/t/elasticsearch-search-by-part-of-a-word/323748/2 "2023-01-23T16:36:24Z")

</div>

Hi Max,

Can I check you're using Elasticsearch v5x, and that you're using the same version for both clusters? That version is rather old and long [out of support](https://www.elastic.co/support/eol), so I would recommend upgrading if you can.

In terms of your query differences, have you checked the index mapping and cluster settings to make sure they match exactly?

GET my\_index/\_mapping  
GET my\_index/\_stats  
GET \_cluster/stats

---

<div class="post-metadata">

**Author:** ![maks1](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@maks1](https://discuss.elastic.co/u/maks1)\
**Post date:** [January 24, 2023, 4:25am UTC](https://discuss.elastic.co/t/elasticsearch-search-by-part-of-a-word/323748/3 "2023-01-24T04:25:48Z")

</div>

> [@carly.richmond](#):
>
> \_cluster/stats

I checked the mapping settings, in both clusters I have message type text set (I'm looking for the word example in the message field), the cluster settings are also the same

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [January 24, 2023, 9:37am UTC](https://discuss.elastic.co/t/elasticsearch-search-by-part-of-a-word/323748/4 "2023-01-24T09:37:38Z")

</div>

Can you share your index mapping and query? Can you also confirm you're using the exact same query and version across both clusters?

---

<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:** [February 21, 2023, 9:37am UTC](https://discuss.elastic.co/t/elasticsearch-search-by-part-of-a-word/323748/5 "2023-02-21T09:37:57Z")

</div>

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