You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2018/09/19 13:45:00 UTC
[jira] [Resolved] (LUCENE-5499) EarlyTerminatingSortingCollector
shouldnt require exact Sort match
[ https://issues.apache.org/jira/browse/LUCENE-5499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand resolved LUCENE-5499.
----------------------------------
Resolution: Fixed
I can't find exactly when, but this has been fixed: TopFieldCollector now early-terminates if the search sort is a prefix of the index sort.
> EarlyTerminatingSortingCollector shouldnt require exact Sort match
> ------------------------------------------------------------------
>
> Key: LUCENE-5499
> URL: https://issues.apache.org/jira/browse/LUCENE-5499
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Robert Muir
> Priority: Major
>
> Today EarlyTerminatingSortingCollector requires that the Sort match exactly at query and at index time.
> However, now that you can use any Sort (e.g. with multiple sortfields), this should be improved.
> For example, early termination is fine in the following case:
> * index-time: popularity desc, time desc
> * query-time: popularity desc
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org