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

   reading from IndexInput
   
   The change is needed to be able to reduce the force merge time. 
Lucene99FlatVectorsReader is opened with IOContext.RANDOM, this optimizes 
searches with madvise as RANDOM. For merges we need sequential access and 
ability to preload pages to be able to shorten the merge time.
   
   The change updates the ReadAdvice.SEQUENTIAL before the merge starts and 
reverts it to ReadAdvice.RANDOM at the end of the merge for
   Lucene99FlatVectorsReader.
   
   ### Description
   
   Benchmarking results coming up. Opening as a draft to get initial feedback
   
   ### Related issues
   https://github.com/apache/lucene/issues/13920
   
   <!--
   If this is your first contribution to Lucene, please make sure you have 
reviewed the contribution guide.
   https://github.com/apache/lucene/blob/main/CONTRIBUTING.md
   -->
   


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