Skip to content

Commit 33d624e

Browse files
elasticsearchmachineAdam Locke
and
Adam Locke
authored
[DOCS] Add retrieving runtime fields to introduction (#76084) (#76102)
Co-authored-by: Adam Locke <[email protected]>
1 parent e225023 commit 33d624e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/reference/mapping/runtime.asciidoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ sees runtime fields no differently. You can define runtime fields in the
1414
<<runtime-search-request,search request>>. Your choice, which is part of the
1515
inherent flexibility of runtime fields.
1616

17+
Use the <<search-fields,`fields`>> parameter on the `_search` API to
18+
<<runtime-retrieving-fields,retrieve the values of runtime fields>>. Runtime
19+
fields won't display in `_source`, but the `fields` API works for all fields,
20+
even those that were not sent as part of the original `_source`.
21+
1722
Runtime fields are useful when working with log data
1823
(see <<runtime-examples,examples>>), especially when you're unsure about the
1924
data structure. Your search speed decreases, but your index size is much
@@ -632,6 +637,7 @@ which still returns in the response:
632637

633638
[[runtime-retrieving-fields]]
634639
=== Retrieve a runtime field
640+
635641
Use the <<search-fields,`fields`>> parameter on the `_search` API to retrieve
636642
the values of runtime fields. Runtime fields won't display in `_source`, but
637643
the `fields` API works for all fields, even those that were not sent as part of

0 commit comments

Comments
 (0)