public class GeoDistanceRangeQuery
extends org.apache.lucene.search.Query
| Constructor and Description |
|---|
GeoDistanceRangeQuery(GeoPoint point,
Double lowerVal,
Double upperVal,
boolean includeLower,
boolean includeUpper,
GeoDistance geoDistance,
BaseGeoPointFieldMapper.GeoPointFieldType fieldType,
IndexGeoPointFieldData indexFieldData,
String optimizeBbox) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.IndexSearcher searcher,
boolean needsScores) |
boolean |
equals(Object o) |
String |
fieldName() |
GeoDistance |
geoDistance() |
int |
hashCode() |
double |
lat() |
double |
lon() |
double |
maxInclusiveDistance() |
double |
minInclusiveDistance() |
org.apache.lucene.search.Query |
rewrite(org.apache.lucene.index.IndexReader reader) |
String |
toString(String field) |
public GeoDistanceRangeQuery(GeoPoint point, Double lowerVal, Double upperVal, boolean includeLower, boolean includeUpper, GeoDistance geoDistance, BaseGeoPointFieldMapper.GeoPointFieldType fieldType, IndexGeoPointFieldData indexFieldData, String optimizeBbox)
public double lat()
public double lon()
public GeoDistance geoDistance()
public double minInclusiveDistance()
public double maxInclusiveDistance()
public String fieldName()
public org.apache.lucene.search.Query rewrite(org.apache.lucene.index.IndexReader reader)
throws IOException
rewrite in class org.apache.lucene.search.QueryIOExceptionpublic org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher,
boolean needsScores)
throws IOException
createWeight in class org.apache.lucene.search.QueryIOExceptionpublic boolean equals(Object o)
equals in class org.apache.lucene.search.Querypublic String toString(String field)
toString in class org.apache.lucene.search.Querypublic int hashCode()
hashCode in class org.apache.lucene.search.QueryCopyright © 2009–2017. All rights reserved.