org.elasticsearch.index.search.geo
Class GeoPolygonFilter

java.lang.Object
  extended by org.apache.lucene.search.Filter
      extended by org.elasticsearch.index.search.geo.GeoPolygonFilter
All Implemented Interfaces:
java.io.Serializable

public class GeoPolygonFilter
extends org.apache.lucene.search.Filter

See Also:
Serialized Form

Nested Class Summary
static class GeoPolygonFilter.Point
           
 
Constructor Summary
GeoPolygonFilter(GeoPolygonFilter.Point[] points, java.lang.String fieldName, FieldDataCache fieldDataCache)
           
 
Method Summary
 java.lang.String fieldName()
           
 org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
           
 GeoPolygonFilter.Point[] points()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoPolygonFilter

public GeoPolygonFilter(GeoPolygonFilter.Point[] points,
                        java.lang.String fieldName,
                        FieldDataCache fieldDataCache)
Method Detail

points

public GeoPolygonFilter.Point[] points()

fieldName

public java.lang.String fieldName()

getDocIdSet

public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
                                              throws java.io.IOException
Specified by:
getDocIdSet in class org.apache.lucene.search.Filter
Throws:
java.io.IOException