Skip to content

Commit 1eeee3b

Browse files
[DOCS] Clarify that lookup runtime sub-fields can't be used in queries and aggs (#91410) (#91426)
1 parent 75b754e commit 1eeee3b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/reference/mapping/runtime.asciidoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,10 @@ experimental[]
816816
The <<search-fields,`fields`>> parameter on the `_search` API can also be used to retrieve fields from
817817
the related indices via runtime fields with a type of `lookup`.
818818

819+
NOTE: Fields that are retrieved by runtime fields of type `lookup` can be used
820+
to enrich the hits in a search response. It's not possible to query or aggregate
821+
on these fields.
822+
819823
[source,console]
820824
----
821825
POST ip_location/_doc?refresh

0 commit comments

Comments
 (0)