Clarify that lookup runtime sub-fields can't be queried nor aggregated on #88296
Labels
>docs
General docs changes
>enhancement
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Docs
Meta label for docs team
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
The lookup runtime field enriches the top hits with fields retrieved from a secondary index. This is purely a fetch phase enrichment at the moment, and users may get surprised that the sub-fields that are fetched from the secondary index are not searchable nor aggregatable. Effectively those are treated like unmapped fields. Would it make sense to throw an error when they get queried or aggregated on?
The text was updated successfully, but these errors were encountered: