# Elastic search in splitting the words if dot comes between

**URL:** <https://discuss.elastic.co/t/elastic-search-in-splitting-the-words-if-dot-comes-between/321187>\
**Category:** Elasticsearch\
**Created:** [December 14, 2022, 7:13am UTC](https://discuss.elastic.co/t/elastic-search-in-splitting-the-words-if-dot-comes-between/321187 "2022-12-14T07:13:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jothi\_mano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jothi_mano/32/114681_2.png) [@jothi\_mano](https://discuss.elastic.co/u/jothi_mano)\
**Post date:** [December 14, 2022, 7:13am UTC](https://discuss.elastic.co/t/elastic-search-in-splitting-the-words-if-dot-comes-between/321187/1 "2022-12-14T07:13:05Z")

</div>

If a dot comes between the search string , it is not returning the proper results.

Example : search string ' 0002.AB'

Need a result which should list the results that matches the whole word first and followed by others.

Need an analyser for that ?

---

<div class="post-metadata">

**Author:** ![Venkata\_Raja](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkata_raja/32/114264_2.png) [@Venkata\_Raja](https://discuss.elastic.co/u/Venkata_Raja)\
**Post date:** [December 14, 2022, 7:21am UTC](https://discuss.elastic.co/t/elastic-search-in-splitting-the-words-if-dot-comes-between/321187/2 "2022-12-14T07:21:37Z")

</div>

Hi,  
Welcome to community!  
You can try providing statement in match phrase , give it additional boost and then try to give the string in match statement. So that you will achieve below.

> Need a result which should list the results that matches the whole word first and followed by others.`

---

<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 11, 2023, 7:22am UTC](https://discuss.elastic.co/t/elastic-search-in-splitting-the-words-if-dot-comes-between/321187/3 "2023-01-11T07:22:04Z")

</div>

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