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 committed Apr 20, 2020
1 parent 164c483 commit c6afc0f
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 c6afc0f

Please sign in to comment.