Class SemanticDebugInfo

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

public final class SemanticDebugInfo extends Object implements com.azure.json.JsonSerializable<SemanticDebugInfo>
The SemanticDebugInfo model.
  • Constructor Details

    • SemanticDebugInfo

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

    • getTitleField

      public QueryResultDocumentSemanticField getTitleField()
      Get the titleField property: The title field that was sent to the semantic enrichment process, as well as how it was used.
      Returns:
      the titleField value.
    • getContentFields

      public List<QueryResultDocumentSemanticField> getContentFields()
      Get the contentFields property: The content fields that were sent to the semantic enrichment process, as well as how they were used.
      Returns:
      the contentFields value.
    • getKeywordFields

      public List<QueryResultDocumentSemanticField> getKeywordFields()
      Get the keywordFields property: The keyword fields that were sent to the semantic enrichment process, as well as how they were used.
      Returns:
      the keywordFields value.
    • getRerankerInput

      public QueryResultDocumentRerankerInput getRerankerInput()
      Get the rerankerInput property: The raw concatenated strings that were sent to the semantic enrichment process.
      Returns:
      the rerankerInput value.
    • toJson

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

      public static SemanticDebugInfo fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SemanticDebugInfo from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SemanticDebugInfo 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 SemanticDebugInfo.