From b8af29f24715e191609295d1135977d3fee88d65 Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Thu, 6 Dec 2007 00:08:21 +0000 Subject: [PATCH] default HashDocSet/@maxSize to 3000 rather then throwing an error if not specified git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@601581 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/solr/core/SolrConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/solr/core/SolrConfig.java b/src/java/org/apache/solr/core/SolrConfig.java index ce004715b23..4177d483353 100644 --- a/src/java/org/apache/solr/core/SolrConfig.java +++ b/src/java/org/apache/solr/core/SolrConfig.java @@ -111,7 +111,7 @@ public class SolrConfig extends Config { org.apache.solr.search.SolrIndexSearcher.initRegenerators(this); hashSetInverseLoadFactor = 1.0f / getFloat("//HashDocSet/@loadFactor",0.75f); - hashDocSetMaxSize= getInt("//HashDocSet/@maxSize",-1); + hashDocSetMaxSize= getInt("//HashDocSet/@maxSize",3000); pingQueryParams = readPingQueryParams(this); Config.log.info("Loaded SolrConfig: " + file);