Class RegexOptions.Builder
java.lang.Object
org.opensearch.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 seeRegexpFlag
RegexOptions.Builder
setMaxDeterminizedStates(int maxDeterminizedStates)
Sets the maximum automaton states allowed for the regular expression expansion
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setFlags
Sets the regular expression syntax flags seeRegexpFlag
-
setMaxDeterminizedStates
Sets the maximum automaton states allowed for the regular expression expansion -
build
-