Currently in the process of indexing data from Oracle and one of the properties is a "Coordinate" .
we would like to be able to do a geo search on the field but since it is currently added as "long" as shown below , we are not able to perform a search using the field...
can we add mapping to set these properties to Geo_Point, if so, does anyone have a good example?
"captureCoordinates" : {
"properties" : {
"sdoGtype" : {
"type" : "long"
},
"sdoPoint" : {
"properties" : {
"x" : {
"type" : "float"
},
"y" : {
"type" : "float"
}
}
},
"sdoSrid" : {
"type" : "long"
}
}
}