-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Improve fielddata mappings #8693
Copy link
Copy link
Closed
Labels
:Search Foundations/MappingIndex mappings, including merging and defining field typesIndex mappings, including merging and defining field types>enhancementTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearchblockerhelp wantedadoptmeadoptme
Metadata
Metadata
Assignees
Labels
:Search Foundations/MappingIndex mappings, including merging and defining field typesIndex mappings, including merging and defining field types>enhancementTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearchblockerhelp wantedadoptmeadoptme
Type
Fields
Give feedbackNo fields configured for issues without a type.
Currently, the settings for fielddata and doc_values is quite confusing. It would be nice to make it easier to understand. For non-analyzed fields, these are the questions which need answering:
This could be expressed as:
In the same way as we can use
analyzerto set bothindex_analyzerandsearch_analyzer, this could be condensed to:Analyzed string fields can't be written to disk, but they can support the
fstformat, so they would accept:We could possibly even support a very simple format for setting the fielddata format:
... which would set
global_ordinalsto `lazy``Regardless of which format is used to set fielddata, the mappings would be converted to the full
index_format,search_format,global_ordinalslayout.Question: Should
index_formatandsearch_formatinstead bystore_formatandload_format?