Adrien Grand created LUCENE-4847:
------------------------------------

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


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]

Reply via email to