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