gashutos opened a new pull request, #12520: URL: https://github.com/apache/lucene/pull/12520
### 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. This PR adds that check. Added tests for this scenario as well. -- 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 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