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

QueryBuilder.analyzeGraphPhrase does not handle gaps correctly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 6.5, 6.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Position increments greater than 1 are ignored when the query builder creates a graph phrase query.
      Instead it should use SpanNearQuery.addGap for pos incr > 1.

        Attachments

        1. capture-3.png
          54 kB
          Dawid Weiss
        2. LUCENE-7848.patch
          11 kB
          Dawid Weiss
        3. LUCENE-7848.patch
          8 kB
          Jim Ferenczi
        4. LUCENE-7848-branching-spanOr.patch
          6 kB
          Michael Gibney
        5. LUCENE-7848-delimOnly-token-offset.patch
          1 kB
          Michael Gibney

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jimczi Jim Ferenczi
              • Votes:
                1 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: