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

QueryBuilder.analyzeGraphPhrase does not handle gaps correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 6.5, 6.6
    • None
    • None
    • None
    • 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

              Unassigned Unassigned
              jimczi Jim Ferenczi
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: