# Synonyms multi word search issue

**URL:** <https://discuss.elastic.co/t/synonyms-multi-word-search-issue/263110>\
**Category:** Elasticsearch\
**Created:** [February 3, 2021, 11:09am UTC](https://discuss.elastic.co/t/synonyms-multi-word-search-issue/263110 "2021-02-03T11:09:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![smshabab11](https://avatars.discourse-cdn.com/v4/letter/s/d26b3c/32.png) [@smshabab11](https://discuss.elastic.co/u/smshabab11)\
**Post date:** [February 3, 2021, 11:09am UTC](https://discuss.elastic.co/t/synonyms-multi-word-search-issue/263110/1 "2021-02-03T11:09:47Z")

</div>

I have created an index with synonyms.txt file in which there is a word GDM and corresponding synonym is General Data Manager and the expectation is If I want to search "GDM" it should show results which has "GDM" or "General Data Manager".  
But the search results is not what I want. It shows documents which have "General", "Data", "Manager" or "GDM". I just want to get results which has "GDM" or "General Data Manager" in the documents.  
So, what can I need to do? Thanks.

---

<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:** [March 3, 2021, 11:10am UTC](https://discuss.elastic.co/t/synonyms-multi-word-search-issue/263110/2 "2021-03-03T11:10:14Z")

</div>

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