[
https://issues.apache.org/jira/browse/LUCENE-9741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17281690#comment-17281690
]
Robert Muir commented on LUCENE-9741:
-------------------------------------
The getMergeInstance() is already optimized for this case though, why do we
need additional apis?
> Add optimization for sequential access of stored fields
> -------------------------------------------------------
>
> Key: LUCENE-9741
> URL: https://issues.apache.org/jira/browse/LUCENE-9741
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/index
> Reporter: Nhat Nguyen
> Assignee: Nhat Nguyen
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> If we are reading the stored-fields of document ids (25, 27, 28, 26, 99), and
> doc-25 triggers the stored-fields reader to decompress a block containing
> document ids [10-50], then we can tell the reader to read not only 25, but
> 26, 27, and 28 to avoid decompressing that block multiple times.
> This issue proposes adding a new optimized instance of stored-fields reader
> that allows users to select the preferred fetching range.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]