Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-18824

Make the maxClauseCount configurable

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • None
    • 2
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Problem Definition:

      Currently if their are wildcard searches, we could exceed the maxClauseCount and this is a limitation of lucene. Instead of finishing the search, the following error is thrown:

      2010-02-16 17:56:43,996 WARN [http-8080-Processor8] [search.v2.lucene.LuceneSearcherImpl] search Error encounterd in lucene search: maxClauseCount is set to 1024
       -- referer: http://example.com:8080/dosearchsite.action?queryString=item+-blah.*&where=conf_all&type=&lastModified=&contributor=&contributorUsername= | url: /dosearchsite.action | userName: USERNAME | action: dosearchsite

      This is especially prevalent if Confluence has a number of auto generated pages. For example if you have a wildcard search with more than 1024 pages, it will exceed the max clause count of 1024.

      Suggested Resolution

      If we could pass a system property to change the maxClauseCount, we would be able to avoid these issues for some customers who have an idea of what they need to set their maxClauseCount to.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pkamal Partha
              Votes:
              25 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated: