Hi there,
I understand a geo-point can be mapped based on two fields : "lat", "long".
However my fields are name "longitude" and "latitude".
I'm using the river plugin for couchdb and I cannot really rename those
fields before indexing. And those fields are part of an item in an array:
"items": [
{
"item_id" : "abcd",
"location":
{
"longitude": 145.7711,
"latitude": -16.92359
}
},
{
"item_id" : "efgh",
"location":
{
"longitude": 149.6611,
"latitude": -19.94098
}
}
]
So, any idea how I can rename those fields? And eventually map it to a geo
point
(http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-geo-point-type.html)?
Cheers
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/96700d4a-c3f5-441a-a53f-dfee9e934364%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.