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

QueryBuilder#analyzeGraphPhrase should respect max boolean clause

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.6, 8.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: