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 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.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding SemanticQueryRewritesResultType.
    • values

      Gets known SemanticQueryRewritesResultType values.
      Returns:
      known SemanticQueryRewritesResultType values.