You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2016/10/03 20:25:20 UTC

[jira] [Commented] (LUCENE-7473) factor our ScoreDoc.sortBy[ScoreDescThen]DocAsc() methods

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

Adrien Grand commented on LUCENE-7473:
--------------------------------------

I don't like that we are adding a public method for something that is only an implementation detail of rescorers. If the issue is that sorting these ScoreDoc instances requires too much boilerplate, maybe we should just switch to lambdas and/or {{Comparator.comparing}}?

> factor our ScoreDoc.sortBy[ScoreDescThen]DocAsc() methods
> ---------------------------------------------------------
>
>                 Key: LUCENE-7473
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7473
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Minor
>         Attachments: LUCENE-7473.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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