@Deprecated
public class LegacyGeoDistanceRangeQuery
extends org.apache.lucene.search.Query
Constructor and Description |
---|
LegacyGeoDistanceRangeQuery(GeoPoint point,
java.lang.Double lowerVal,
java.lang.Double upperVal,
boolean includeLower,
boolean includeUpper,
GeoDistance geoDistance,
BaseGeoPointFieldMapper.LegacyGeoPointFieldType fieldType,
IndexGeoPointFieldData indexFieldData,
java.lang.String optimizeBbox,
QueryShardContext context)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.IndexSearcher searcher,
boolean needsScores)
Deprecated.
|
boolean |
equals(java.lang.Object o)
Deprecated.
|
java.lang.String |
fieldName()
Deprecated.
|
GeoDistance |
geoDistance()
Deprecated.
|
int |
hashCode()
Deprecated.
|
double |
lat()
Deprecated.
|
double |
lon()
Deprecated.
|
double |
maxInclusiveDistance()
Deprecated.
|
double |
minInclusiveDistance()
Deprecated.
|
org.apache.lucene.search.Query |
rewrite(org.apache.lucene.index.IndexReader reader)
Deprecated.
|
java.lang.String |
toString(java.lang.String field)
Deprecated.
|
public LegacyGeoDistanceRangeQuery(GeoPoint point, java.lang.Double lowerVal, java.lang.Double upperVal, boolean includeLower, boolean includeUpper, GeoDistance geoDistance, BaseGeoPointFieldMapper.LegacyGeoPointFieldType fieldType, IndexGeoPointFieldData indexFieldData, java.lang.String optimizeBbox, QueryShardContext context)
public double lat()
public double lon()
public GeoDistance geoDistance()
public double minInclusiveDistance()
public double maxInclusiveDistance()
public java.lang.String fieldName()
public org.apache.lucene.search.Query rewrite(org.apache.lucene.index.IndexReader reader) throws java.io.IOException
rewrite
in class org.apache.lucene.search.Query
java.io.IOException
public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher, boolean needsScores) throws java.io.IOException
createWeight
in class org.apache.lucene.search.Query
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class org.apache.lucene.search.Query
public java.lang.String toString(java.lang.String field)
toString
in class org.apache.lucene.search.Query
public int hashCode()
hashCode
in class org.apache.lucene.search.Query