|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.search.SortField
org.hibernate.search.spatial.DistanceSortField
public class DistanceSortField
Lucene SortField for sorting documents which have been indexed with Hibernate Search spatial
SpatialFieldBridgeByQuadTree,
SpatialFieldBridgeByRange,
Coordinates,
Serialized Form| Field Summary |
|---|
| Fields inherited from class org.apache.lucene.search.SortField |
|---|
BYTE, CUSTOM, DOC, DOUBLE, FIELD_DOC, FIELD_SCORE, FLOAT, INT, LONG, SCORE, SHORT, STRING, STRING_VAL |
| Constructor Summary | |
|---|---|
DistanceSortField(Coordinates center,
String fieldName)
|
|
DistanceSortField(double latitude,
double longitude,
String fieldName)
|
|
| Method Summary |
|---|
| Methods inherited from class org.apache.lucene.search.SortField |
|---|
equals, getComparator, getComparatorSource, getField, getLocale, getParser, getReverse, getType, hashCode, setMissingValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DistanceSortField(Coordinates center,
String fieldName)
public DistanceSortField(double latitude,
double longitude,
String fieldName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||