lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6446) Simplify Explanation API
Date Wed, 22 Apr 2015 13:56:59 GMT

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

Adrien Grand commented on LUCENE-6446:
--------------------------------------

Oh yes, that's a bad bug! Thanks for catching this!

> Simplify Explanation API
> ------------------------
>
>                 Key: LUCENE-6446
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6446
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: Trunk, 5.2
>
>         Attachments: LUCENE-6446.patch
>
>
> We should make this API easier to consume, for instance:
>  - enforce important components to be non-null (eg. description)
>  - decouple entirely the score computation from whether there is a match or not (Explanation
assumes there is a match if the score is > 0, you need to use ComplexExplanation to override
this behaviour)
>  - return an empty array instead of null when there are no "details"



--
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


Mime
View raw message