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

Doron Cohen updated LUCENE-1303:
--------------------------------

    Attachment: lucene-1303.patch

Patch sets BTQ explanation as match according to score of non-payload part.

Also in this patch: while at it I noticed that TestBTQ sets indexing time boost 
to 0 and hence one assertion on search results was commented out.
I canceled that and re-enabled the assertion which now passes. 

All core tests pass.

> BoostingTermQuery's explanation should be marked as Match even if the payload 
> part negated or zero'ed it
> --------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1303
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1303
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Query/Scoring
>            Reporter: Doron Cohen
>            Assignee: Doron Cohen
>            Priority: Minor
>         Attachments: lucene-1303.patch
>
>
> Since BTQ multiplies the payload on the score it might return a negative 
> score.
> The explanation should be marked as "Match" otherwise it is not added to 
> container explanations,
> See also in LUCENE-1302.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to