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:41:00 UTC

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

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

Andriy Redko commented on LUCENE-10242:
---------------------------------------

https://github.com/apache/lucene/pull/450

> 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.9, 8.10
>            Reporter: Andriy Redko
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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