Skip to content

Commit c6afc0f

Browse files
committed
[Maps] Do not fetch geo_shape from docvalues (#63997)
1 parent 164c483 commit c6afc0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugins/maps/public/layers/sources/es_search_source/es_search_source.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function getDocValueAndSourceFields(indexPattern, fieldNames) {
5151
lang: field.lang,
5252
},
5353
};
54-
} else if (field.readFromDocValues) {
54+
} else if (field.type !== ES_GEO_FIELD_TYPE.GEO_SHAPE && field.readFromDocValues) {
5555
const docValueField =
5656
field.type === 'date'
5757
? {

0 commit comments

Comments
 (0)