IllegalStateException for mixing up field types
My JSON (TMPOI_TEMPLATE) { "addressInfo": { "geopoint": { "lon": 48.845877, "lat": 8.821861, } }, "poiLocation": { "geopoint": { "lon": 48.845877, "lat": 8.821861, }, "speed": 3.0, "date": 1461067375605 }, "_id": "f212949c-7b67-45db-9f76-fe18bf951722" } My Mappings (TMPOI_MAPPING) { "trafficmeasurepoi": { "properties": { "addressInfo": { "properties": { "geopoint": { "type" : "geo_point" }, } }, "poiLocation": { "properties": { "geopoint": { "type" : "geo_point" }, "speed": { "type" : "double"}, "date": { "type" : "date"} } } } } } My method to fill the index Index is created by another method