Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.5
    • Fix Version/s: None
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Example for a nested SpanQuery that is not working:

      Document: Human Genome Organization , HUGO , is trying to coordinate gene mapping research worldwide.

      Query: spanNear([body:coordinate, spanOr([spanNear([body:gene, body:mapping], 0, true), body:gene]), body:research], 0, true)

      The query should match "coordinate gene mapping research" as well as "coordinate gene research". It does not match "coordinate gene mapping research" with Lucene 5.5 or 6.1, it did however match with Lucene 4.10.4. It probably stopped working with the changes on SpanQueries in 5.3. I will attach a unit test that shows the problem.

        Attachments

        1. LUCENE-7398.patch
          30 kB
          Paul Elschot
        2. LUCENE-7398.patch
          5 kB
          Alan Woodward
        3. LUCENE-7398.patch
          5 kB
          Alan Woodward
        4. LUCENE-7398-20160814.patch
          11 kB
          Paul Elschot
        5. LUCENE-7398-20160924.patch
          32 kB
          Paul Elschot
        6. LUCENE-7398-20160925.patch
          37 kB
          Paul Elschot
        7. TestSpanCollection.java
          9 kB
          Christoph Goller

          Issue Links

            Activity

              People

              • Assignee:
                romseygeek Alan Woodward
                Reporter:
                goller@detego-software.de Christoph Goller
              • Votes:
                7 Vote for this issue
                Watchers:
                19 Start watching this issue

                Dates

                • Created:
                  Updated: