Reverse geo distance search

Thanks a lot .
That is good , but I need to filter them by drawing circle.

Here there is a "envelope" filter.
image

How can I filter by drawing circle?

When I try to filter by using this code
{
"query": {
"geo_shape": {
"location": {
"shape": {
"type": "circle",
"coordinates": [
51.5073509,
-0.1277583
],
"radius": 10
}
}
}
}
}

I am taking this error

{
"error": {
"root_cause": [
{
"type": "unsupported_operation_exception",
"reason": "CIRCLE geometry is not supported"
}
],
"type": "unsupported_operation_exception",
"reason": "CIRCLE geometry is not supported"
},
"status": 500
}