SOLR-6820: Increase the default number of buckets to 65536 instead of 256

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681169 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy Potter 2015-05-22 17:44:57 +00:00
parent 471784c67d
commit 11bf206e0d
4 changed files with 4 additions and 4 deletions

View File

@ -244,7 +244,7 @@ public class UpdateLog implements PluginInfoInitialized {
numRecordsToKeep = objToInt(info.initArgs.get("numRecordsToKeep"), 100);
maxNumLogsToKeep = objToInt(info.initArgs.get("maxNumLogsToKeep"), 10);
numVersionBuckets = objToInt(info.initArgs.get("numVersionBuckets"), 256);
numVersionBuckets = objToInt(info.initArgs.get("numVersionBuckets"), 65536);
if (numVersionBuckets <= 0)
throw new SolrException(SolrException.ErrorCode.SERVER_ERROR,
"Number of version buckets must be greater than 0!");

View File

@ -157,7 +157,7 @@
-->
<updateLog>
<str name="dir">${solr.ulog.dir:}</str>
<int name="">${solr.ulog.numVersionBuckets:256}</int>
<int name="">${solr.ulog.numVersionBuckets:65536}</int>
</updateLog>
<!-- AutoCommit

View File

@ -335,7 +335,7 @@
-->
<updateLog>
<str name="dir">${solr.ulog.dir:}</str>
<int name="">${solr.ulog.numVersionBuckets:256}</int>
<int name="">${solr.ulog.numVersionBuckets:65536}</int>
</updateLog>
<!-- AutoCommit

View File

@ -338,7 +338,7 @@
-->
<updateLog>
<str name="dir">${solr.ulog.dir:}</str>
<int name="">${solr.ulog.numVersionBuckets:256}</int>
<int name="">${solr.ulog.numVersionBuckets:65536}</int>
</updateLog>
<!-- AutoCommit