LUCENE-2380: fix bug where each term was written twice

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@951737 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2010-06-05 16:16:18 +00:00
parent 26ea856e1b
commit a6a9e5fce8
1 changed files with 0 additions and 1 deletions

View File

@ -758,7 +758,6 @@ class FieldCacheImpl implements FieldCache {
termOrdToBytesOffset = termOrdToBytesOffset.resize(ArrayUtil.oversize(1+termOrd, 1));
}
termOrdToBytesOffset.set(termOrd, bytes.copyUsingLengthPrefix(term));
bytes.copyUsingLengthPrefix(term);
docs = termsEnum.docs(delDocs, docs);
while (true) {
final int docID = docs.nextDoc();