# Term Query on Keyword type which is part of a completion context did not work

**URL:** <https://discuss.elastic.co/t/term-query-on-keyword-type-which-is-part-of-a-completion-context-did-not-work/232197>\
**Category:** Elasticsearch\
**Created:** [May 12, 2020, 10:20am UTC](https://discuss.elastic.co/t/term-query-on-keyword-type-which-is-part-of-a-completion-context-did-not-work/232197 "2020-05-12T10:20:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [May 12, 2020, 12:30pm UTC](https://discuss.elastic.co/t/term-query-on-keyword-type-which-is-part-of-a-completion-context-did-not-work/232197/2 "2020-05-12T12:30:01Z")

</div>

Welcome!

It sounds like that your request actually returns 100 hits:

```
"total": {
  "value": 100,
  "relation": "eq"
},

```

What makes you think that it does not work?

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.

---

_[View the full topic](https://discuss.elastic.co/t/term-query-on-keyword-type-which-is-part-of-a-completion-context-did-not-work/232197)._
