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

QueryBuilder#analyzeGraphPhrase should respect max boolean clause

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.6, 8.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      Currently there is no limit in the number of span queries that can be mixed by QueryBuilder#analyzeGraphPhrase even if the input graph contains thousands of paths. We should apply the same limit than analyzeGraphBoolean which throws TooManyClauses exception when the number of expanded paths is greater than BooleanQuery#MAX_CLAUSE_COUNT.

        Attachments

        1. LUCENE-8479.patch
          5 kB
          Jim Ferenczi
        2. LUCENE-8479.patch
          3 kB
          Jim Ferenczi

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jim.ferenczi Jim Ferenczi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: