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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.