mirror of https://github.com/apache/lucene.git
LUCENE-4055: clear nocommit, normType can be null if there are no postings (3.x does fileExists)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1341462 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f330cf65ad
commit
6fef20d76a
|
@ -102,8 +102,6 @@ public final class FieldInfo {
|
|||
assert normType == null;
|
||||
assert indexOptions == IndexOptions.DOCS_AND_FREQS_AND_POSITIONS;
|
||||
} else {
|
||||
// nocommit trips:
|
||||
//assert omitNorms || normType != null;
|
||||
assert indexOptions != null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue