mirror of https://github.com/apache/lucene.git
fix
This commit is contained in:
parent
8fdbce04f4
commit
b58e9d77d1
|
@ -60,7 +60,6 @@ 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) {
|
||||||
|
@ -69,6 +68,7 @@ public abstract class PointsWriter implements Closeable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
final long finalMaxPointCount = maxPointCount;
|
final long finalMaxPointCount = maxPointCount;
|
||||||
docCount = totDocCount;
|
docCount = totDocCount;
|
||||||
writeField(
|
writeField(
|
||||||
|
|
Loading…
Reference in New Issue