Package org.elasticsearch.search.runtime
Class GeoPointScriptFieldGeoShapeQuery
org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<GeoPointFieldScript>
org.elasticsearch.search.runtime.GeoPointScriptFieldGeoShapeQuery
-
Field Summary
Fields inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery
MATCH_COST
-
Constructor Summary
ConstructorDescriptionGeoPointScriptFieldGeoShapeQuery(Script script, GeoPointFieldScript.LeafFactory leafFactory, fieldName, ShapeRelation relation, org.apache.lucene.geo.LatLonGeometry... geometries)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
o)
int
hashCode()
protected boolean
matches(long[] values, int count)
Does the value match this query?protected boolean
matches(GeoPointFieldScript scriptContext, int docId)
field)
Methods inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery
createWeight
Methods inherited from class org.apache.lucene.search.Query
classHash, rewrite, sameClassAs, toString, visit
Methods inherited from class java.lang.
, , , , , , ,
-
Constructor Details
-
GeoPointScriptFieldGeoShapeQuery
public GeoPointScriptFieldGeoShapeQuery(Script script, GeoPointFieldScript.LeafFactory leafFactory, fieldName, ShapeRelation relation, org.apache.lucene.geo.LatLonGeometry... geometries)
-
-
Method Details
-
matches
protected boolean matches(long[] values, int count)Does the value match this query? -
toString
public final toString( field)- Specified by:
toString
in classorg.apache.lucene.search.Query
-
equals
public boolean equals( o)- Overrides:
equals
in classAbstractScriptFieldQuery<GeoPointFieldScript>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractScriptFieldQuery<GeoPointFieldScript>
-
matches
- Specified by:
matches
in classAbstractScriptFieldQuery<GeoPointFieldScript>
-