Closed cmbarbu closed 1 week ago
Hello, thanks for reporting this! Seems like we're missing the option in GeoDistanceSort, it's a problem with the API specification used to produce the Java code, we'll fix it and regenerate the client to solve the issue.
Indeed, it seems the class GeoDistanceSort
is missing the nested
property:
Would it help if I opened a ticket in that repo as well?
Description
Nested sort seems to be available only for
co.elastic.clients.elasticsearch._types.FieldSort
, but not forco.elastic.clients.elasticsearch._types.GeoDistanceSort
. Consequently, trying to sort by distance on a nested field yields an error:This used to be possible in 7.x. Are there any plans to support this again in 8.x?