mirror of https://github.com/apache/lucene.git
LUCENE-5767: remove bogus cast (in this case can exceed Integer.MAX_VALUE, and the underlying delta reader takes long anyway)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604064 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2867f2c593
commit
7ab10178c3
|
@ -484,7 +484,7 @@ public class MultiDocValues {
|
|||
segmentToGlobalOrds[i] = new LongValues() {
|
||||
@Override
|
||||
public long get(long ord) {
|
||||
return ord + deltas.get((int) ord);
|
||||
return ord + deltas.get(ord);
|
||||
}
|
||||
};
|
||||
ramBytesUsed += deltas.ramBytesUsed();
|
||||
|
|
Loading…
Reference in New Issue