SemanticQueryRewritesResultType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. models. SemanticQueryRewritesResultType
- com.
- com.
public final class SemanticQueryRewritesResultType
extends ExpandableStringEnum<SemanticQueryRewritesResultType>
Type of query rewrite that was used for this request.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Semantic |
ORIGINAL_QUERY_ONLY
Query rewrites were not successfully generated for this request. |
Constructor Summary
| Constructor | Description |
|---|---|
| SemanticQueryRewritesResultType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Semantic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Semantic |
fromString(String name)
Creates or finds a Semantic |
|
static
Collection<Semantic |
values()
Gets known Semantic |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ORIGINAL_QUERY_ONLY
public static final SemanticQueryRewritesResultType ORIGINAL_QUERY_ONLY
Query rewrites were not successfully generated for this request. Only the original query was used to retrieve the results.
Constructor Details
SemanticQueryRewritesResultType
@Deprecated
public SemanticQueryRewritesResultType()
Deprecated
Creates a new instance of SemanticQueryRewritesResultType value.
Method Details
fromString
public static SemanticQueryRewritesResultType fromString(String name)
Creates or finds a SemanticQueryRewritesResultType from its string representation.
Parameters:
Returns:
values
public static Collection<SemanticQueryRewritesResultType> values()
Gets known SemanticQueryRewritesResultType values.
Returns: