This commit is contained in:
easyice 2023-10-24 10:41:06 +08:00
parent 8fdbce04f4
commit b58e9d77d1
1 changed files with 5 additions and 5 deletions

View File

@ -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(); }
} }
} }
} }