mirror of https://github.com/apache/lucene.git
remove redundant/outdated check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634586 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3dfb984bc7
commit
bfad0ad2f9
|
@ -165,9 +165,6 @@ public final class FieldInfo {
|
|||
if (omitNorms) {
|
||||
throw new IllegalStateException("non-indexed field '" + name + "' cannot omit norms");
|
||||
}
|
||||
if (indexOptions != null) {
|
||||
throw new IllegalStateException("non-indexed field '" + name + "' cannot have index options");
|
||||
}
|
||||
}
|
||||
|
||||
if (dvGen != -1 && docValueType == null) {
|
||||
|
|
Loading…
Reference in New Issue