Class SemanticQueryRewritesResultType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SemanticQueryRewritesResultType>
com.azure.search.documents.models.SemanticQueryRewritesResultType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class SemanticQueryRewritesResultType
extends com.azure.core.util.ExpandableStringEnum<SemanticQueryRewritesResultType>
Type of query rewrite that was used for this request.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SemanticQueryRewritesResultTypeQuery rewrites were not successfully generated for this request. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String name) Creates or finds a SemanticQueryRewritesResultType from its string representation.values()Gets known SemanticQueryRewritesResultType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
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.Use thefromString(String)factory method.Creates a new instance of SemanticQueryRewritesResultType value.
-
-
Method Details
-
fromString
Creates or finds a SemanticQueryRewritesResultType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SemanticQueryRewritesResultType.
-
values
Gets known SemanticQueryRewritesResultType values.- Returns:
- known SemanticQueryRewritesResultType values.
-
fromString(String)factory method.