mongo-connector
mongo-connector copied to clipboard
Is there any way to change field names in Mongo documents?
I am using Mongo connector with elasticsearch. My collection has a field location like this:
"location" : {
"longitude" : 77.193398,
"latitude" : 28.645863
}
I want to use this field as geo_type in elasticsearch but I am unable to do so because elasticsearch has fixed schema for geo_type fields. Following is the expected schema in elasticsearch:
"location" : {
"lon" : 77.193398,
"lat" : 28.645863
}
Is there any way to do so in mongo-connector to solve this issue?
I have the same problem too....
Hi have you all got any solution?