mirror of https://github.com/apache/lucene.git
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
This commit is contained in:
parent
7b49ea1ab8
commit
b8af29f247
|
@ -111,7 +111,7 @@ public class SolrConfig extends Config {
|
||||||
org.apache.solr.search.SolrIndexSearcher.initRegenerators(this);
|
org.apache.solr.search.SolrIndexSearcher.initRegenerators(this);
|
||||||
|
|
||||||
hashSetInverseLoadFactor = 1.0f / getFloat("//HashDocSet/@loadFactor",0.75f);
|
hashSetInverseLoadFactor = 1.0f / getFloat("//HashDocSet/@loadFactor",0.75f);
|
||||||
hashDocSetMaxSize= getInt("//HashDocSet/@maxSize",-1);
|
hashDocSetMaxSize= getInt("//HashDocSet/@maxSize",3000);
|
||||||
|
|
||||||
pingQueryParams = readPingQueryParams(this);
|
pingQueryParams = readPingQueryParams(this);
|
||||||
Config.log.info("Loaded SolrConfig: " + file);
|
Config.log.info("Loaded SolrConfig: " + file);
|
||||||
|
|
Loading…
Reference in New Issue