# Support for quote\_analyzer in simple\_query\_string query

**URL:** <https://discuss.elastic.co/t/support-for-quote-analyzer-in-simple-query-string-query/321016>\
**Category:** Elasticsearch\
**Created:** [December 12, 2022, 10:11am UTC](https://discuss.elastic.co/t/support-for-quote-analyzer-in-simple-query-string-query/321016 "2022-12-12T10:11:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkr-os](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@mkr-os](https://discuss.elastic.co/u/mkr-os)\
**Post date:** [December 12, 2022, 10:11am UTC](https://discuss.elastic.co/t/support-for-quote-analyzer-in-simple-query-string-query/321016/1 "2022-12-12T10:11:00Z")

</div>

I want to support queries mixing exact (phrase) and more lenient matching without parsing the user query myself. The `simple_query_string` query with its `quote_field_suffix` parameter seemed like a good candidate for this. However, I noticed that unlike the `query_string` query it does not support passing a `quote_analyzer`, so I can only supply a single analyzer that is applied to both, the phrase subqueries and the simple term subqueries. This is not helpful as I would like to apply some stemming and character removal on the inexact part(s) of the query while I'd like to preserve the exact tokens for the phrase match part(s).

How is the `simple_query_string` query supposed to work if you can define a different field (using `quote_field_suffix`) but not a different (search) analyzer for phrase subqueries?

---

<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 9, 2023, 10:11am UTC](https://discuss.elastic.co/t/support-for-quote-analyzer-in-simple-query-string-query/321016/2 "2023-01-09T10:11:32Z")

</div>

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