Closed
Description
Description
Nested sort seems to be available only for co.elastic.clients.elasticsearch._types.FieldSort
, but not for co.elastic.clients.elasticsearch._types.GeoDistanceSort
. Consequently, trying to sort by distance on a nested field yields an error:
"query_shard_exception","reason":"it is mandatory to set the [nested] context on the nested sort field: [geoLocation.geoPoint].
This used to be possible in 7.x. Are there any plans to support this again in 8.x?