[DOCS] Add docs for moving runtime field definitions to index mapping #71154
Labels
>docs
General docs changes
>enhancement
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Docs
Meta label for docs team
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
v7.13.0
v8.0.0-alpha1
#69531 introduced the ability to calculate a value for
long
anddouble
fields at index time. Thescript
parameter on these fields allows users to take a runtime field definition, remove it from theruntime
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.
The text was updated successfully, but these errors were encountered: