Display ES version as part of index.version in index settings #17862
Labels
:Core/Infra/REST API
REST infrastructure and utilities
:Data Management/Stats
Statistics tracking and retrieval APIs
discuss
>enhancement
Describe the feature:
Currently, we display index.version.created in index settings as Lucene version string, eg. 1070199.
For most end users out/admins there, this is often not intuitive unless they know to check the mapping here.
The index.version.created has become more useful as we make changes to the product. For example, with the fielddata to doc_values change, it is helpful to look at the index created version to determine if the index was created on 1.7 (which defaults to fielddata). Looking at the mappings api output will not provide this information anymore on 2.x because all fields default to doc values (so if a mapped field has no doc_values setting showing from the mappings api, is it using doc values on 2.x? Or really using fielddata because the index was created on 1.x). A quick way to check will be to look at the index.version.created field. In 5.0, I believe we also have some internal data-structures that do not get upgraded as part of the regular merge process (or upgrade api) and requires creating the index on 5.0. So having the index.version.created be a string that is intuitive to the end user will be helpful.
For example, can we show it as V_1_7_1 (1070199) instead of just 1070199? Or add another field under index.version showing the corresponding V_1_7_1 (if changing the format of index.version.created will break backwards compatibility).
The text was updated successfully, but these errors were encountered: