Skip to content

Commit

Permalink
[Maps] Do not fetch geo_shape from docvalues (#63997) (#64013)
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Apr 21, 2020
1 parent 197b7a5 commit 98369bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
? {
Expand Down

0 comments on commit 98369bb

Please sign in to comment.