# Completion type Is it possible to use Query after word

**URL:** https://discuss.elastic.co/t/completion-type-is-it-possible-to-use-query-after-word/302157
**Category:** Elasticsearch
**Created:** [April 11, 2022, 9:07pm UTC](https://discuss.elastic.co/t/completion-type-is-it-possible-to-use-query-after-word/302157 "2022-04-11T21:07:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![fzxwan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fzxwan/32/104260_2.png) [@fzxwan](https://discuss.elastic.co/u/fzxwan)
#### Post date: [April 11, 2022, 9:07pm UTC](https://discuss.elastic.co/t/completion-type-is-it-possible-to-use-query-after-word/302157/1 "2022-04-11T21:07:55Z")

</div>

```auto
"settings": {
    "number_of_shards": 3,
    "analysis": {
      "analyzer": {
        "my_analyzer":{
          "tokenizer": "ik_max_word",
          "filter": "py"
        }
      },
      "filter": {
        "py": {
          "type": "pinyin",
          "keep_full_pinyin": false,
          "keep_joined_full_pinyin": true,
          "keep_original": true,
          "remove_duplicated_term": true,
          "none_chinese_pinyin_tokenize": false
        }
      }
    }

"suggestion":{
              "type": "completion",
              "analyzer": "my_analyzer",
              "search_analyzer": "ik_smart"
            }

```

After the complex of the Completion type, use the suggest query without problems when I want to use Query March query, I can't find data，unique match is when I enter the content and suggestion content, Is it unable to use Query queries?

---

<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: [May 9, 2022, 9:08pm UTC](https://discuss.elastic.co/t/completion-type-is-it-possible-to-use-query-after-word/302157/2 "2022-05-09T21:08:03Z")

</div>

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