You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2021/11/17 20:35:00 UTC

[jira] [Created] (LUCENE-10242) The TopScoreDocCollector::createSharedManager should use ScoreDoc instead of FieldDoc

Andriy Redko created LUCENE-10242:
-------------------------------------

             Summary: The TopScoreDocCollector::createSharedManager should use ScoreDoc instead of FieldDoc
                 Key: LUCENE-10242
                 URL: https://issues.apache.org/jira/browse/LUCENE-10242
             Project: Lucene - Core
          Issue Type: Improvement
    Affects Versions: 8.10, 8.9
            Reporter: Andriy Redko


The `TopScoreDocCollector::createSharedManager` should use `ScoreDoc` instead of `FieldDoc` as a type of `after` argument. The `FieldDoc` is really needed only in case of `TopFieldCollector` but now its usage is mandated by `TopScoreDocCollector` as well.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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