I'd like to insert geo coordinates for Region Map and Coordinate Map. How the Json line should look like (bulk insert).
I have below example but type is recognized as float
{ "index" : { "_index" : "sale", "_type" : "doc", "_id" : "1" }}
{"product_id": 1860441,"location": {"lat" : 33.5206608, "long" : 67.8024900}}
{ "index" : { "_index" : "sale", "_type" : "doc", "_id" : "2" }}
{"product_id": 1860441,"location": {"lat" : 33.5206608, "long" : 12.8024900}}
Possible to define field type in Json file?
Regards