PhoneticTokenFilter Constructors

Definition

Overloads

PhoneticTokenFilter()

Initializes a new instance of the PhoneticTokenFilter class.

PhoneticTokenFilter(String, Nullable<PhoneticEncoder>, Nullable<Boolean>)

Initializes a new instance of the PhoneticTokenFilter class.

PhoneticTokenFilter()

Source:
PhoneticTokenFilter.cs

Initializes a new instance of the PhoneticTokenFilter class.

public PhoneticTokenFilter ();
Public Sub New ()

Applies to

PhoneticTokenFilter(String, Nullable<PhoneticEncoder>, Nullable<Boolean>)

Source:
PhoneticTokenFilter.cs

Initializes a new instance of the PhoneticTokenFilter class.

public PhoneticTokenFilter (string name, Microsoft.Azure.Search.Models.PhoneticEncoder? encoder = default, bool? replaceOriginalTokens = default);
new Microsoft.Azure.Search.Models.PhoneticTokenFilter : string * Nullable<Microsoft.Azure.Search.Models.PhoneticEncoder> * Nullable<bool> -> Microsoft.Azure.Search.Models.PhoneticTokenFilter
Public Sub New (name As String, Optional encoder As Nullable(Of PhoneticEncoder) = Nothing, Optional replaceOriginalTokens As Nullable(Of Boolean) = Nothing)

Parameters

name
String

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.

encoder
Nullable<PhoneticEncoder>

The phonetic encoder to use. Default is "metaphone". Possible values include: 'metaphone', 'doubleMetaphone', 'soundex', 'refinedSoundex', 'caverphone1', 'caverphone2', 'cologne', 'nysiis', 'koelnerPhonetik', 'haasePhonetik', 'beiderMorse'

replaceOriginalTokens
Nullable<Boolean>

A value indicating whether encoded tokens should replace original tokens. If false, encoded tokens are added as synonyms. Default is true.

Applies to