mirror of https://github.com/apache/lucene.git
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:
parent
471784c67d
commit
11bf206e0d
|
@ -244,7 +244,7 @@ public class UpdateLog implements PluginInfoInitialized {
|
||||||
|
|
||||||
numRecordsToKeep = objToInt(info.initArgs.get("numRecordsToKeep"), 100);
|
numRecordsToKeep = objToInt(info.initArgs.get("numRecordsToKeep"), 100);
|
||||||
maxNumLogsToKeep = objToInt(info.initArgs.get("maxNumLogsToKeep"), 10);
|
maxNumLogsToKeep = objToInt(info.initArgs.get("maxNumLogsToKeep"), 10);
|
||||||
numVersionBuckets = objToInt(info.initArgs.get("numVersionBuckets"), 256);
|
numVersionBuckets = objToInt(info.initArgs.get("numVersionBuckets"), 65536);
|
||||||
if (numVersionBuckets <= 0)
|
if (numVersionBuckets <= 0)
|
||||||
throw new SolrException(SolrException.ErrorCode.SERVER_ERROR,
|
throw new SolrException(SolrException.ErrorCode.SERVER_ERROR,
|
||||||
"Number of version buckets must be greater than 0!");
|
"Number of version buckets must be greater than 0!");
|
||||||
|
|
|
@ -157,7 +157,7 @@
|
||||||
-->
|
-->
|
||||||
<updateLog>
|
<updateLog>
|
||||||
<str name="dir">${solr.ulog.dir:}</str>
|
<str name="dir">${solr.ulog.dir:}</str>
|
||||||
<int name="">${solr.ulog.numVersionBuckets:256}</int>
|
<int name="">${solr.ulog.numVersionBuckets:65536}</int>
|
||||||
</updateLog>
|
</updateLog>
|
||||||
|
|
||||||
<!-- AutoCommit
|
<!-- AutoCommit
|
||||||
|
|
|
@ -335,7 +335,7 @@
|
||||||
-->
|
-->
|
||||||
<updateLog>
|
<updateLog>
|
||||||
<str name="dir">${solr.ulog.dir:}</str>
|
<str name="dir">${solr.ulog.dir:}</str>
|
||||||
<int name="">${solr.ulog.numVersionBuckets:256}</int>
|
<int name="">${solr.ulog.numVersionBuckets:65536}</int>
|
||||||
</updateLog>
|
</updateLog>
|
||||||
|
|
||||||
<!-- AutoCommit
|
<!-- AutoCommit
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
-->
|
-->
|
||||||
<updateLog>
|
<updateLog>
|
||||||
<str name="dir">${solr.ulog.dir:}</str>
|
<str name="dir">${solr.ulog.dir:}</str>
|
||||||
<int name="">${solr.ulog.numVersionBuckets:256}</int>
|
<int name="">${solr.ulog.numVersionBuckets:65536}</int>
|
||||||
</updateLog>
|
</updateLog>
|
||||||
|
|
||||||
<!-- AutoCommit
|
<!-- AutoCommit
|
||||||
|
|
Loading…
Reference in New Issue