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

Add two-phase support to SpanPositionCheckQuery and subclasses

Details

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

    Description

      This hits an assert in SpanScorer because it breaks the javadocs contract of Spans.nextStartPosition():

      • Returns the next start position for the current doc.
      • There is always at least one start/end position per doc.
      • After the last start/end position at the current doc this returns NO_MORE_POSITIONS.

      Attachments

        1. LUCENE-6393.patch
          6 kB
          Robert Muir
        2. LUCENE-6393.patch
          4 kB
          Paul Elschot
        3. LUCENE-6393.patch
          3 kB
          Robert Muir
        4. LUCENE-6393-alternative.patch
          4 kB
          Robert Muir

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: