Class CustomEntityAlias
java.lang.Object
com.azure.search.documents.indexes.models.CustomEntityAlias
A complex object that can be used to specify alternative spellings or synonyms to the root entity name.
-
Constructor Summary
ConstructorsConstructorDescriptionCustomEntityAlias
(String text) Creates an instance of CustomEntityAlias class. -
Method Summary
Modifier and TypeMethodDescriptionGet the fuzzyEditDistance property: Determine the fuzzy edit distance of the alias.getText()
Get the text property: The text of the alias.Get the accentSensitive property: Determine if the alias is accent sensitive.Get the caseSensitive property: Determine if the alias is case sensitive.setAccentSensitive
(Boolean accentSensitive) Set the accentSensitive property: Determine if the alias is accent sensitive.setCaseSensitive
(Boolean caseSensitive) Set the caseSensitive property: Determine if the alias is case sensitive.setFuzzyEditDistance
(Integer fuzzyEditDistance) Set the fuzzyEditDistance property: Determine the fuzzy edit distance of the alias.
-
Constructor Details
-
CustomEntityAlias
Creates an instance of CustomEntityAlias class.- Parameters:
text
- the text value to set.
-
-
Method Details
-
getText
Get the text property: The text of the alias.- Returns:
- the text value.
-
isCaseSensitive
Get the caseSensitive property: Determine if the alias is case sensitive.- Returns:
- the caseSensitive value.
-
setCaseSensitive
Set the caseSensitive property: Determine if the alias is case sensitive.- Parameters:
caseSensitive
- the caseSensitive value to set.- Returns:
- the CustomEntityAlias object itself.
-
isAccentSensitive
Get the accentSensitive property: Determine if the alias is accent sensitive.- Returns:
- the accentSensitive value.
-
setAccentSensitive
Set the accentSensitive property: Determine if the alias is accent sensitive.- Parameters:
accentSensitive
- the accentSensitive value to set.- Returns:
- the CustomEntityAlias object itself.
-
getFuzzyEditDistance
Get the fuzzyEditDistance property: Determine the fuzzy edit distance of the alias.- Returns:
- the fuzzyEditDistance value.
-
setFuzzyEditDistance
Set the fuzzyEditDistance property: Determine the fuzzy edit distance of the alias.- Parameters:
fuzzyEditDistance
- the fuzzyEditDistance value to set.- Returns:
- the CustomEntityAlias object itself.
-