public interface SpatialContext extends QueryCustomization<SpatialContext>
Modifier and Type | Method and Description |
---|---|
SpatialMatchingContext |
onCoordinates(String field)
An entity can have multiple
Spatial annotations defining
different sets of coordinates. |
SpatialMatchingContext |
onDefaultCoordinates()
Used to create Spatial Queries on the default coordinates of
an entity.
|
boostedTo, filteredBy, withConstantScore
SpatialMatchingContext onDefaultCoordinates()
Spatial
is being used
without defining a custom value for Spatial.name()
.SpatialMatchingContext
instance for continuationSpatialMatchingContext onCoordinates(String field)
Spatial
annotations defining
different sets of coordinates.
Each non-default Spatial instance has a name to identify it,
use this method to pick one of these non-default coordinate fields.field
- The name of the set of coordinates to target for the querySpatialMatchingContext
instance for continuationCopyright © 2006-2014 Red Hat, Inc. All Rights Reserved