PatternAnalyzer Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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'
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for