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:
Ryan McKinley 2007-12-06 00:08:21 +00:00
parent 7b49ea1ab8
commit b8af29f247
1 changed files with 1 additions and 1 deletions

View File

@ -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);