QuerySpellerType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. models. QuerySpellerType
- com.
- com.
public final class QuerySpellerType
extends ExpandableStringEnum<QuerySpellerType>
Improve search recall by spell-correcting individual search query terms.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Query |
LEXICON
Speller corrects individual query terms using a static lexicon for the language specified by the query |
|
static final
Query |
NONE
Speller not enabled. |
Constructor Summary
| Constructor | Description |
|---|---|
| QuerySpellerType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Query |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Query |
fromString(String name)
Creates or finds a Query |
|
static
Collection<Query |
values()
Gets known Query |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
LEXICON
public static final QuerySpellerType LEXICON
Speller corrects individual query terms using a static lexicon for the language specified by the queryLanguage parameter.
NONE
public static final QuerySpellerType NONE
Speller not enabled.
Constructor Details
QuerySpellerType
@Deprecated
public QuerySpellerType()
Deprecated
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:
Returns:
values
public static Collection<QuerySpellerType> values()
Gets known QuerySpellerType values.
Returns: