|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.spatial.tier.DistanceQueryBuilder
@Deprecated public class DistanceQueryBuilder
NOTE: This API is still in flux and might change in incompatible ways in the next release.
Constructor Summary | |
---|---|
DistanceQueryBuilder(double lat,
double lng,
double miles,
String geoHashFieldPrefix,
String tierFieldPrefix,
boolean needPrecise,
int minTierIndexed,
int maxTierIndexed)
Deprecated. Create a distance query using a boundary box wrapper around a more precise DistanceFilter. |
|
DistanceQueryBuilder(double lat,
double lng,
double miles,
String latField,
String lngField,
String tierFieldPrefix,
boolean needPrecise,
int minTierIndexed,
int maxTierIndexed)
Deprecated. Create a distance query using a boundary box wrapper around a more precise DistanceFilter. |
Method Summary | |
---|---|
DistanceFilter |
getDistanceFilter()
Deprecated. |
Filter |
getFilter()
Deprecated. Create a distance query using a boundary box wrapper around a more precise DistanceFilter. |
Filter |
getFilter(Query query)
Deprecated. |
double |
getLat()
Deprecated. |
double |
getLng()
Deprecated. |
double |
getMiles()
Deprecated. |
Query |
getQuery(Query query)
Deprecated. |
String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DistanceQueryBuilder(double lat, double lng, double miles, String latField, String lngField, String tierFieldPrefix, boolean needPrecise, int minTierIndexed, int maxTierIndexed)
lat
- The latitude to search aroundlng
- the Longitude to search aroundmiles
- The radius to search withinlatField
- The name of the field containing the latitudelngField
- The name of the field containing the longitudetierFieldPrefix
- The prefix of the tierneedPrecise
- if true, then distance is calculated in addition to tier infominTierIndexed
- The minimum tier level indexedmaxTierIndexed
- The maximum tier level indexedpublic DistanceQueryBuilder(double lat, double lng, double miles, String geoHashFieldPrefix, String tierFieldPrefix, boolean needPrecise, int minTierIndexed, int maxTierIndexed)
lat
- lng
- miles
- Method Detail |
---|
public Filter getFilter()
public Filter getFilter(Query query)
public DistanceFilter getDistanceFilter()
public Query getQuery(Query query)
public double getLat()
public double getLng()
public double getMiles()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |