Class QuerySpellerType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<QuerySpellerType>
com.azure.search.documents.models.QuerySpellerType
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class QuerySpellerType extends com.azure.core.util.ExpandableStringEnum<QuerySpellerType>
Improve search recall by spell-correcting individual search query terms.
  • Field Details

    • NONE

      public static final QuerySpellerType NONE
      Speller not enabled.
    • LEXICON

      public static final QuerySpellerType LEXICON
      Speller corrects individual query terms using a static lexicon for the language specified by the queryLanguage parameter.
  • Constructor Details

    • QuerySpellerType

      @Deprecated public QuerySpellerType()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of QuerySpellerType value.
  • Method Details

    • fromString

      public static QuerySpellerType fromString(String name)
      Creates or finds a QuerySpellerType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding QuerySpellerType.
    • values

      public static Collection<QuerySpellerType> values()
      Gets known QuerySpellerType values.
      Returns:
      known QuerySpellerType values.