LUCENE-2744: only print number of fields w/ norms on 'test: norms....' CheckIndex output

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031689 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2010-11-05 18:17:06 +00:00
parent e83d2c63bb
commit f8f7cb4ec5
1 changed files with 1 additions and 1 deletions

View File

@ -552,8 +552,8 @@ public class CheckIndex {
for (final String fieldName : fieldNames) {
if (reader.hasNorms(fieldName)) {
reader.norms(fieldName, b, 0);
++status.totFields;
}
++status.totFields;
}
msg("OK [" + status.totFields + " fields]");