Skip to content

Commit b2cf475

Browse files
Fix backwards description in runtime fields documentation (#94608) (#94642)
`runtime_mappings` is the name of the param in the search request. In the document `put` statement, it's called `runtime` Co-authored-by: Matthew Hinea <[email protected]>
1 parent c97cccb commit b2cf475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/mapping/runtime.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ as part of the `runtime_mappings` section, just as you would if
277277

278278
Defining a runtime field in a search request uses the same format as defining
279279
a runtime field in the index mapping. Just copy the field definition from
280-
the `runtime_mappings` in the index mapping to the `runtime` section of the search request.
280+
the `runtime` in the index mapping to the `runtime_mappings` section of the search request.
281281

282282
The following search request adds a `day_of_week` field to the
283283
`runtime_mappings` section. The field values will be calculated dynamically,

0 commit comments

Comments
 (0)