Package org.elasticsearch.search.runtime
Class LongScriptFieldExistsQuery
org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<AbstractLongFieldScript>
org.elasticsearch.search.runtime.LongScriptFieldExistsQuery
-
Field Summary
Fields inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery
MATCH_COST
-
Constructor Summary
ConstructorDescriptionLongScriptFieldExistsQuery(Script script, <org.apache.lucene.index.LeafReaderContext,AbstractLongFieldScript> leafFactory, fieldName)
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
matches(long[] values, int count)
Does the value match this query?protected boolean
matches(AbstractLongFieldScript scriptContext, int docId)
field)
void
visit(org.apache.lucene.search.QueryVisitor visitor)
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
Methods inherited from class java.lang.
, , , , , , ,
-
Constructor Details
-
LongScriptFieldExistsQuery
public LongScriptFieldExistsQuery(Script script, <org.apache.lucene.index.LeafReaderContext,AbstractLongFieldScript> leafFactory, fieldName)
-
-
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
-
matches
- Specified by:
matches
in classAbstractScriptFieldQuery<AbstractLongFieldScript>
-
visit
public final void visit(org.apache.lucene.search.QueryVisitor visitor)- Overrides:
visit
in classorg.apache.lucene.search.Query
-