Package org.elasticsearch.search.runtime
Class AbstractStringScriptFieldAutomatonQuery
java.lang.Object
org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<StringFieldScript>
org.elasticsearch.search.runtime.AbstractStringScriptFieldAutomatonQuery
- Direct Known Subclasses:
StringScriptFieldFuzzyQuery
,StringScriptFieldRegexpQuery
,StringScriptFieldWildcardQuery
public abstract class AbstractStringScriptFieldAutomatonQuery
extends AbstractScriptFieldQuery<StringFieldScript>
-
Field Summary
Fields inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery
MATCH_COST
-
Constructor Summary
ConstructorDescriptionAbstractStringScriptFieldAutomatonQuery
(Script script, StringFieldScript.LeafFactory leafFactory, String fieldName, org.apache.lucene.util.automaton.ByteRunAutomaton automaton) -
Method Summary
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, toString
-
Constructor Details
-
AbstractStringScriptFieldAutomatonQuery
public AbstractStringScriptFieldAutomatonQuery(Script script, StringFieldScript.LeafFactory leafFactory, String fieldName, org.apache.lucene.util.automaton.ByteRunAutomaton automaton)
-
-
Method Details
-
matches
Does the value match this query? -
visit
public final void visit(org.apache.lucene.search.QueryVisitor visitor) - Overrides:
visit
in classAbstractScriptFieldQuery<StringFieldScript>
-
matches
- Specified by:
matches
in classAbstractScriptFieldQuery<StringFieldScript>
-