bugmakerrrrrr commented on issue #13643:
URL: https://github.com/apache/lucene/issues/13643#issuecomment-2287906685

   > I wonder if it's possible for this method to ever be invoked with a 
document that's "before" an established "after" value. 
   
   This method is related to missing values, if there are some docs missing 
target field, this method will always be invoked to check whether missing value 
is competitive or not. 
   
   > Did you actually hit this issue in the wild?
   
   No. But I believe that this can be hit. For example, in OpenSearch, when we 
sort results on `long` field as asc order, we set `missing` value as `_first` 
to filter missing doc(which turns into `Long.MIN_VALUE` in Lucene) and 
`search_after` as 3, in this case, the scenario is same as the test that I 
posted.


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