Package org.elasticsearch.search.runtime
Class StringScriptFieldTermsQuery
java.lang.Object
org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<StringFieldScript>
org.elasticsearch.search.runtime.StringScriptFieldTermsQuery
-
Field Summary
Fields inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery
MATCH_COST
-
Constructor Summary
ConstructorDescriptionStringScriptFieldTermsQuery(Script script, StringFieldScript.LeafFactory leafFactory, String fieldName, Set<String> terms)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
protected boolean
Does the value match this query?protected boolean
matches(StringFieldScript 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
-
StringScriptFieldTermsQuery
public StringScriptFieldTermsQuery(Script script, StringFieldScript.LeafFactory leafFactory, String fieldName, Set<String> terms)
-
-
Method Details
-
matches
Does the value match this query? -
visit
public void visit(org.apache.lucene.search.QueryVisitor visitor)- Overrides:
visit
in classorg.apache.lucene.search.Query
-
toString
- Specified by:
toString
in classorg.apache.lucene.search.Query
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractScriptFieldQuery<StringFieldScript>
-
equals
- Overrides:
equals
in classAbstractScriptFieldQuery<StringFieldScript>
-
matches
- Specified by:
matches
in classAbstractScriptFieldQuery<StringFieldScript>
-