Skip to content

Commit

Permalink
[Maps] Do not fetch geo_shape from docvalues (#63997)
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese authored Apr 20, 2020
1 parent e302fd8 commit 35dab18
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 35dab18

Please sign in to comment.