gashutos opened a new issue, #12521: URL: https://github.com/apache/lucene/issues/12521
### Description There is a bug introduced with https://github.com/apache/lucene/pull/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. This PR adds that check. Added tests for this scenario as well. ### Version and environment details _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org