PhoneticTokenFilter 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
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'
A value indicating whether encoded tokens should replace original tokens. If false, encoded tokens are added as synonyms. Default is true.
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