[jira] [Created] (LUCENE-4249) The PayloadTermWeight explanation hides the details of the payload score

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (LUCENE-4249) The PayloadTermWeight explanation hides the details of the payload score

JIRA jira@apache.org
Scott Smerchek created LUCENE-4249:
--------------------------------------

             Summary: The PayloadTermWeight explanation hides the details of the payload score
                 Key: LUCENE-4249
                 URL: https://issues.apache.org/jira/browse/LUCENE-4249
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/search
    Affects Versions: 4.0-ALPHA
            Reporter: Scott Smerchek
            Priority: Trivial
             Fix For: 4.0


I'm using the PayloadTermQuery and scoring documents using a custom algorithm based on the payloads of the matching terms. The algorithm is implemented in the custom PayloadFunction and I have added an Override for the explain. However, the PayloadTermWeight explanation hides the details of the payload score...

{code}
Explanation payloadExpl = new Explanation(scorer.getPayloadScore(), "scorePayload(...)");
{code}

This is different than the way that PayloadNearSpanWeight explains the payload. It actually asks the payload function for the explanation rather than hiding it:

{code}
Explanation payloadExpl = function.explain(doc, scorer.payloadsSeen, scorer.payloadScore);
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-4249) The PayloadTermWeight explanation hides the details of the payload score

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/LUCENE-4249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13420957#comment-13420957 ]

Scott Smerchek commented on LUCENE-4249:
----------------------------------------

Once I can get past the hurdles of creating my first patch from the git mirror, I'll upload it.
               

> The PayloadTermWeight explanation hides the details of the payload score
> ------------------------------------------------------------------------
>
>                 Key: LUCENE-4249
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4249
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>    Affects Versions: 4.0-ALPHA
>            Reporter: Scott Smerchek
>            Priority: Trivial
>              Labels: newdev, patch
>             Fix For: 4.0
>
>
> I'm using the PayloadTermQuery and scoring documents using a custom algorithm based on the payloads of the matching terms. The algorithm is implemented in the custom PayloadFunction and I have added an Override for the explain. However, the PayloadTermWeight explanation hides the details of the payload score...
> {code}
> Explanation payloadExpl = new Explanation(scorer.getPayloadScore(), "scorePayload(...)");
> {code}
> This is different than the way that PayloadNearSpanWeight explains the payload. It actually asks the payload function for the explanation rather than hiding it:
> {code}
> Explanation payloadExpl = function.explain(doc, scorer.payloadsSeen, scorer.payloadScore);
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-4249) The PayloadTermWeight explanation hides the details of the payload score

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/LUCENE-4249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13420958#comment-13420958 ]

Robert Muir commented on LUCENE-4249:
-------------------------------------

Thanks Scott. git formatted patches are fine in my opinion: lets get this fixed
               

> The PayloadTermWeight explanation hides the details of the payload score
> ------------------------------------------------------------------------
>
>                 Key: LUCENE-4249
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4249
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>    Affects Versions: 4.0-ALPHA
>            Reporter: Scott Smerchek
>            Priority: Trivial
>              Labels: newdev, patch
>             Fix For: 4.0
>
>
> I'm using the PayloadTermQuery and scoring documents using a custom algorithm based on the payloads of the matching terms. The algorithm is implemented in the custom PayloadFunction and I have added an Override for the explain. However, the PayloadTermWeight explanation hides the details of the payload score...
> {code}
> Explanation payloadExpl = new Explanation(scorer.getPayloadScore(), "scorePayload(...)");
> {code}
> This is different than the way that PayloadNearSpanWeight explains the payload. It actually asks the payload function for the explanation rather than hiding it:
> {code}
> Explanation payloadExpl = function.explain(doc, scorer.payloadsSeen, scorer.payloadScore);
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (LUCENE-4249) The PayloadTermWeight explanation hides the details of the payload score

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Scott Smerchek updated LUCENE-4249:
-----------------------------------

    Attachment: LUCENE-4249.patch
   

> The PayloadTermWeight explanation hides the details of the payload score
> ------------------------------------------------------------------------
>
>                 Key: LUCENE-4249
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4249
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>    Affects Versions: 4.0-ALPHA
>            Reporter: Scott Smerchek
>            Priority: Trivial
>              Labels: newdev, patch
>             Fix For: 4.0
>
>         Attachments: LUCENE-4249.patch
>
>
> I'm using the PayloadTermQuery and scoring documents using a custom algorithm based on the payloads of the matching terms. The algorithm is implemented in the custom PayloadFunction and I have added an Override for the explain. However, the PayloadTermWeight explanation hides the details of the payload score...
> {code}
> Explanation payloadExpl = new Explanation(scorer.getPayloadScore(), "scorePayload(...)");
> {code}
> This is different than the way that PayloadNearSpanWeight explains the payload. It actually asks the payload function for the explanation rather than hiding it:
> {code}
> Explanation payloadExpl = function.explain(doc, scorer.payloadsSeen, scorer.payloadScore);
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (LUCENE-4249) The PayloadTermWeight explanation hides the details of the payload score

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Robert Muir resolved LUCENE-4249.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0

Thanks Scott!
               

> The PayloadTermWeight explanation hides the details of the payload score
> ------------------------------------------------------------------------
>
>                 Key: LUCENE-4249
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4249
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>    Affects Versions: 4.0-ALPHA
>            Reporter: Scott Smerchek
>            Priority: Trivial
>              Labels: newdev, patch
>             Fix For: 4.0, 5.0
>
>         Attachments: LUCENE-4249.patch
>
>
> I'm using the PayloadTermQuery and scoring documents using a custom algorithm based on the payloads of the matching terms. The algorithm is implemented in the custom PayloadFunction and I have added an Override for the explain. However, the PayloadTermWeight explanation hides the details of the payload score...
> {code}
> Explanation payloadExpl = new Explanation(scorer.getPayloadScore(), "scorePayload(...)");
> {code}
> This is different than the way that PayloadNearSpanWeight explains the payload. It actually asks the payload function for the explanation rather than hiding it:
> {code}
> Explanation payloadExpl = function.explain(doc, scorer.payloadsSeen, scorer.payloadScore);
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]