Class PhoneticTokenFilter
Create tokens for phonetic matches. This token filter is implemented using Apache Lucene.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public class PhoneticTokenFilter : Azure.Search.Documents.Indexes.Models.TokenFilter
Constructors
PhoneticTokenFilter(String)
Initializes a new instance of PhoneticTokenFilter.
Declaration
public PhoneticTokenFilter (string name);
Parameters
System.String
name
The name of the token filter. 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
Encoder
The phonetic encoder to use. Default is "metaphone".
Declaration
public Nullable<Azure.Search.Documents.Indexes.Models.PhoneticEncoder> Encoder { get; set; }
Property Value
System.Nullable<PhoneticEncoder>
|
ReplaceOriginalTokens
A value indicating whether encoded tokens should replace original tokens. If false, encoded tokens are added as synonyms. Default is true.
Declaration
public Nullable<bool> ReplaceOriginalTokens { get; set; }
Property Value
System.Nullable<System.Boolean>
|