elasticsearch-net icon indicating copy to clipboard operation
elasticsearch-net copied to clipboard

DistanceFeature is missing in the 8.x library

Open JuganD opened this issue 11 months ago • 3 comments

Is your feature request related to a problem? Please describe. DistanceFeature seems to be missing in the new 8.x library, it was present in NEST. And it is also in version 8.8 documentation, so there are no signs that this feature is getting retired. https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-distance-feature-query.html

Describe the solution you'd like In NEST it was possible to access it through a BoolQueryDescriptor. Ex: descriptor.Should(s => s.DistanceFeature(dist => dist.Field(fld => fld.DateModified)... I see GeoDistance is a method in QueryDescriptor<TDocument>, so DistanceFeature could also be there.

Describe alternatives you've considered Didn't find any workarounds for the moment.

Additional context Checked the version 8.0 release notes -> missing features and it is not present there, so I'm not sure what are the plans for this feature.

JuganD avatar Jul 25 '23 09:07 JuganD