Skip to content

Clarify that lookup runtime sub-fields can't be queried nor aggregated on #88296

Closed
@javanna

Description

@javanna

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?

Metadata

Metadata

Labels

:Search Foundations/MappingIndex mappings, including merging and defining field types>docsGeneral docs changes>enhancementTeam:DocsMeta label for docs teamTeam:Search FoundationsMeta label for the Search Foundations team in Elasticsearch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions