lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1303) BoostingTermQuery's explanation should be marked as Match even if the payload part negated or zero'ed it
Date Tue, 10 Jun 2008 21:01:46 GMT

     [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message