Skip to content

[7.13] [DOCS] Add retrieving runtime fields to introduction (#76084) #76101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/reference/mapping/runtime.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ sees runtime fields no differently. You can define runtime fields in the
<<runtime-search-request,search request>>. Your choice, which is part of the
inherent flexibility of runtime fields.

Use the <<search-fields,`fields`>> parameter on the `_search` API to
<<runtime-retrieving-fields,retrieve the values of runtime fields>>. Runtime
fields won't display in `_source`, but the `fields` API works for all fields,
even those that were not sent as part of the original `_source`.

Runtime fields are useful when working with log data
(see <<runtime-examples,examples>>), especially when you're unsure about the
data structure. Your search speed decreases, but your index size is much
Expand Down Expand Up @@ -632,6 +637,7 @@ which still returns in the response:

[[runtime-retrieving-fields]]
=== Retrieve a runtime field

Use the <<search-fields,`fields`>> parameter on the `_search` API to retrieve
the values of runtime fields. Runtime fields won't display in `_source`, but
the `fields` API works for all fields, even those that were not sent as part of
Expand Down