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 Summary
FieldsModifier and TypeFieldDescriptionstatic final QuerySpellerTypeSpeller corrects individual query terms using a static lexicon for the language specified by the queryLanguage parameter.static final QuerySpellerTypeSpeller not enabled. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic QuerySpellerTypefromString(String name) Creates or finds a QuerySpellerType from its string representation.static Collection<QuerySpellerType> values()Gets known QuerySpellerType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NONE
Speller not enabled. -
LEXICON
Speller corrects individual query terms using a static lexicon for the language specified by the queryLanguage parameter.
-
-
Constructor Details
-
QuerySpellerType
Deprecated.Use thefromString(String)factory method.Creates a new instance of QuerySpellerType value.
-
-
Method Details
-
fromString
Creates or finds a QuerySpellerType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding QuerySpellerType.
-
values
Gets known QuerySpellerType values.- Returns:
- known QuerySpellerType values.
-
fromString(String)factory method.