Adds geo_point to normalizeType helper (#44410)

This commit is contained in:
Catherine Liu 2019-09-03 13:54:21 -07:00 committed by GitHub
parent 0a42a1f900
commit 55e2d65970
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@
export function normalizeType(type) {
const normalTypes = {
string: ['string', 'text', 'keyword', '_type', '_id', '_index'],
string: ['string', 'text', 'keyword', '_type', '_id', '_index', 'geo_point'],
number: [
'float',
'half_float',