Make the checkindex output for docvalues consistent and line up so the output is pretty

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1396454 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-10-10 03:10:12 +00:00
parent b8ec472834
commit 9d2f4e562a
1 changed files with 2 additions and 3 deletions

View File

@ -1326,7 +1326,7 @@ public class CheckIndex {
final Status.DocValuesStatus status = new Status.DocValuesStatus();
try {
if (infoStream != null) {
infoStream.print(" test: DocValues........");
infoStream.print(" test: docvalues...........");
}
for (FieldInfo fieldInfo : fieldInfos) {
if (fieldInfo.hasDocValues()) {
@ -1340,8 +1340,7 @@ public class CheckIndex {
}
}
msg("OK [" + status.docCount + " total doc Count; Num DocValues Fields "
+ status.totalValueFields);
msg("OK [" + status.docCount + " total doc count; " + status.totalValueFields + " docvalues fields]");
} catch (Throwable e) {
msg("ERROR [" + String.valueOf(e.getMessage()) + "]");
status.error = e;