Package org.elasticsearch.search.runtime
Class DoubleScriptFieldExistsQuery
java.lang.Object
org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<DoubleFieldScript>
org.elasticsearch.search.runtime.DoubleScriptFieldExistsQuery
-
Field Summary
Fields inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery
MATCH_COST
-
Constructor Summary
ConstructorDescriptionDoubleScriptFieldExistsQuery(Script script, DoubleFieldScript.LeafFactory leafFactory, String fieldName)
-
Method Summary
Methods inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery
createWeight, equals, hashCode
Methods inherited from class org.apache.lucene.search.Query
classHash, rewrite, sameClassAs, toString
-
Constructor Details
-
DoubleScriptFieldExistsQuery
public DoubleScriptFieldExistsQuery(Script script, DoubleFieldScript.LeafFactory leafFactory, String fieldName)
-
-
Method Details
-
matches
protected boolean matches(double[] values, int count)Does the value match this query? -
toString
- Specified by:
toString
in classorg.apache.lucene.search.Query
-
matches
- Specified by:
matches
in classAbstractScriptFieldQuery<DoubleFieldScript>
-
visit
public final void visit(org.apache.lucene.search.QueryVisitor visitor)- Overrides:
visit
in classorg.apache.lucene.search.Query
-