lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andi Vajda (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-1182) SimilarityDelegator is missing a delegating scorePayload() method
Date Thu, 21 Feb 2008 00:21:43 GMT
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message