Class ElasticsearchDistanceToFieldProjection<A,P>

java.lang.Object
org.hibernate.search.backend.elasticsearch.search.projection.impl.AbstractElasticsearchProjection<P>
org.hibernate.search.backend.elasticsearch.search.projection.impl.ElasticsearchDistanceToFieldProjection<A,P>
Type Parameters:
A - The type of the temporary storage for accumulated values, before and after being transformed.
P - The type of the final projection result representing accumulated distance values.
All Implemented Interfaces:
ElasticsearchSearchProjection<P>, ElasticsearchSearchProjection.Extractor<A,P>, SearchProjection<P>

public class ElasticsearchDistanceToFieldProjection<A,P> extends AbstractElasticsearchProjection<P> implements ElasticsearchSearchProjection.Extractor<A,P>
A projection on the distance from a given center to the GeoPoint defined in an index field.