# querySuggestion with custom analyzer

**URL:** <https://discuss.elastic.co/t/querysuggestion-with-custom-analyzer/312600>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [August 22, 2022, 10:35am UTC](https://discuss.elastic.co/t/querysuggestion-with-custom-analyzer/312600 "2022-08-22T10:35:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![matip](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matip/32/107673_2.png) [@matip](https://discuss.elastic.co/u/matip)\
**Post date:** [August 22, 2022, 10:35am UTC](https://discuss.elastic.co/t/querysuggestion-with-custom-analyzer/312600/1 "2022-08-22T10:35:14Z")

</div>

Hi,

is it possible to define an own analyzer for the query suggestions in App Search?

We are currently calling appSearchClient.querySuggestion(value, getQuerySuggestionOptions(fields, size)) and and have to trick the system to give the correct suggestions by working with e.g. undescores to avoid tokenization.

---

<div class="post-metadata">

**Author:** ![Brian\_McGue](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brian_mcgue/32/63366_2.png) [@Brian\_McGue](https://discuss.elastic.co/u/Brian_McGue)\
**Post date:** [August 31, 2022, 11:31pm UTC](https://discuss.elastic.co/t/querysuggestion-with-custom-analyzer/312600/2 "2022-08-31T23:31:12Z")

</div>

Hi @matip,

Unfortunately, there is no option to do this today in App Search. I don't believe this is on our roadmap at the moment, either, but it's a cool suggestion (see.what.i.did.there)!

Best,  
Brian

---

<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:** [September 28, 2022, 11:32pm UTC](https://discuss.elastic.co/t/querysuggestion-with-custom-analyzer/312600/3 "2022-09-28T23:32:07Z")

</div>

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