lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Keegan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-2272) PayloadNearQuery has hardwired explanation for 'AveragePayloadFunction'
Date Mon, 30 Aug 2010 20:16:57 GMT

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

Peter Keegan updated LUCENE-2272:
---------------------------------

    Attachment: PNQ-patch2.txt

Well, this is embarrassing. 

I used Eclipse to generate the patch, and didn't exclude an existing text file in the project
that already contained the patch. I have regenerated the patch against the trunk, which also
restored the generics and missing annotations. Sorry for the confusion.

I also changed my JIRA e-mail so I don't miss updates on issues sent to me vs. the java-dev
list.

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


Mime
View raw message