Skip to content

Optimize first scrolling #2576

Description

@wuyunfeng

When scan Elasticserch using scroll API, the first request would decompress all postings list, which would lead to much more time-consuming. we do not need to get total hits, so we can add terminate_after parameter for the initial scroll request

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions