jpountz commented on PR #11722:
URL: https://github.com/apache/lucene/pull/11722#issuecomment-1256184937

   > I may add this test case to BasePostingsFormatTestCase, or do you have any 
other idea on test?
   
   1M documents is too much for a unit test, I was thinking of a smaller 
dataset, e.g. 200 fixed-size IDs and we'd make sure that the binary search 
works as expected for both `seekCeil` and `seekExact` for every of these 200 
terms as well as other terms that compare less than all terms from the dict, 
greater than all terms of the dict, or are between two terms that exist in the 
dict?


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