Skip to content

DocValueFieldsFetchSubPhase should pull one iterator for all top hits #24986

@jpountz

Description

@jpountz

Doc values have moved to an iterator API in Lucene 7. We should fix DocValueFieldsFetchSubPhase to only pull the iterator once and then iterate over top hits in doc id order in order to limit the cost of calling advance on the doc value iterators.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions