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:
Yonik Seeley 2011-09-09 14:20:24 +00:00
parent 20c03511c8
commit 7718a32fc5
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ public class DirectUpdateHandler2 extends UpdateHandler {
NamedList lst = new SimpleOrderedMap();
lst.add("commits", commitCommands.get());
if (commitTracker.getTimeUpperBound() > 0) {
lst.add("autocommit maxDocs", commitTracker.getTimeUpperBound());
lst.add("autocommit maxDocs", commitTracker.getDocsUpperBound());
}
if (commitTracker.getTimeUpperBound() > 0) {
lst.add("autocommit maxTime", "" + commitTracker.getTimeUpperBound() + "ms");