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:
Serializable

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

See Also:
Serialized Form

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

Constructor Detail

GeoPolygonFilter

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

points

public Point[] points()

fieldName

public String fieldName()

getDocIdSet

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012. All Rights Reserved.