I am using Kibana 6 version on windows 8 OS.
I created the ufo index. Index gets created. GET ufo/_mapping shows me two mappings section.
I am not sure why.
POST /ufo/_doc
{
"settings" : {
"number_of_shards" : 2
},
" mappings" : {
"ufo": {
"properties" : {
"datetime": {"type":"text"},
"city":{"type":"text"},
"state":{"type":"text"},
"country":{"type":"text"},
"shape":{"type":"text"},
"duration (seconds)":{"type":"integer"},
"duration (hours/min)":{"type":"text"},
"comments":{"type":"text"},
"date posted":{"type":"text"},
"location" : { "type": "geo_point"}
}
}
}
}