Package org.elasticsearch.search.runtime
Class StringScriptFieldRangeQuery
java.lang.Object
org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<StringFieldScript>
org.elasticsearch.search.runtime.StringScriptFieldRangeQuery
-
Field Summary
Fields inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery
MATCH_COST
-
Constructor Summary
ConstructorDescriptionStringScriptFieldRangeQuery(Script script, StringFieldScript.LeafFactory leafFactory, String fieldName, String lowerValue, String upperValue, boolean includeLower, boolean includeUpper)
-
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
-
StringScriptFieldRangeQuery
public StringScriptFieldRangeQuery(Script script, StringFieldScript.LeafFactory leafFactory, String fieldName, String lowerValue, String upperValue, boolean includeLower, boolean includeUpper)
-
-
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>
-