PatternAnalyzer Class
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.
Flexibly separates text into terms via a regular expression pattern. This analyzer is implemented using Apache Lucene. http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/PatternAnalyzer.html
[Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.PatternAnalyzer")]
public class PatternAnalyzer : Microsoft.Azure.Search.Models.Analyzer
[<Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.PatternAnalyzer")>]
type PatternAnalyzer = class
inherit Analyzer
Public Class PatternAnalyzer
Inherits Analyzer
- Inheritance
- Attributes
-
Newtonsoft.Json.JsonObjectAttribute
Constructors
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. |
Properties
Flags |
Gets or sets regular expression flags. Possible values include: 'CANON_EQ', 'CASE_INSENSITIVE', 'COMMENTS', 'DOTALL', 'LITERAL', 'MULTILINE', 'UNICODE_CASE', 'UNIX_LINES' |
LowerCaseTerms |
Gets or sets a value indicating whether terms should be lower-cased. Default is true. |
Name |
Gets or sets 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. (Inherited from Analyzer) |
Pattern |
Gets or sets a regular expression pattern to match token separators. Default is an expression that matches one or more whitespace characters. |
Stopwords |
Gets or sets a list of stopwords. |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET