Class CustomEntityAlias

java.lang.Object
com.azure.search.documents.indexes.models.CustomEntityAlias

public final class CustomEntityAlias extends Object
A complex object that can be used to specify alternative spellings or synonyms to the root entity name.
  • Constructor Details

    • CustomEntityAlias

      public CustomEntityAlias(String text)
      Creates an instance of CustomEntityAlias class.
      Parameters:
      text - the text value to set.
  • Method Details

    • getText

      public String getText()
      Get the text property: The text of the alias.
      Returns:
      the text value.
    • isCaseSensitive

      public Boolean isCaseSensitive()
      Get the caseSensitive property: Determine if the alias is case sensitive.
      Returns:
      the caseSensitive value.
    • setCaseSensitive

      public CustomEntityAlias setCaseSensitive(Boolean caseSensitive)
      Set the caseSensitive property: Determine if the alias is case sensitive.
      Parameters:
      caseSensitive - the caseSensitive value to set.
      Returns:
      the CustomEntityAlias object itself.
    • isAccentSensitive

      public Boolean isAccentSensitive()
      Get the accentSensitive property: Determine if the alias is accent sensitive.
      Returns:
      the accentSensitive value.
    • setAccentSensitive

      public CustomEntityAlias setAccentSensitive(Boolean accentSensitive)
      Set the accentSensitive property: Determine if the alias is accent sensitive.
      Parameters:
      accentSensitive - the accentSensitive value to set.
      Returns:
      the CustomEntityAlias object itself.
    • getFuzzyEditDistance

      public Integer getFuzzyEditDistance()
      Get the fuzzyEditDistance property: Determine the fuzzy edit distance of the alias.
      Returns:
      the fuzzyEditDistance value.
    • setFuzzyEditDistance

      public CustomEntityAlias setFuzzyEditDistance(Integer fuzzyEditDistance)
      Set the fuzzyEditDistance property: Determine the fuzzy edit distance of the alias.
      Parameters:
      fuzzyEditDistance - the fuzzyEditDistance value to set.
      Returns:
      the CustomEntityAlias object itself.