Skip to content

Commit

Permalink
[DOCS] Clarify that lookup runtime sub-fields can't be used in querie…
Browse files Browse the repository at this point in the history
…s and aggs (elastic#91410)
  • Loading branch information
abdonpijpelink committed Nov 8, 2022
1 parent 75b754e commit d5a37eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/reference/mapping/runtime.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,10 @@ experimental[]
The <<search-fields,`fields`>> parameter on the `_search` API can also be used to retrieve fields from
the related indices via runtime fields with a type of `lookup`.

NOTE: Fields that are retrieved by runtime fields of type `lookup` can be used
to enrich the hits in a search response. It's not possible to query or aggregate
on these fields.

[source,console]
----
POST ip_location/_doc?refresh
Expand Down

0 comments on commit d5a37eb

Please sign in to comment.