Class GeoContextMapping

All Implemented Interfaces:
ToXContent, ToXContentFragment

public class GeoContextMapping extends ContextMapping<GeoQueryContext>
A ContextMapping that uses a geo location/area as a criteria. The suggestions can be boosted and/or filtered depending on whether it falls within an area, represented by a query geo hash with a specified precision GeoQueryContext defines the options for constructing a unit of query context for this context type