[ 
https://issues.apache.org/jira/browse/LUCENE-9202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17046606#comment-17046606
 ] 

ASF subversion and git services commented on LUCENE-9202:
---------------------------------------------------------

Commit 294b8d4ee1586ba6e20480aa5072386963056347 in lucene-solr's branch 
refs/heads/master from Michael Sokolov
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=294b8d4 ]

LUCENE-9202: refactor leaf collectors in TopFieldCollector


> 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 20m
>  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-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to