mirror of https://github.com/apache/lucene.git
fix int overflow
This commit is contained in:
parent
fa9700737a
commit
fcd90b9ba6
|
@ -1177,7 +1177,7 @@ public class BKDWriter implements Closeable {
|
|||
PointReader reader = slices[dim].writer.getReader(slices[dim].start);) {
|
||||
|
||||
// Partition this source according to how the splitDim split the values:
|
||||
int nextRightCount = 0;
|
||||
long nextRightCount = 0;
|
||||
for (long i=0;i<source.count;i++) {
|
||||
boolean result = reader.next();
|
||||
assert result;
|
||||
|
|
Loading…
Reference in New Issue