[
https://issues.apache.org/jira/browse/LUCENE-4847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13605019#comment-13605019
]
Shai Erera commented on LUCENE-4847:
------------------------------------
looks good!
> Sorter API: Fully reuse docs enums
> ----------------------------------
>
> Key: LUCENE-4847
> URL: https://issues.apache.org/jira/browse/LUCENE-4847
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: 4.3
>
> Attachments: LUCENE-4847.patch
>
>
> SortingAtomicReader reuses the filtered docs enums but not the wrapper. In
> the case of SortingAtomicReader this can be a problem because the wrappers
> are heavyweight (they load the whole postings list into memory), so an index
> with many terms with high freqs will make the JVM allocate a lot of memory
> when browsing the postings lists.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]