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

Merge Spans and SpanScorer

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.4, 6.0
    • None
    • None
    • New

    Description

      SpanScorer and Spans currently share the burden of scoring span queries, with SpanScorer delegating to Spans for most operations. Spans is essentially a Scorer, just with the ability to iterate through positions as well, and no SimScorer to use for scoring. This seems overly complicated. We should merge the two classes into one.

      Attachments

        1. LUCENE-6845.patch
          178 kB
          Alan Woodward
        2. LUCENE-6845_norenames.patch
          116 kB
          Alan Woodward
        3. LUCENE-6845_norenames.patch.txt
          114 kB
          Alan Woodward
        4. LUCENE-6845_norenames.patch
          55 kB
          Alan Woodward

        Activity

          People

            romseygeek Alan Woodward
            romseygeek Alan Woodward
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: