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

Remove ScoringWrapperSpans

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.2
    • core/search
    • None
    • New

    Description

      In LUCENE-6919 (Lucene 5.5), ScoringWrapperSpans was modified in such a way that made the existence of this class pointless, and possibly broke anyone who was using it as it's SimScorer argument isn't used anymore. We should now delete it. SpanWeight has getSimScorer() so people can customize the SimScorer that way.

      Another small change I observe to improve is have SpanWeight.buildSimWeight's last line use the existing Similarity that has already been populated on the field?

      Attachments

        1. LUCENE_7384.patch
          5 kB
          David Smiley

        Activity

          People

            dsmiley David Smiley
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: