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

[jira] [Resolved] (LUCENE-9202) Refactor TopFieldCollector

     [ 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: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org