Class RegexOptions.Builder

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

public static class RegexOptions.Builder
extends java.lang.Object
Options for regular expression queries
  • Constructor Summary

    Constructors
    Constructor Description
    Builder()  
  • Method Summary

    Modifier and Type Method Description
    RegexOptions build()  
    RegexOptions.Builder setFlags​(java.lang.String flags)
    Sets the regular expression syntax flags see RegexpFlag
    RegexOptions.Builder setMaxDeterminizedStates​(int maxDeterminizedStates)
    Sets the maximum automaton states allowed for the regular expression expansion

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setFlags

      public RegexOptions.Builder setFlags​(java.lang.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()