# Phrase match

**URL:** <https://discuss.elastic.co/t/phrase-match/74932>\
**Category:** Elasticsearch\
**Created:** [February 13, 2017, 9:58pm UTC](https://discuss.elastic.co/t/phrase-match/74932 "2017-02-13T21:58:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tatireddy\_Reddy](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@Tatireddy\_Reddy](https://discuss.elastic.co/u/Tatireddy_Reddy)\
**Post date:** [February 13, 2017, 9:58pm UTC](https://discuss.elastic.co/t/phrase-match/74932/1 "2017-02-13T21:58:49Z")

</div>

Hi All,

I have a scenario like below.

in index i have a data like below

Makeup applying

if i search xyz makeup applying , makeup applying xyz, makeup applying it has to return the record

if i search xyz makeup , makeup xyz, applyzing xyz ,xyz applying should not return.

Please suggest me how to construct the query.

Appreciate help.

---

<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 13, 2017, 9:58pm UTC](https://discuss.elastic.co/t/phrase-match/74932/2 "2017-03-13T21:58:50Z")

</div>

Closed on March 13, 2017, 9:58pm UTC

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