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

Michael Sokolov resolved LUCENE-9202.
-------------------------------------
    Resolution: Fixed

> Refactor TopFieldCollector
> --------------------------
>
>                 Key: LUCENE-9202
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9202
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael Sokolov
>            Priority: Major
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> While working on LUCENE-8929, I found it difficult to manage all the 
> duplicated code inĀ {{TopFieldCollector,}} which has many branching 
> conditionals with slightly different logic across its main leaf subclasses, 
> {{SimpleFieldCollector}} and {{PagingFieldCollector}}. As I want to introduce 
> further branching, depending on the early termination strategy, it was 
> getting to be too much, so first I want to do this no-change refactor.



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

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

Reply via email to