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

[BUG] Sort After returning in-correct result when missing values are competitive. #12521

Closed
gashutos opened this issue Aug 28, 2023 · 0 comments
Labels
Milestone

Comments

@gashutos
Copy link
Contributor

gashutos commented Aug 28, 2023

Description

There is a bug introduced with #12334 when field contains missing value and if those missing values are competitive.
isMissingValueCompetitive() implementation gets invoked comparing missingValue with bottom when bottom is not even set when After is set.

We should check with topValue in cases when bottom is not set.

Version and environment details

Lucene 9.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants