mirror of https://github.com/apache/lucene.git
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:
parent
e83d2c63bb
commit
f8f7cb4ec5
|
@ -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]");
|
||||
|
|
Loading…
Reference in New Issue