# Multi match query with quote field suffix

**URL:** <https://discuss.elastic.co/t/multi-match-query-with-quote-field-suffix/136588>\
**Category:** Elasticsearch\
**Created:** [June 20, 2018, 12:36am UTC](https://discuss.elastic.co/t/multi-match-query-with-quote-field-suffix/136588 "2018-06-20T00:36:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![akanshmurthy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akanshmurthy/32/32465_2.png) [@akanshmurthy](https://discuss.elastic.co/u/akanshmurthy)\
**Post date:** [June 20, 2018, 12:36am UTC](https://discuss.elastic.co/t/multi-match-query-with-quote-field-suffix/136588/1 "2018-06-20T00:36:00Z")

</div>

Hi there, I'm trying to do something pretty simple. If the search term is within quotes, then I want to do a phrase match. If the search term is not in quotes, then I just want to do a standard multi\_match.

This scenario seems to be handled with the query\_string and quote\_field\_suffix ([https://www.elastic.co/guide/en/elasticsearch/reference/current/mixing-exact-search-with-stemming.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/mixing-exact-search-with-stemming.html)). However, I want to use quote\_field\_suffix with multi\_match. Is this or something similar possible?

---

<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 18, 2018, 12:36am UTC](https://discuss.elastic.co/t/multi-match-query-with-quote-field-suffix/136588/2 "2018-07-18T00:36:10Z")

</div>

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