Package org.elasticsearch.search.runtime
Class GeoPointScriptFieldDistanceFeatureQuery
java.lang.Object
org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<AbstractLongFieldScript>
org.elasticsearch.search.runtime.GeoPointScriptFieldDistanceFeatureQuery
public final class GeoPointScriptFieldDistanceFeatureQuery
extends AbstractScriptFieldQuery<AbstractLongFieldScript>
- 
Field SummaryFields inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQueryMATCH_COST
- 
Constructor SummaryConstructorsConstructorDescriptionGeoPointScriptFieldDistanceFeatureQuery(Script script, Function<org.apache.lucene.index.LeafReaderContext,AbstractLongFieldScript> leafFactory, String fieldName, double originLat, double originLon, double pivotDistance)
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.lucene.search.WeightcreateWeight(org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.search.ScoreMode scoreMode, float boost)booleaninthashCode()protected booleanmatches(AbstractLongFieldScript scriptContext, int docId)voidvisit(org.apache.lucene.search.QueryVisitor visitor)Methods inherited from class org.apache.lucene.search.QueryclassHash, rewrite, sameClassAs, toString
- 
Constructor Details- 
GeoPointScriptFieldDistanceFeatureQuerypublic GeoPointScriptFieldDistanceFeatureQuery(Script script, Function<org.apache.lucene.index.LeafReaderContext,AbstractLongFieldScript> leafFactory, String fieldName, double originLat, double originLon, double pivotDistance)
 
- 
- 
Method Details- 
matches- Specified by:
- matchesin class- AbstractScriptFieldQuery<AbstractLongFieldScript>
 
- 
createWeightpublic org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.search.ScoreMode scoreMode, float boost)- Overrides:
- createWeightin class- AbstractScriptFieldQuery<AbstractLongFieldScript>
 
- 
toString- Specified by:
- toStringin class- org.apache.lucene.search.Query
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- AbstractScriptFieldQuery<AbstractLongFieldScript>
 
- 
equals- Overrides:
- equalsin class- AbstractScriptFieldQuery<AbstractLongFieldScript>
 
- 
visitpublic void visit(org.apache.lucene.search.QueryVisitor visitor)- Overrides:
- visitin class- org.apache.lucene.search.Query
 
 
-