Class QueryResultDocumentRerankerInput

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

public final class QueryResultDocumentRerankerInput extends Object implements com.azure.json.JsonSerializable<QueryResultDocumentRerankerInput>
The raw concatenated strings that were sent to the semantic enrichment process.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of QueryResultDocumentRerankerInput class.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of QueryResultDocumentRerankerInput from the JsonReader.
    Get the content property: The raw concatenated strings for the content fields that were used for semantic enrichment.
    Get the keywords property: The raw concatenated strings for the keyword fields that were used for semantic enrichment.
    Get the title property: The raw string for the title field that was used for semantic enrichment.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Constructor Details

    • QueryResultDocumentRerankerInput

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

    • getTitle

      public String getTitle()
      Get the title property: The raw string for the title field that was used for semantic enrichment.
      Returns:
      the title value.
    • getContent

      public String getContent()
      Get the content property: The raw concatenated strings for the content fields that were used for semantic enrichment.
      Returns:
      the content value.
    • getKeywords

      public String getKeywords()
      Get the keywords property: The raw concatenated strings for the keyword fields that were used for semantic enrichment.
      Returns:
      the keywords value.
    • toJson

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

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