[
https://issues.apache.org/jira/browse/LUCENE-6145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand updated LUCENE-6145:
---------------------------------
Attachment: LUCENE-6145.patch
Here is a patch. EarlyTerminatingSortingCollector now also takes the merge
policy as an argument to check if the sort order is a prefix of the index-time
order and then early-terminates on every segment where the serialized index
order matches the sort order that is wrapped by the merge policy.
> Make EarlyTerminatingSortingCollector smarter about when it can early
> terminate
> -------------------------------------------------------------------------------
>
> Key: LUCENE-6145
> URL: https://issues.apache.org/jira/browse/LUCENE-6145
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-6145.patch
>
>
> Today EarlyTerminatingSortingCollector only early-terminates if the sort
> order matches exactly the index-time sort order. It should also
> early-terminate when the sort order is a prefix of the index-time sort order.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]