public class GeoDistanceFilter
extends org.apache.lucene.search.Filter
| Modifier and Type | Class and Description |
|---|---|
static class |
GeoDistanceFilter.GeoDistanceDocSet |
| Constructor and Description |
|---|
GeoDistanceFilter(double lat,
double lon,
double distance,
GeoDistance geoDistance,
IndexGeoPointFieldData indexFieldData,
GeoPointFieldMapper mapper,
String optimizeBbox) |
| Modifier and Type | Method and Description |
|---|---|
double |
distance() |
boolean |
equals(Object o) |
String |
fieldName() |
GeoDistance |
geoDistance() |
org.apache.lucene.search.DocIdSet |
getDocIdSet(org.apache.lucene.index.AtomicReaderContext context,
org.apache.lucene.util.Bits acceptedDocs) |
int |
hashCode() |
double |
lat() |
double |
lon() |
String |
toString() |
public GeoDistanceFilter(double lat,
double lon,
double distance,
GeoDistance geoDistance,
IndexGeoPointFieldData indexFieldData,
GeoPointFieldMapper mapper,
String optimizeBbox)
public double lat()
public double lon()
public double distance()
public GeoDistance geoDistance()
public String fieldName()
public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.AtomicReaderContext context,
org.apache.lucene.util.Bits acceptedDocs)
throws IOException
getDocIdSet in class org.apache.lucene.search.FilterIOExceptionCopyright © 2009–2016. All rights reserved.