Geo Mapping from Twitter

Hi all,

"coordinates" : {
"type" : "Point",
"coordinates" : [
100.41404641,
5.37384675
]
},

This is the Geo coordinates from Twitter. I tried it with

"coordinates": {"properties": {
"coordinates":
{"type": "geo_point",
"lat_lon": true,
"geohash": true},
}}

But its not working. Can you please tell me the right mapping for the above.

Thanks,
Sreejith

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c8e68a11-e4bb-4f5d-8858-6cf5c57abe3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

It worked.

On Friday, 24 April 2015 09:04:10 UTC+5:30, Sree wrote:

Hi all,

"coordinates" : {
"type" : "Point",
"coordinates" : [
100.41404641,
5.37384675
]
},

This is the Geo coordinates from Twitter. I tried it with

"coordinates": {"properties": {
"coordinates":
{"type": "geo_point",
"lat_lon": true,
"geohash": true},
}}

But its not working. Can you please tell me the right mapping for the
above.

Thanks,
Sreejith

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/596b5201-95a3-4493-ac45-7cbc1f47bd3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.