Skip to content

SourceLookup should leverage sequential stored fields reader #62621

@jimczi

Description

@jimczi

In #62509 we've added a way to leverage sequential stored fields reader from any leaf readers used during a search.
This optimization has been plugged only for the fetch phase, when all documents to retrieve are contiguous, and proved very successful on scrolls that paginate every documents in an index.
With the addition of runtime fields, this optimization could also be helpful to speed up the retrieval of source fields in queries and aggregations since they visit documents in the natural order of the index (sequential reads).
This issue is a placeholder to implement this optimization to speed up runtime fields that work on the raw source.

Metadata

Metadata

Assignees

Labels

:Search/SearchSearch-related issues that do not fall into other categories>enhancementTeam:SearchMeta label for search team

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions