Why doesn't my Elasticsearch term query match, and how do I change a field's mapping?
Dynamic mapping made your field text, so term queries miss, and mappings can't be changed in place. Use keyword fields, then reindex behind an alias with zero downtime.
#indexing#schema-design#troubleshooting
Tanishk · 7 min

