CIRCLE geo_shape query not supported in ES 8.1

we currently want to move from ES7.17 to 8.1. so far everything went fine but one application seeding the data on geolocations fails with an error currently on our test system

unsupported_operation_exception: CIRCLE geometry is not supported
C#:
[GeoShape(Strategy = GeoStrategy.Recursive)]
 public CircleGeoShape Location { get; set; }

mapping: 
"location": {
    "type": "geo_shape",
    "strategy": "recursive"
},

Data saving:
"location": {
    "type": "circle",
    "coordinates": [
        -122.431297,
        37.773972
    ],
    "radius": "10"
}

Could someone help me to resolve this? I can not find out any c# code to migrate it to the circle processor

See Geoshape field type | Elasticsearch Guide [8.1] | Elastic and check out the circle ingest processor.

Thanks. I already read this topic but I can not find out any sample code to migrate this field. In NEST SDK v7.17 I don't see any property to assign the radius. Do you have any idea?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.