Bagikan melalui


PhoneticTokenFilter Class

Definition

Create tokens for phonetic matches. This token filter is implemented using Apache Lucene.

public class PhoneticTokenFilter : Azure.Search.Documents.Indexes.Models.TokenFilter
type PhoneticTokenFilter = class
    inherit TokenFilter
Public Class PhoneticTokenFilter
Inherits TokenFilter
Inheritance
PhoneticTokenFilter

Constructors

PhoneticTokenFilter(String)

Initializes a new instance of PhoneticTokenFilter.

Properties

Encoder

The phonetic encoder to use. Default is "metaphone".

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.

(Inherited from TokenFilter)
ReplaceOriginalTokens

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

Applies to