Class RegexOptions.Builder

java.lang.Object
org.elasticsearch.search.suggest.completion.RegexOptions.Builder
Enclosing class:
RegexOptions

public static class RegexOptions.Builder extends Object
Options for regular expression queries
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setFlags

      public RegexOptions.Builder setFlags(String flags)
      Sets the regular expression syntax flags see RegexpFlag
    • setMaxDeterminizedStates

      public RegexOptions.Builder setMaxDeterminizedStates(int maxDeterminizedStates)
      Sets the maximum automaton states allowed for the regular expression expansion
    • build

      public RegexOptions build()