@@ -26,6 +26,7 @@ def test_descriptor_to_mapping():
26
26
{'name' : 'another-time' , 'type' : 'time' },
27
27
{'name' : 'an-array' , 'type' : 'array' , 'es:itemType' : 'string' },
28
28
{'name' : 'another-array' , 'type' : 'array' , 'es:itemType' : 'integer' },
29
+ {'name' : 'a-geopoint' , 'type' : 'geopoint' },
29
30
{'name' : 'an-object' , 'type' : 'object' , 'es:schema' : {'fields' : [{'name' : 'inner' , 'type' : 'integer' }]}},
30
31
{'name' : 'another-object' , 'type' : 'object' , 'es:index' : False },
31
32
]
@@ -44,6 +45,7 @@ def test_descriptor_to_mapping():
44
45
'another-time' : {'type' : 'date' , 'ignore_malformed' : True , 'format' : 'strict_date_optional_time' },
45
46
'an-array' : {'type' : 'text' },
46
47
'another-array' : {'type' : 'long' , 'ignore_malformed' : True , 'index' : False },
48
+ 'a-geopoint' : {'type' : 'geo_point' , 'ignore_malformed' : True ,'index' : False },
47
49
'an-object' : {'properties' : {'inner' : {'type' : 'long' , 'ignore_malformed' : True , 'index' : False }},
48
50
'enabled' : True , 'dynamic' : False },
49
51
'another-object' : {'properties' : {}, 'enabled' : False , 'dynamic' : False }}}
0 commit comments