Package org.elasticsearch.search.runtime
Class StringScriptFieldExistsQuery
org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<StringFieldScript>
org.elasticsearch.search.runtime.StringScriptFieldExistsQuery
-
Field Summary
Fields inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery
MATCH_COST
-
Constructor Summary
ConstructorDescriptionStringScriptFieldExistsQuery(Script script, StringFieldScript.LeafFactory leafFactory, fieldName)
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
<> values)
Does the value match this query?protected boolean
matches(StringFieldScript scriptContext, int docId)
field)
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, visit
Methods inherited from class java.lang.
, , , , , , ,
-
Constructor Details
-
StringScriptFieldExistsQuery
public StringScriptFieldExistsQuery(Script script, StringFieldScript.LeafFactory leafFactory, fieldName)
-
-
Method Details
-
matches
protected boolean matches(<> values)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<StringFieldScript>
-