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);
|
||||
if (values != null) {
|
||||
maxPointCount += values.size();
|
||||
}
|
||||
if (mergeState.liveDocs[i] != null) {
|
||||
totDocCount = BKDWriter.UNKNOWN_DOC_COUNT;
|
||||
} else if (totDocCount != BKDWriter.UNKNOWN_DOC_COUNT) {
|
||||
totDocCount += values.getDocCount();
|
||||
if (mergeState.liveDocs[i] != null) {
|
||||
totDocCount = BKDWriter.UNKNOWN_DOC_COUNT;
|
||||
} else if (totDocCount != BKDWriter.UNKNOWN_DOC_COUNT) {
|
||||
totDocCount += values.getDocCount();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue