Package org.hibernate.search.query.dsl
Interface SpatialContext
- All Superinterfaces:
QueryCustomization<SpatialContext>,SpatialMatchingContext
@Deprecated
public interface SpatialContext
extends QueryCustomization<SpatialContext>, SpatialMatchingContext
Deprecated.
- Author:
- Emmanuel Bernard
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Used to select the spatial field/coordinates used for this query.Methods inherited from interface org.hibernate.search.query.dsl.QueryCustomization
boostedTo, filteredBy, withConstantScoreMethods inherited from interface org.hibernate.search.query.dsl.SpatialMatchingContext
within
-
Method Details
-
onField
Deprecated.Used to select the spatial field/coordinates used for this query. If not specified, the default field (Spatial.COORDINATES_DEFAULT_FIELD) is used.Note: An entity can have multiple
Spatialannotations defining different sets of coordinates. Each non-defaultSpatialinstance has a name to identify it. Use this method to specify the targeted coordinate field.- Parameters:
fieldName- The name of the set of coordinates to target for the query- Returns:
SpatialMatchingContextinstance for continuation
-
QueryBuilder.