Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-110

Custom parameter for maxBooleanClauses is ignored

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 4.9.9, 4.10.0
    • 4.9.8, 4.10.0
    • None
    • 4.10 M7
    • Oui

      To permit a query with more than 1024 clauses, we can increase the Java parameter solr.max.booleanClauses which fill the configuration maxBooleanClauses.

      Since the last Solr update, the solr.xml have been emptied and now the default general value is 1024.
      But core values cannot exceed the general value, so the 10000 is ignored.

      Here the warn while launching Solr for each core:

      o.a.s.c.SolrConfig solrconfig.xml: <maxBooleanClauses> of 10000 is greater than global limit of 1024 and will have no effect set 'maxBooleanClauses' in solr.xml to increase global limit

            bmaurel Bérénice Maurel
            bmaurel Bérénice Maurel
            Bérénice Maurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: