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>
  • Constructor Details

    • AbstractStringScriptFieldAutomatonQuery

      public AbstractStringScriptFieldAutomatonQuery(Script script, StringFieldScript.LeafFactory leafFactory, String fieldName, org.apache.lucene.util.automaton.ByteRunAutomaton automaton)
  • Method Details

    • matches

      protected final boolean matches(List<String> values)
      Does the value match this query?
    • visit

      public final void visit(org.apache.lucene.search.QueryVisitor visitor)
      Overrides:
      visit in class org.apache.lucene.search.Query
    • matches

      protected final boolean matches(StringFieldScript scriptContext, int docId)
      Specified by:
      matches in class AbstractScriptFieldQuery<StringFieldScript>