Hi, 

I'm writing a river from MySQL to ElasticSearch with JDBC River.

I'm facing the problem which is to map two fields from a table (lat : 
double, lon : double) to one elasticseach property geo_point.


I trying this but it does not work.

          "properties": {
                    "_id": {
                        "type": "long",
                        "store": "yes"
                    },
                    "location": { 
                        "type": "geo_point", 
                        "lat_lon": true,
                        "fields": {
                            "lon": {
                                "type": "double",
                                "store": "yes"
                            },                    
                            "lat": {
                                "type": "double",
                                "store": "yes"
                            }
                        }
                    }
                }



How can I solve this problem.

Thanks

-- 
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/10f81de3-b539-4a2c-8d2f-ae7af5e3acb6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to