### YamlMime:JavaType
uid: "com.azure.search.models.PhoneticTokenFilter"
fullName: "com.azure.search.models.PhoneticTokenFilter"
name: "PhoneticTokenFilter"
nameWithType: "PhoneticTokenFilter"
summary: "Create tokens for phonetic matches."
inheritances:
- ""
- ""
inheritedClassMethods:
- classRef: ""
methodsRef:
- ""
- ""
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **PhoneticTokenFilter** extends "
constructors:
- uid: "com.azure.search.models.PhoneticTokenFilter.PhoneticTokenFilter()"
fullName: "com.azure.search.models.PhoneticTokenFilter.PhoneticTokenFilter()"
name: "PhoneticTokenFilter()"
nameWithType: "PhoneticTokenFilter.PhoneticTokenFilter()"
syntax: "public PhoneticTokenFilter()"
methods:
- uid: "com.azure.search.models.PhoneticTokenFilter.getEncoder()"
fullName: "com.azure.search.models.PhoneticTokenFilter.getEncoder()"
name: "getEncoder()"
nameWithType: "PhoneticTokenFilter.getEncoder()"
summary: "Get the encoder property: The phonetic encoder to use."
syntax: "public PhoneticEncoder getEncoder()"
desc: "Get the encoder property: The phonetic encoder to use. Default is \"metaphone\". Possible values include: 'metaphone', 'doubleMetaphone', 'soundex', 'refinedSoundex', 'caverphone1', 'caverphone2', 'cologne', 'nysiis', 'koelnerPhonetik', 'haasePhonetik', 'beiderMorse'."
returns:
description: "the encoder value."
type: ""
- uid: "com.azure.search.models.PhoneticTokenFilter.isReplaceOriginalTokens()"
fullName: "com.azure.search.models.PhoneticTokenFilter.isReplaceOriginalTokens()"
name: "isReplaceOriginalTokens()"
nameWithType: "PhoneticTokenFilter.isReplaceOriginalTokens()"
summary: "Get the replaceOriginalTokens property: A value indicating whether encoded tokens should replace original tokens."
syntax: "public Boolean isReplaceOriginalTokens()"
desc: "Get the replaceOriginalTokens property: A value indicating whether encoded tokens should replace original tokens. If false, encoded tokens are added as synonyms. Default is true."
returns:
description: "the replaceOriginalTokens value."
type: "Boolean"
- uid: "com.azure.search.models.PhoneticTokenFilter.setEncoder(com.azure.search.models.PhoneticEncoder)"
fullName: "com.azure.search.models.PhoneticTokenFilter.setEncoder(PhoneticEncoder encoder)"
name: "setEncoder(PhoneticEncoder encoder)"
nameWithType: "PhoneticTokenFilter.setEncoder(PhoneticEncoder encoder)"
summary: "Set the encoder property: The phonetic encoder to use."
parameters:
- description: "the encoder value to set."
name: "encoder"
type: ""
syntax: "public PhoneticTokenFilter setEncoder(PhoneticEncoder encoder)"
desc: "Set the encoder property: The phonetic encoder to use. Default is \"metaphone\". Possible values include: 'metaphone', 'doubleMetaphone', 'soundex', 'refinedSoundex', 'caverphone1', 'caverphone2', 'cologne', 'nysiis', 'koelnerPhonetik', 'haasePhonetik', 'beiderMorse'."
returns:
description: "the PhoneticTokenFilter object itself."
type: ""
- uid: "com.azure.search.models.PhoneticTokenFilter.setReplaceOriginalTokens(java.lang.Boolean)"
fullName: "com.azure.search.models.PhoneticTokenFilter.setReplaceOriginalTokens(Boolean replaceOriginalTokens)"
name: "setReplaceOriginalTokens(Boolean replaceOriginalTokens)"
nameWithType: "PhoneticTokenFilter.setReplaceOriginalTokens(Boolean replaceOriginalTokens)"
summary: "Set the replaceOriginalTokens property: A value indicating whether encoded tokens should replace original tokens."
parameters:
- description: "the replaceOriginalTokens value to set."
name: "replaceOriginalTokens"
type: "Boolean"
syntax: "public PhoneticTokenFilter setReplaceOriginalTokens(Boolean replaceOriginalTokens)"
desc: "Set the replaceOriginalTokens property: A value indicating whether encoded tokens should replace original tokens. If false, encoded tokens are added as synonyms. Default is true."
returns:
description: "the PhoneticTokenFilter object itself."
type: ""
type: "class"
desc: "Create tokens for phonetic matches. This token filter is implemented using Apache Lucene."
metadata: {}
package: "com.azure.search.models"
artifact: com.azure:azure-search:11.0.0-beta.1