mirror of https://github.com/apache/lucene.git
stats: maxTime->maxDocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1167199 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
20c03511c8
commit
7718a32fc5
|
@ -491,7 +491,7 @@ public class DirectUpdateHandler2 extends UpdateHandler {
|
||||||
NamedList lst = new SimpleOrderedMap();
|
NamedList lst = new SimpleOrderedMap();
|
||||||
lst.add("commits", commitCommands.get());
|
lst.add("commits", commitCommands.get());
|
||||||
if (commitTracker.getTimeUpperBound() > 0) {
|
if (commitTracker.getTimeUpperBound() > 0) {
|
||||||
lst.add("autocommit maxDocs", commitTracker.getTimeUpperBound());
|
lst.add("autocommit maxDocs", commitTracker.getDocsUpperBound());
|
||||||
}
|
}
|
||||||
if (commitTracker.getTimeUpperBound() > 0) {
|
if (commitTracker.getTimeUpperBound() > 0) {
|
||||||
lst.add("autocommit maxTime", "" + commitTracker.getTimeUpperBound() + "ms");
|
lst.add("autocommit maxTime", "" + commitTracker.getTimeUpperBound() + "ms");
|
||||||
|
|
Loading…
Reference in New Issue