mirror of https://github.com/apache/lucene.git
LUCENE-3027: remove redundant assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1092110 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0fb7c3e41f
commit
2133423e2b
|
@ -173,10 +173,9 @@ final class DocFieldProcessorPerThread extends DocConsumerPerThread {
|
|||
if (totalFieldCount >= fieldHash.length/2)
|
||||
rehash();
|
||||
} else {
|
||||
FieldInfo fi = fieldInfos.addOrUpdate(fp.fieldInfo.name, field.isIndexed(), field.isTermVectorStored(),
|
||||
field.isStorePositionWithTermVector(), field.isStoreOffsetWithTermVector(),
|
||||
field.getOmitNorms(), false, field.getOmitTermFreqAndPositions());
|
||||
assert !fi.omitTermFreqAndPositions || !fi.storePayloads;
|
||||
fieldInfos.addOrUpdate(fp.fieldInfo.name, field.isIndexed(), field.isTermVectorStored(),
|
||||
field.isStorePositionWithTermVector(), field.isStoreOffsetWithTermVector(),
|
||||
field.getOmitNorms(), false, field.getOmitTermFreqAndPositions());
|
||||
}
|
||||
if (thisFieldGen != fp.lastGen) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue