Class QueryRewritesDebugInfo

java.lang.Object
com.azure.search.documents.models.QueryRewritesDebugInfo
All Implemented Interfaces:
com.azure.json.JsonSerializable<QueryRewritesDebugInfo>

public final class QueryRewritesDebugInfo extends Object implements com.azure.json.JsonSerializable<QueryRewritesDebugInfo>
Contains debugging information specific to query rewrites.
  • Constructor Details

    • QueryRewritesDebugInfo

      public QueryRewritesDebugInfo()
      Creates an instance of QueryRewritesDebugInfo class.
  • Method Details

    • getText

      public QueryRewritesValuesDebugInfo getText()
      Get the text property: List of query rewrites generated for the text query.
      Returns:
      the text value.
    • getVectors

      public List<QueryRewritesValuesDebugInfo> getVectors()
      Get the vectors property: List of query rewrites generated for the vectorizable text queries.
      Returns:
      the vectors value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<QueryRewritesDebugInfo>
      Throws:
      IOException
    • fromJson

      public static QueryRewritesDebugInfo fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of QueryRewritesDebugInfo from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of QueryRewritesDebugInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the QueryRewritesDebugInfo.