You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Doron Cohen (JIRA)" <ji...@apache.org> on 2008/06/10 18:34:46 UTC

[jira] Created: (LUCENE-1303) BoostingTermQuery's explanation should be marked as Match even if the payload part negated or zero'ed it

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


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


[jira] Updated: (LUCENE-1303) BoostingTermQuery's explanation should be marked as Match even if the payload part negated or zero'ed it

Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Description: 
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.

  was:
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.


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


[jira] Resolved: (LUCENE-1303) BoostingTermQuery's explanation should be marked as Match even if the payload part negated or zero'ed it

Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doron Cohen resolved LUCENE-1303.
---------------------------------

    Resolution: Fixed

> 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


[jira] Updated: (LUCENE-1303) BoostingTermQuery's explanation should be marked as Match even if the payload part negated or zero'ed it

Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
     [ 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