Class PatternAnalyzer
Flexibly separates text into terms via a regular expression pattern. This analyzer is implemented using Apache Lucene.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public class PatternAnalyzer : Azure.Search.Documents.Indexes.Models.LexicalAnalyzer
Constructors
PatternAnalyzer(String)
Initializes a new instance of PatternAnalyzer.
Declaration
public PatternAnalyzer (string name);
Parameters
System.String
name
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. |
Exceptions
System.ArgumentNullException
|
Properties
Flags
Gets regular expression flags for Pattern.
Declaration
public System.Collections.Generic.IList<Azure.Search.Documents.Indexes.Models.RegexFlag> Flags { get; }
Property Value
System.Collections.Generic.IList<RegexFlag>
|
LowerCaseTerms
A value indicating whether terms should be lower-cased. Default is true.
Declaration
public Nullable<bool> LowerCaseTerms { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Pattern
A regular expression pattern to match token separators. Default is an expression that matches one or more non-word characters.
Declaration
public string Pattern { get; set; }
Property Value
System.String
|
Stopwords
Gets a list of stopwords.
Declaration
public System.Collections.Generic.IList<string> Stopwords { get; }
Property Value
System.Collections.Generic.IList<System.String>
|