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

LUCENE-10119: Do not set singleSort with search after #317

Merged
merged 4 commits into from
Sep 23, 2021

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented Sep 23, 2021

We should not set singleSort when the search_after is non-null; otherwise, we will incorrectly skip documents whose values are equal to the value from the search_after and docIDs are greater than the docID from the search_after.

Copy link
Contributor

@mayya-sharipova mayya-sharipova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks very much @dnhatn for fixing the bug

@dnhatn
Copy link
Member Author

dnhatn commented Sep 23, 2021

Thanks Mayya!

@dnhatn dnhatn merged commit 7390d1a into apache:main Sep 23, 2021
@dnhatn dnhatn deleted the fix-single-sort branch September 23, 2021 17:10
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