ioanatia opened a new pull request, #13425:
URL: https://github.com/apache/lucene/pull/13425

   We already have a check in place that rewrites 
`SortedNumericDocValuesRangeQuery` to a `FieldExistsQuery` when the lookup 
range interval is `[ Long.MIN_VALUE, Long.MAX_VALUE]`.
   
   This PR adds another check to see whether the upper bound is smaller than 
the lower bound.
   If it is not, we can confidently rewrite `SortedNumericDocValuesRangeQuery` 
to a `MatchNoDocsQuery`.


-- 
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

Reply via email to