Module runtime_mappings

Source
Expand description

You can specify a runtime_mappings section in a search request to create runtime fields that exist only as part of the query. You specify a script as part of the runtime_mappings section, just as you would if adding a runtime field to the mappings.

Defining a runtime field in a search request uses the same format as defining a runtime field in the index mapping. Just copy the field definition from the runtime_mappings in the search request to the runtime section of the index mapping.

https://www.elastic.co/guide/en/elasticsearch/reference/master/runtime-search-request.html

Structs§

RuntimeMapping
A runtime field that is used in a search request.

Enums§

RuntimeDataType
A runtime data type that is used in a search request.