mirror of https://github.com/apache/lucene.git
fix
This commit is contained in:
parent
8fdbce04f4
commit
b58e9d77d1
|
@ -60,11 +60,11 @@ public abstract class PointsWriter implements Closeable {
|
||||||
PointValues values = pointsReader.getValues(fieldInfo.name);
|
PointValues values = pointsReader.getValues(fieldInfo.name);
|
||||||
if (values != null) {
|
if (values != null) {
|
||||||
maxPointCount += values.size();
|
maxPointCount += values.size();
|
||||||
}
|
if (mergeState.liveDocs[i] != null) {
|
||||||
if (mergeState.liveDocs[i] != null) {
|
totDocCount = BKDWriter.UNKNOWN_DOC_COUNT;
|
||||||
totDocCount = BKDWriter.UNKNOWN_DOC_COUNT;
|
} else if (totDocCount != BKDWriter.UNKNOWN_DOC_COUNT) {
|
||||||
} else if (totDocCount != BKDWriter.UNKNOWN_DOC_COUNT) {
|
totDocCount += values.getDocCount();
|
||||||
totDocCount += values.getDocCount();
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue