You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Mayya Sharipova (Jira)" <ji...@apache.org> on 2020/12/04 19:08:00 UTC

[jira] [Resolved] (LUCENE-9599) Disable sort optimization in comparators on index sort

     [ https://issues.apache.org/jira/browse/LUCENE-9599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mayya Sharipova resolved LUCENE-9599.
-------------------------------------
    Fix Version/s: 8.8
       Resolution: Fixed

> Disable sort optimization in comparators on index sort
> ------------------------------------------------------
>
>                 Key: LUCENE-9599
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9599
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Mayya Sharipova
>            Priority: Minor
>             Fix For: 8.8
>
>          Time Spent: 3h 50m
>  Remaining Estimate: 0h
>
> LUCENE-9280 introduced an ability for comparators to skip non-competitive documents. But currently comparators are not aware of index sorting, and can run sort optimization even when search sort is congruent with the index sort.
> As the early termination in this case is already handled in TopFieldCollector, we need to disable sort optimization in comparators. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org