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

Michael McCandless commented on LUCENE-5493:
--------------------------------------------

Another reason to sort postings is to get better compression, e.g. if you index 
many web sites, then sorting so that docs from the same web site are together, 
can sometimes give better compression, maybe :)

In that case, you don't use an EarlyTerminatingCollector; you just search "like 
normal".

> Rename Sorter, NumericDocValuesSorter, and fix javadocs
> -------------------------------------------------------
>
>                 Key: LUCENE-5493
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5493
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>         Attachments: LUCENE-5493-poc.patch, LUCENE-5493.patch
>
>
> Its not clear to users that these are for this super-expert thing of 
> pre-sorting the index. From the names and documentation they think they 
> should use them instead of Sort/SortField.
> These need to be renamed or, even better, the API fixed so they aren't public 
> classes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to