[jira] Created: (LUCENE-1182) SimilarityDelegator is missing a delegating scorePayload() method

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

[jira] Created: (LUCENE-1182) SimilarityDelegator is missing a delegating scorePayload() method

Tim Allison (Jira)
SimilarityDelegator is missing a delegating scorePayload() method
-----------------------------------------------------------------

                 Key: LUCENE-1182
                 URL: https://issues.apache.org/jira/browse/LUCENE-1182
             Project: Lucene - Java
          Issue Type: Bug
          Components: Search
    Affects Versions: 2.3
            Reporter: Andi Vajda
            Priority: Minor


The handy SimilarityDelegator method is missing a scoreDelegator() delegating method.
The fix is trivial, add the code below at the end of the class:

  public float scorePayload(String fieldName, byte [] payload, int offset, int length)
  {
      return delegee.scorePayload(fieldName, payload, offset, length);
  }


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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (LUCENE-1182) SimilarityDelegator is missing a delegating scorePayload() method

Tim Allison (Jira)

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

Andi Vajda commented on LUCENE-1182:
------------------------------------

Err, I meant to say "the handy SimilarityDelegator class"


> SimilarityDelegator is missing a delegating scorePayload() method
> -----------------------------------------------------------------
>
>                 Key: LUCENE-1182
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1182
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 2.3
>            Reporter: Andi Vajda
>            Priority: Minor
>
> The handy SimilarityDelegator method is missing a scoreDelegator() delegating method.
> The fix is trivial, add the code below at the end of the class:
>   public float scorePayload(String fieldName, byte [] payload, int offset, int length)
>   {
>       return delegee.scorePayload(fieldName, payload, offset, length);
>   }

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

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (LUCENE-1182) SimilarityDelegator is missing a delegating scorePayload() method

Tim Allison (Jira)
In reply to this post by Tim Allison (Jira)

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

Grant Ingersoll reassigned LUCENE-1182:
---------------------------------------

    Assignee: Grant Ingersoll

> SimilarityDelegator is missing a delegating scorePayload() method
> -----------------------------------------------------------------
>
>                 Key: LUCENE-1182
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1182
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 2.3
>            Reporter: Andi Vajda
>            Assignee: Grant Ingersoll
>            Priority: Minor
>
> The handy SimilarityDelegator method is missing a scoreDelegator() delegating method.
> The fix is trivial, add the code below at the end of the class:
>   public float scorePayload(String fieldName, byte [] payload, int offset, int length)
>   {
>       return delegee.scorePayload(fieldName, payload, offset, length);
>   }

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

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (LUCENE-1182) SimilarityDelegator is missing a delegating scorePayload() method

Tim Allison (Jira)
In reply to this post by Tim Allison (Jira)

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

Grant Ingersoll resolved LUCENE-1182.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4
    Lucene Fields:   (was: [New])

Committed.

> SimilarityDelegator is missing a delegating scorePayload() method
> -----------------------------------------------------------------
>
>                 Key: LUCENE-1182
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1182
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 2.3
>            Reporter: Andi Vajda
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 2.4
>
>
> The handy SimilarityDelegator method is missing a scoreDelegator() delegating method.
> The fix is trivial, add the code below at the end of the class:
>   public float scorePayload(String fieldName, byte [] payload, int offset, int length)
>   {
>       return delegee.scorePayload(fieldName, payload, offset, length);
>   }

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