Package org.elasticsearch.search.runtime
Class LongScriptFieldTermsQuery
java.lang.Object
org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<AbstractLongFieldScript>
org.elasticsearch.search.runtime.LongScriptFieldTermsQuery
-
Field Summary
Fields inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery
MATCH_COST
-
Constructor Summary
ConstructorDescriptionLongScriptFieldTermsQuery(Script script, Function<org.apache.lucene.index.LeafReaderContext,AbstractLongFieldScript> leafFactory, String fieldName, com.carrotsearch.hppc.LongSet terms)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
protected boolean
matches(long[] values, int count)
Does the value match this query?protected boolean
matches(AbstractLongFieldScript scriptContext, int docId)
void
visit(org.apache.lucene.search.QueryVisitor visitor)
Methods inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery
createWeight
Methods inherited from class org.apache.lucene.search.Query
classHash, rewrite, sameClassAs, toString
-
Constructor Details
-
LongScriptFieldTermsQuery
public LongScriptFieldTermsQuery(Script script, Function<org.apache.lucene.index.LeafReaderContext,AbstractLongFieldScript> leafFactory, String fieldName, com.carrotsearch.hppc.LongSet terms)
-
-
Method Details
-
matches
protected boolean matches(long[] values, int count)Does the value match this query? -
toString
- Specified by:
toString
in classorg.apache.lucene.search.Query
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractScriptFieldQuery<AbstractLongFieldScript>
-
equals
- Overrides:
equals
in classAbstractScriptFieldQuery<AbstractLongFieldScript>
-
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
-