Apache Solr open-source search software
Merge branch 'master' into feature/autoscaling
Shalin Shekhar Mangar1dd09fc40ded
diff --cc solr/CHANGES.txtindex 97e285c7e9d,64095fac9f4..a700f715696--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@@ -196,13 -194,11 +207,18 @@@ Bug Fixe* SOLR-10886: Using V2Request.process(solrClient) method throws NPE if the API returns an error (Cao Manh Dat)+ * SOLR-10921: Work around the static Lucene BooleanQuery.maxClauseCount that causes Solr's maxBooleanClauses+ setting behavior to be "last core wins". This patch sets BooleanQuery.maxClauseCount to its maximum value,+ thus disabling the global check, and replaces it with specific checks where desired via+ QueryUtils.build(). (yonik)++* SOLR-10602: Triggers should be able to restore state from old instances when taking over. (shalin)++* SOLR-10714: OverseerTriggerThread does not start triggers on overseer start until autoscaling+ config watcher is fired. (shalin)++* SOLR-10738: TriggerAction is initialised even if the trigger is never scheduled. (shalin)+Optimizations----------------------@@@ -223,6 -219,12 +239,12 @@@* SOLR-10727: Avoid polluting the filter cache for certain types of faceting (typically ranges) whenthe base docset is empty. (David Smiley)-* SOLR-9981: Performance improvements and bug fixes for the Analytics component. Performance fix that- stops the reading of ALL lucene segments over and again for each stats collector. The AtomicReaderContext- that refers to the "current " segment is reused. This fix shows an improvement of about 25% in query- time for a dataset of ~10M (=9.8M) records. Given the nature of the fix, the improvement should get++* SOLR-9981: Performance improvements and bug fixes for the Analytics component. Performance fix that++ stops the reading of ALL lucene segments over and again for each stats collector. The AtomicReaderContext++ that refers to the "current " segment is reused. This fix shows an improvement of about 25% in query++ time for a dataset of ~10M (=9.8M) records. Given the nature of the fix, the improvement should get+ better as the dataset increases. Fix for the NPE during comparison (Houston Putman)+Other Changes----------------------* SOLR-10236: Removed FieldType.getNumericType(). Use getNumberType() instead. (Tomás Fernández Löbbe)diff --cc solr/core/src/test/org/apache/solr/cloud/OverseerTest.javaindex 0affc004e59,f6abb54b77f..ac994b09933--- a/solr/core/src/test/org/apache/solr/cloud/OverseerTest.java+++ b/solr/core/src/test/org/apache/solr/cloud/OverseerTest.java@@@ -47,10 -46,8 +46,9 @@@ import org.apache.solr.common.cloud.Solimport org.apache.solr.common.cloud.ZkNodeProps;import org.apache.solr.common.cloud.ZkStateReader;import org.apache.solr.common.params.CollectionParams;- import org.apache.solr.common.util.ExecutorUtil;import org.apache.solr.common.util.Utils;import org.apache.solr.core.CloudConfig;+import org.apache.solr.core.CoreContainer;import org.apache.solr.handler.component.HttpShardHandlerFactory;import org.apache.solr.update.UpdateShardHandler;import org.apache.solr.update.UpdateShardHandlerConfig;