@Retention(value=RUNTIME) @Target(value={METHOD,FIELD,TYPE}) @Documented public @interface Spatial
SpatialMode.RANGE
approach.
Otherwise, they can be indexed using a quad-tree index. This is known as theModifier and Type | Optional Element and Description |
---|---|
Boost |
boost |
int |
bottomQuadTreeLevel |
String |
name
The name of the field prefix where spatial index
information is stored in a Lucene document.
|
SpatialMode |
spatialMode |
Store |
store |
int |
topQuadTreeLevel |
public abstract String name
@Spatial
is hosted on a property, defaults to the property name.public abstract Store store
Store
enum, indicating whether the value should be stored in the document.
Defaults to Store.NO
public abstract Boost boost
Boost
annotation defining a float index time boost valuepublic abstract SpatialMode spatialMode
public abstract int topQuadTreeLevel
public abstract int bottomQuadTreeLevel
Copyright © 2006–2013 Hibernate. All rights reserved.