Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] Change initial size of DocIdSetBuilder #511

Merged
merged 1 commit into from
Aug 11, 2022

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 586958e from #502

Changes initial size of the docidsetbuilder used for iterating over results for k-NN queries. Originally, it was set to the maximum docid. This changes it to be the number of docs returned.

Signed-off-by: John Mazanec <[email protected]>
(cherry picked from commit 586958e)
@opensearch-trigger-bot opensearch-trigger-bot bot requested a review from a team August 11, 2022 20:16
@jmazanec15 jmazanec15 merged commit bab0790 into 2.x Aug 11, 2022
@github-actions github-actions bot deleted the backport/backport-502-to-2.x branch August 11, 2022 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants