# Why can't I use the specified tokenizer query?

**URL:** <https://discuss.elastic.co/t/why-cant-i-use-the-specified-tokenizer-query/203621>\
**Category:** Elasticsearch\
**Created:** [October 15, 2019, 10:37am UTC](https://discuss.elastic.co/t/why-cant-i-use-the-specified-tokenizer-query/203621 "2019-10-15T10:37:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yanglingqiang](https://avatars.discourse-cdn.com/v4/letter/y/8e7dd6/32.png) [@yanglingqiang](https://discuss.elastic.co/u/yanglingqiang)\
**Post date:** [October 15, 2019, 10:37am UTC](https://discuss.elastic.co/t/why-cant-i-use-the-specified-tokenizer-query/203621/1 "2019-10-15T10:37:44Z")

</div>

I am going to specify a tokenizer query for a field when I query, why is it invalid?

 ![33333](https://us1.discourse-cdn.com/elastic/original/3X/7/b/7bbc63677ce3feaa12ad8454f80e2d31555ca18d.png)  
 ![11111](https://us1.discourse-cdn.com/elastic/original/3X/f/9/f9c2c1a20e5f5e261cb9c9c294060aaa827a80c6.png)  
 ![22222](https://us1.discourse-cdn.com/elastic/original/3X/b/d/bd4bdfb3892f5773b7ff9447ed441f817f1b8e04.png)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 15, 2019, 12:19pm UTC](https://discuss.elastic.co/t/why-cant-i-use-the-specified-tokenizer-query/203621/2 "2019-10-15T12:19:26Z")

</div>

Please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.

Instead, paste the text and format it with `</>` icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.

It would be great if you could update your post to solve this.

Could you provide a full recreation script as described in [About the Elasticsearch category](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will help to better understand what you are doing. Please, try to keep the example as simple as possible.

A full reproduction script will help readers to understand, reproduce and if needed fix your problem. It will also most likely help to get a faster answer.

---

<div class="post-metadata">

**Author:** ![yanglingqiang](https://avatars.discourse-cdn.com/v4/letter/y/8e7dd6/32.png) [@yanglingqiang](https://discuss.elastic.co/u/yanglingqiang)\
**Post date:** [October 16, 2019, 1:54am UTC](https://discuss.elastic.co/t/why-cant-i-use-the-specified-tokenizer-query/203621/3 "2019-10-16T01:54:17Z")

</div>

OK, think you

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 16, 2019, 11:22am UTC](https://discuss.elastic.co/t/why-cant-i-use-the-specified-tokenizer-query/203621/4 "2019-10-16T11:22:13Z")

</div>

Sure but where is the script we can use to help you?

---

<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:** [November 13, 2019, 11:22am UTC](https://discuss.elastic.co/t/why-cant-i-use-the-specified-tokenizer-query/203621/5 "2019-11-13T11:22:14Z")

</div>

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