CustomEntityAlias Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. CustomEntityAlias
- com.
Implements
public final class CustomEntityAlias
implements JsonSerializable<CustomEntityAlias>
A complex object that can be used to specify alternative spellings or synonyms to the root entity name.
Constructor | Description |
---|---|
Custom |
Creates an instance of Custom |
Modifier and Type | Method and Description |
---|---|
static
Custom |
from Reads an instance of Custom |
Integer |
get Get the fuzzy |
String |
get Get the text property: The text of the alias. |
Boolean |
is Get the accent |
Boolean |
is Get the case |
Custom |
set Set the accent |
Custom |
set Set the case |
Custom |
set Set the fuzzy |
Json |
to |
Methods inherited from java.lang.Object
CustomEntityAlias
public CustomEntityAlias(String text)
Creates an instance of CustomEntityAlias class.
Parameters:
fromJson
public static CustomEntityAlias fromJson(JsonReader jsonReader)
Reads an instance of CustomEntityAlias from the JsonReader.
Parameters:
Returns:
Throws:
getFuzzyEditDistance
public Integer getFuzzyEditDistance()
Get the fuzzyEditDistance property: Determine the fuzzy edit distance of the alias.
Returns:
getText
public String getText()
Get the text property: The text of the alias.
Returns:
isAccentSensitive
public Boolean isAccentSensitive()
Get the accentSensitive property: Determine if the alias is accent sensitive.
Returns:
isCaseSensitive
public Boolean isCaseSensitive()
Get the caseSensitive property: Determine if the alias is case sensitive.
Returns:
setAccentSensitive
public CustomEntityAlias setAccentSensitive(Boolean accentSensitive)
Set the accentSensitive property: Determine if the alias is accent sensitive.
Parameters:
Returns:
setCaseSensitive
public CustomEntityAlias setCaseSensitive(Boolean caseSensitive)
Set the caseSensitive property: Determine if the alias is case sensitive.
Parameters:
Returns:
setFuzzyEditDistance
public CustomEntityAlias setFuzzyEditDistance(Integer fuzzyEditDistance)
Set the fuzzyEditDistance property: Determine the fuzzy edit distance of the alias.
Parameters:
Returns:
toJson
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: