How does elasticsearch stores field mappings for every lucene index?

while update documents, elasticsearch knows which field is analyzed, not_analyzed, numeric. How does it store this information for every index? within every index? any pointers to elasticsearch source code ?

During update and search, this field information is used for applying keywordanalyzer for not_analyzed fields and range query for numeric


this is stored per index per type in the mapping - which in turn is part of the cluster state


1 Like

Hi Alex

Thank you. Your input helped me a lot.

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