|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value={METHOD,FIELD,TYPE}) @Documented public @interface Spatial
Defines a spatial property.
Spatial coordinates can be indexed as latitude / longitude fields and queried
via range queries. This is known as the SpatialMode.RANGE
approach.
Otherwise, they can be indexed using a quad-tree index. This is known as the
Optional Element Summary | |
---|---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |