[Maps] Do not fetch geo_shape from docvalues (#63997)

This commit is contained in:
Nathan Reese 2020-04-20 15:38:10 -06:00 committed by GitHub
parent e302fd8486
commit 35dab183ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ function getDocValueAndSourceFields(indexPattern, fieldNames) {
lang: field.lang,
},
};
} else if (field.readFromDocValues) {
} else if (field.type !== ES_GEO_FIELD_TYPE.GEO_SHAPE && field.readFromDocValues) {
const docValueField =
field.type === 'date'
? {