Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-1182

SimilarityDelegator is missing a delegating scorePayload() method

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.4
    • Component/s: core/search
    • Labels:
      None

      Description

      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); }

        Attachments

          Activity

            People

            • Assignee:
              gsingers Grant Ingersoll
              Reporter:
              vajda Andi Vajda
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: