# Synonym exact match - phrase query

**URL:** <https://discuss.elastic.co/t/synonym-exact-match-phrase-query/57216>\
**Category:** Elasticsearch\
**Created:** [August 4, 2016, 12:53pm UTC](https://discuss.elastic.co/t/synonym-exact-match-phrase-query/57216 "2016-08-04T12:53:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amol.shelar2002](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@amol.shelar2002](https://discuss.elastic.co/u/amol.shelar2002)\
**Post date:** [August 4, 2016, 12:53pm UTC](https://discuss.elastic.co/t/synonym-exact-match-phrase-query/57216/1 "2016-08-04T12:53:25Z")

</div>

Hi Team,

```
I am trying to implement acronym functionality using synonym feature like (TS => Time Sheet).
	
This works fine for documents containing both these keywords time and sheet. But it is not doing exact match for "Time sheet" as a phrase.

I want those documents searchable where it is matching as a phrase. Is there a setting with synonym wherein it will behave as phrase query.

Or is there any other way to implement acronym feature?
```

---

<div class="post-metadata">

**Author:** ![davidbkemp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidbkemp/32/594_2.png) [@davidbkemp](https://discuss.elastic.co/u/davidbkemp)\
**Post date:** [August 8, 2016, 7:58am UTC](https://discuss.elastic.co/t/synonym-exact-match-phrase-query/57216/2 "2016-08-08T07:58:59Z")

</div>

I think you may be running into the "Multiword synonym & Phrase Queries" problem:  
[https://www.elastic.co/guide/en/elasticsearch/guide/current/multi-word-synonyms.html](https://www.elastic.co/guide/en/elasticsearch/guide/current/multi-word-synonyms.html)

You may find that you need to use "simple contraction" of "time sheet" =\> "ts" in both the index and the query analysers.

---

<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:** [July 5, 2017, 10:29pm UTC](https://discuss.elastic.co/t/synonym-exact-match-phrase-query/57216/3 "2017-07-05T22:29:30Z")

</div>


