lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Commented: (LUCENE-2272) PayloadNearQuery has hardwired explanation for 'AveragePayloadFunction'
Date Mon, 24 May 2010 10:16:24 GMT


Michael McCandless commented on LUCENE-2272:

Thanks Peter -- this looks important to fix.

The patch, confusingly, seems to recursively include itself!  Ie I see PNQ-patch1.txt in the
patch with its own diff lines.  Strange.

Also, how  come your patch removes generics / @Override / @lucene.experimental, etc.?

> PayloadNearQuery has hardwired explanation for 'AveragePayloadFunction'
> -----------------------------------------------------------------------
>                 Key: LUCENE-2272
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>            Reporter: Peter Keegan
>            Assignee: Grant Ingersoll
>         Attachments: payloadfunctin-patch.txt, PNQ-patch.txt, PNQ-patch1.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:
For additional commands, e-mail:

View raw message