mirror of https://github.com/apache/lucene.git
make slow-wrapper slow again
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1442781 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
efada75bd8
commit
7b19bd1541
|
@ -291,6 +291,7 @@ public class MultiDocValues {
|
||||||
public void lookupOrd(int ord, BytesRef result) {
|
public void lookupOrd(int ord, BytesRef result) {
|
||||||
int subIndex = (int) mapping.subIndexes.get(ord);
|
int subIndex = (int) mapping.subIndexes.get(ord);
|
||||||
int segmentOrd = (int) (ord - mapping.globalOrdDeltas.get(ord));
|
int segmentOrd = (int) (ord - mapping.globalOrdDeltas.get(ord));
|
||||||
|
assert subIndex < values.length;
|
||||||
values[subIndex].lookupOrd(segmentOrd, result);
|
values[subIndex].lookupOrd(segmentOrd, result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -111,6 +111,9 @@ public final class SlowCompositeReaderWrapper extends AtomicReader {
|
||||||
return dv;
|
return dv;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (true) { // nocommit
|
||||||
|
return MultiDocValues.getSortedValues(in, field);
|
||||||
|
}
|
||||||
// cached multi dv
|
// cached multi dv
|
||||||
assert map != null;
|
assert map != null;
|
||||||
int size = in.leaves().size();
|
int size = in.leaves().size();
|
||||||
|
|
Loading…
Reference in New Issue