Match VS term Query on keyword datatype

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?


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.

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