PatternAnalyzer Constructors

Definition

Overloads

PatternAnalyzer()

Initializes a new instance of the PatternAnalyzer class.

PatternAnalyzer(String, Nullable<Boolean>, String, Nullable<RegexFlags>, IList<String>)

Initializes a new instance of the PatternAnalyzer class.

PatternAnalyzer()

Source:
PatternAnalyzer.cs

Initializes a new instance of the PatternAnalyzer class.

public PatternAnalyzer ();
Public Sub New ()

Applies to

PatternAnalyzer(String, Nullable<Boolean>, String, Nullable<RegexFlags>, IList<String>)

Source:
PatternAnalyzer.cs

Initializes a new instance of the PatternAnalyzer class.

public PatternAnalyzer (string name, bool? lowerCaseTerms = default, string pattern = default, Microsoft.Azure.Search.Models.RegexFlags? flags = default, System.Collections.Generic.IList<string> stopwords = default);
new Microsoft.Azure.Search.Models.PatternAnalyzer : string * Nullable<bool> * string * Nullable<Microsoft.Azure.Search.Models.RegexFlags> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Search.Models.PatternAnalyzer
Public Sub New (name As String, Optional lowerCaseTerms As Nullable(Of Boolean) = Nothing, Optional pattern As String = Nothing, Optional flags As Nullable(Of RegexFlags) = Nothing, Optional stopwords As IList(Of String) = Nothing)

Parameters

name
String

The name of the analyzer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters.

lowerCaseTerms
Nullable<Boolean>

A value indicating whether terms should be lower-cased. Default is true.

pattern
String

A regular expression pattern to match token separators. Default is an expression that matches one or more whitespace characters.

flags
Nullable<RegexFlags>

Regular expression flags. Possible values include: 'CANON_EQ', 'CASE_INSENSITIVE', 'COMMENTS', 'DOTALL', 'LITERAL', 'MULTILINE', 'UNICODE_CASE', 'UNIX_LINES'

stopwords
IList<String>

A list of stopwords.

Applies to