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

QueryBuilder.analyzeGraphPhrase does not handle gaps correctly

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. LUCENE-7848.patch
          8 kB
          Jim Ferenczi
        2. LUCENE-7848.patch
          11 kB
          Dawid Weiss
        3. capture-3.png
          54 kB
          Dawid Weiss
        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

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment