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

   This switches the following files to `IOContext#RANDOM`:
    - Stored fields data file.
    - Term vectors data file.
    - HNSW graph.
    - Temporary file storing vectors at merge time that we use to construct the 
merged HNSW graph.
    - Vector data files, including quantized data files.
   
   I hesitated using `IOContext.RANDOM` on terms, since they have a random 
access pattern when running term queries, but a more sequential access pattern 
when running multi-term queries. I erred on the conservative side and did not 
switch them to `IOContext.RANDOM` for now.
   
   For simplicity, I'm only touching the current codec, not previous codecs.


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