You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ge...@apache.org on 2023/09/26 11:15:42 UTC

[solr-operator] branch main updated: Add maxBooleanClauses setting to default solr.xml (#631)

This is an automated email from the ASF dual-hosted git repository.

gerlowskija pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new da17d20  Add maxBooleanClauses setting to default solr.xml (#631)
da17d20 is described below

commit da17d2034fe38665cc3ab3a00f353c1e05f39eaa
Author: Jason Gerlowski <ge...@apache.org>
AuthorDate: Tue Sep 26 07:15:37 2023 -0400

    Add maxBooleanClauses setting to default solr.xml (#631)
    
    This value is used in conjunction with any per-core values specified in
    configsets.
---
 controllers/util/solr_util.go | 1 +
 helm/solr/Chart.yaml          | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/controllers/util/solr_util.go b/controllers/util/solr_util.go
index 61e118a..5c5b614 100644
--- a/controllers/util/solr_util.go
+++ b/controllers/util/solr_util.go
@@ -785,6 +785,7 @@ const DefaultSolrXML = `<?xml version="1.0" encoding="UTF-8" ?>
     <int name="socketTimeout">${socketTimeout:600000}</int>
     <int name="connTimeout">${connTimeout:60000}</int>
   </shardHandlerFactory>
+  <int name="maxBooleanClauses">${solr.max.booleanClauses:1024}</int>
   %s
 </solr>
 `
diff --git a/helm/solr/Chart.yaml b/helm/solr/Chart.yaml
index 3afbca3..44070f5 100644
--- a/helm/solr/Chart.yaml
+++ b/helm/solr/Chart.yaml
@@ -48,6 +48,13 @@ annotations:
           url: https://github.com/apache/solr-operator/issues/616
         - name: Version Compatibility Documentation
           url: https://apache.github.io/solr-operator/docs/upgrade-notes.html#solr-versions
+    - kind: changed
+      description: The default solr.xml now includes a `maxBooleanClauses` value of `${solr.max.booleanClauses:1024}`.
+      links:
+        - name: Github Issue
+          url: https://github.com/apache/solr-operator/issues/630
+        - name: Github PR
+          url: https://github.com/apache/solr-operator/pull/631
   artifacthub.io/containsSecurityUpdates: "false"
   artifacthub.io/recommendations: |
     - url: https://artifacthub.io/packages/helm/apache-solr/solr-operator