diff --git a/lucene/src/java/org/apache/lucene/index/FieldInfos.java b/lucene/src/java/org/apache/lucene/index/FieldInfos.java index c373165b6ae..5fbc9511ae1 100644 --- a/lucene/src/java/org/apache/lucene/index/FieldInfos.java +++ b/lucene/src/java/org/apache/lucene/index/FieldInfos.java @@ -404,7 +404,7 @@ public final class FieldInfos implements Iterable { public boolean hasNorms() { for (FieldInfo fi : this) { - if (fi.isIndexed && !fi.omitNorms) { + if (fi.normsPresent()) { return true; } }