[ 
https://issues.apache.org/jira/browse/LUCENE-3918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570612#comment-13570612
 ] 

Adrien Grand commented on LUCENE-3918:
--------------------------------------

I didn't know about IndexSorter. It would be nice to have a codec wrapper that 
would override all *Writer/Consumer.merge methods to make the merged segments 
sorted. This could help make the I/O cache work happily with stored fields/term 
vectors and early terminate queries after having visited min(maxBufferedDocs, 
numHits) documents without requiring the index to be read-only nor to have to 
store a doc ID mapping in memory (but at a higher indexing/merging cost)?
                
> Port index sorter to trunk APIs
> -------------------------------
>
>                 Key: LUCENE-3918
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3918
>             Project: Lucene - Core
>          Issue Type: Task
>          Components: modules/other
>    Affects Versions: 4.0-ALPHA
>            Reporter: Robert Muir
>             Fix For: 4.2, 5.0
>
>         Attachments: LUCENE-3918.patch
>
>
> LUCENE-2482 added an IndexSorter to 3.x, but we need to port this
> functionality to 4.0 apis.

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