Skip to content

Commit 8a265f9

Browse files
committed
iter
1 parent 4113b9d commit 8a265f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x-pack/plugin/spatial/src/main/java/org/elasticsearch/xpack/spatial/index/mapper/PointFieldMapper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,8 @@ public BlockLoader blockLoader(BlockLoaderContext blContext) {
245245
return new BlockDocValuesReader.LongsBlockLoader(name());
246246
}
247247

248-
if (isSyntheticSource) {
248+
// Multi fields don't have fallback synthetic source.s
249+
if (isSyntheticSource && blContext.parentField(name()) == null) {
249250
return blockLoaderFromFallbackSyntheticSource(blContext);
250251
}
251252

0 commit comments

Comments
 (0)