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

SimilarityDelegator is missing a delegating scorePayload() method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.4
    • core/search
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: