Apache Solr open-source search software
Make the checkindex output for docvalues consistent and line up so the output is pretty
Robert Muir9d2f4e562a24
diff --git a/lucene/core/src/java/org/apache/lucene/index/CheckIndex.java b/lucene/core/src/java/org/apache/lucene/index/CheckIndex.javaindex 227d316a769..bf5df24a0a2 100644--- a/lucene/core/src/java/org/apache/lucene/index/CheckIndex.java+++ b/lucene/core/src/java/org/apache/lucene/index/CheckIndex.java@@ -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;