You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Grant Ingersoll (JIRA)" <ji...@apache.org> on 2010/08/31 14:28:53 UTC

[jira] Resolved: (LUCENE-2272) PayloadNearQuery has hardwired explanation for 'AveragePayloadFunction'

     [ https://issues.apache.org/jira/browse/LUCENE-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grant Ingersoll resolved LUCENE-2272.
-------------------------------------

    Fix Version/s: 3.0.3
                   3.1
                   4.0
       Resolution: Fixed

> PayloadNearQuery has hardwired explanation for 'AveragePayloadFunction'
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-2272
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2272
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>            Reporter: Peter Keegan
>            Assignee: Grant Ingersoll
>             Fix For: 3.0.3, 3.1, 4.0
>
>         Attachments: payloadfunctin-patch.txt, PNQ-patch.txt, PNQ-patch1.txt, PNQ-patch2.txt
>
>
> The 'explain' method in PayloadNearSpanScorer assumes the AveragePayloadFunction was used. This patch adds the 'explain' method to the 'PayloadFunction' interface, where the Scorer can call it. Added unit tests for 'explain' and for {Min,Max}PayloadFunction.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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