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

Give SpanScorer two-phase iterator support.

Details

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

    Description

      Fix SpanScorer to use any two-phase iterator support of the underlying Spans. This means e.g. a spans in a booleanquery, or a spans with a filter can be faster.

      In order to do this, we have to clean up this class a little bit:

      • forward most methods directly to the underlying spans.
      • ensure positions are only iterated at most once.

      Attachments

        1. LUCENE-6391.patch
          10 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: