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 1.3] Change initial size of DocIdSetBuilder #752

Merged
merged 1 commit into from
Feb 7, 2023

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 February 7, 2023 19:35
@martin-gaievski
Copy link
Member

This fixes #751

@martin-gaievski martin-gaievski merged commit 0b36389 into 1.3 Feb 7, 2023
@github-actions github-actions bot deleted the backport/backport-502-to-1.3 branch February 7, 2023 20:25
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.

3 participants