File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ sees runtime fields no differently. You can define runtime fields in the
14
14
<<runtime-search-request,search request>>. Your choice, which is part of the
15
15
inherent flexibility of runtime fields.
16
16
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
+
17
22
Runtime fields are useful when working with log data
18
23
(see <<runtime-examples,examples>>), especially when you're unsure about the
19
24
data structure. Your search speed decreases, but your index size is much
@@ -632,6 +637,7 @@ which still returns in the response:
632
637
633
638
[[runtime-retrieving-fields]]
634
639
=== Retrieve a runtime field
640
+
635
641
Use the <<search-fields,`fields`>> parameter on the `_search` API to retrieve
636
642
the values of runtime fields. Runtime fields won't display in `_source`, but
637
643
the `fields` API works for all fields, even those that were not sent as part of
You can’t perform that action at this time.
0 commit comments