mirror of https://github.com/apache/lucene.git
Also fix formats that are only tested nightly.
This commit is contained in:
parent
da1f954601
commit
73d71acedd
|
@ -218,7 +218,7 @@ public class Lucene60PointsWriter extends PointsWriter {
|
|||
FieldInfos readerFieldInfos = mergeState.fieldInfos[i];
|
||||
FieldInfo readerFieldInfo = readerFieldInfos.fieldInfo(fieldInfo.name);
|
||||
if (readerFieldInfo != null && readerFieldInfo.getPointDimensionCount() > 0) {
|
||||
PointValues bkdReader = reader60.readers.get(readerFieldInfo.number);
|
||||
PointValues bkdReader = reader60.getValues(readerFieldInfo.name);
|
||||
if (bkdReader != null) {
|
||||
bkdReaders.add(bkdReader);
|
||||
docMaps.add(mergeState.docMaps[i]);
|
||||
|
|
|
@ -249,7 +249,7 @@ public class Lucene86PointsWriter extends PointsWriter {
|
|||
|
||||
// we confirmed this up above
|
||||
assert reader instanceof Lucene86PointsReader;
|
||||
Lucene86PointsReader reader60 = (Lucene86PointsReader) reader;
|
||||
Lucene86PointsReader reader86 = (Lucene86PointsReader) reader;
|
||||
|
||||
// NOTE: we cannot just use the merged fieldInfo.number (instead of resolving to
|
||||
// this
|
||||
|
@ -259,7 +259,7 @@ public class Lucene86PointsWriter extends PointsWriter {
|
|||
FieldInfos readerFieldInfos = mergeState.fieldInfos[i];
|
||||
FieldInfo readerFieldInfo = readerFieldInfos.fieldInfo(fieldInfo.name);
|
||||
if (readerFieldInfo != null && readerFieldInfo.getPointDimensionCount() > 0) {
|
||||
PointValues aPointValues = reader60.readers.get(readerFieldInfo.number);
|
||||
PointValues aPointValues = reader86.getValues(readerFieldInfo.name);
|
||||
if (aPointValues != null) {
|
||||
pointValues.add(aPointValues);
|
||||
docMaps.add(mergeState.docMaps[i]);
|
||||
|
|
Loading…
Reference in New Issue