mirror of https://github.com/apache/lucene.git
LUCENE-2380: align for both doc->ord and ord->value, when fasterButMoreRAM is true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@951520 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6ffc159b40
commit
39edb867b2
|
@ -735,7 +735,7 @@ class FieldCacheImpl implements FieldCache {
|
|||
}
|
||||
|
||||
GrowableWriter termOrdToBytesOffset = new GrowableWriter(startBytesBPV, 1+startNumUniqueTerms, fasterButMoreRAM);
|
||||
final GrowableWriter docToTermOrd = new GrowableWriter(startTermsBPV, reader.maxDoc(), false);
|
||||
final GrowableWriter docToTermOrd = new GrowableWriter(startTermsBPV, reader.maxDoc(), fasterButMoreRAM);
|
||||
|
||||
// 0 is reserved for "unset"
|
||||
bytes.copyUsingLengthPrefix(new BytesRef());
|
||||
|
|
Loading…
Reference in New Issue