public interface SpatialContext extends QueryCustomization<SpatialContext>, SpatialMatchingContext
| Modifier and Type | Method and Description |
|---|---|
SpatialMatchingContext |
onField(String fieldName)
Used to select the spatial field/coordinates used for this query.
|
boostedTo, filteredBy, withConstantScorewithinSpatialMatchingContext onField(String fieldName)
Spatial.COORDINATES_DEFAULT_FIELD) is used.
Note: An entity can have multiple Spatial annotations defining
different sets of coordinates. Each non-default Spatial instance has a name to identify it. Use this method
to specify the targeted coordinate field.
fieldName - The name of the set of coordinates to target for the querySpatialMatchingContext instance for continuationCopyright © 2006–2016 Hibernate. All rights reserved.