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

Add two-phase support to SpanPositionCheckQuery and subclasses

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: