# Match VS term Query on keyword datatype

**URL:** <https://discuss.elastic.co/t/match-vs-term-query-on-keyword-datatype/82952>\
**Category:** Elasticsearch\
**Created:** [April 19, 2017, 9:39pm UTC](https://discuss.elastic.co/t/match-vs-term-query-on-keyword-datatype/82952 "2017-04-19T21:39:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rory](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@Rory](https://discuss.elastic.co/u/Rory)\
**Post date:** [April 19, 2017, 9:39pm UTC](https://discuss.elastic.co/t/match-vs-term-query-on-keyword-datatype/82952/1 "2017-04-19T21:39:59Z")

</div>

Hi All,

I know this sounds like a dumb question.

If I store a field with type as keyword, will it matter if I perform a match or term query to find exact matches. Will both of them work the same? If no, which one will give a better performance?

Thanks.

---

<div class="post-metadata">

**Author:** ![s1monw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s1monw/32/3637_2.png) [@s1monw](https://discuss.elastic.co/u/s1monw)\
**Post date:** [April 21, 2017, 8:16am UTC](https://discuss.elastic.co/t/match-vs-term-query-on-keyword-datatype/82952/2 "2017-04-21T08:16:40Z")

</div>

it will result in the same query unless you are using a `normalizer` if you do the normalizer is only applied if you use `match` not if you use `term`. The `term` query will not perform any normalization.

---

<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 19, 2017, 8:20am UTC](https://discuss.elastic.co/t/match-vs-term-query-on-keyword-datatype/82952/3 "2017-05-19T08:20:08Z")

</div>

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