你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

PhoneticEncoder Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.search.documents.indexes.models.PhoneticEncoder

public enum PhoneticEncoder
extends Enum<PhoneticEncoder>

Identifies the type of phonetic encoder to use with a PhoneticTokenFilter.

Fields

BEIDER_MORSE

Encodes a token into a Beider-Morse value.

CAVERPHONE1

Encodes a token into a Caverphone 1.0 value.

CAVERPHONE2

Encodes a token into a Caverphone 2.0 value.

COLOGNE

Encodes a token into a Cologne Phonetic value.

DOUBLE_METAPHONE

Encodes a token into a double metaphone value.

HAASE_PHONETIK

Encodes a token using the Haase refinement of the Kölner Phonetik algorithm.

KOELNER_PHONETIK

Encodes a token using the Kölner Phonetik algorithm.

METAPHONE

Encodes a token into a Metaphone value.

NYSIIS

Encodes a token into a NYSIIS value.

REFINED_SOUNDEX

Encodes a token into a Refined Soundex value.

SOUNDEX

Encodes a token into a Soundex value.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static PhoneticEncoder fromString(String value)

Parses a serialized value to a PhoneticEncoder instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed PhoneticEncoder object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static PhoneticEncoder valueOf(String name)

Parameters

name
String

Returns

values()

public static PhoneticEncoder[] values()

Returns

Applies to