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

   This adds `StoredFields#prefetch(int)`, which mostly delegates to 
`IndexInput#prefetch`. Callers can take advantage of this API to parallelize 
I/O across multiple stored documents by first calling `StoredFields#prefetch` 
on all doc IDs before calling `StoredFields#document` on all doc IDs.
   
   I added a cache of recently prefetched blocks to the default codec, in order 
to avoid prefetching the same block multiple times in a short period of time. 
This felt sensible given that doc ID reordering via recursive graph bisection 
or index sorting are likely to result in search results being clustered.


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