mirror of https://github.com/apache/lucene.git
LUCENE-3290: fix bug, sumTotalTermFreq is a vlong
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144257 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b1142c17b4
commit
96c5589308
|
@ -691,7 +691,7 @@ public class MemoryCodec extends Codec {
|
|||
final int fieldNumber = in.readVInt();
|
||||
field = fieldInfos.fieldInfo(fieldNumber);
|
||||
if (!field.omitTermFreqAndPositions) {
|
||||
sumTotalTermFreq = in.readVInt();
|
||||
sumTotalTermFreq = in.readVLong();
|
||||
} else {
|
||||
sumTotalTermFreq = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue