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
ConstructorsConstructorDescriptionCreates an instance of QueryResultDocumentRerankerInput class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(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.getTitle()Get the title property: The raw string for the title field that was used for semantic enrichment.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
Get the title property: The raw string for the title field that was used for semantic enrichment.- Returns:
- the title value.
-
getContent
Get the content property: The raw concatenated strings for the content fields that were used for semantic enrichment.- Returns:
- the content value.
-
getKeywords
Get the keywords property: The raw concatenated strings for the keyword fields that were used for semantic enrichment.- Returns:
- the keywords value.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-