-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Search Foundations/MappingIndex mappings, including merging and defining field typesIndex mappings, including merging and defining field types>docsGeneral docs changesGeneral docs changes>enhancementTeam:DocsMeta label for docs teamMeta label for docs teamTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearchv7.13.0v8.0.0-alpha1
Description
#69531 introduced the ability to calculate a value for long and double fields at index time. The script parameter on these fields allows users to take a runtime field definition, remove it from the runtime portion of the mappings, and add it to their index mappings to achieve better performance.
If a user moves their runtime definition to the index mappings, that script becomes immutable. To rectify any issues with the script in the index mappings, users would need to create a runtime field with the same name as the indexed field to override the script in the index mappings.
We need to document how users can move their runtime field definitions (and scripts) to their index mapping, and how to rectify any mistakes after indexing.
Metadata
Metadata
Assignees
Labels
:Search Foundations/MappingIndex mappings, including merging and defining field typesIndex mappings, including merging and defining field types>docsGeneral docs changesGeneral docs changes>enhancementTeam:DocsMeta label for docs teamMeta label for docs teamTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearchv7.13.0v8.0.0-alpha1