QueryResultDocumentRerankerInput Class

  • java.lang.Object
    • com.azure.search.documents.models.QueryResultDocumentRerankerInput

Implements

public final class QueryResultDocumentRerankerInput
implements JsonSerializable<QueryResultDocumentRerankerInput>

The raw concatenated strings that were sent to the semantic enrichment process.

Constructor Summary

Constructor Description
QueryResultDocumentRerankerInput()

Creates an instance of QueryResultDocumentRerankerInput class.

Method Summary

Modifier and Type Method and Description
static QueryResultDocumentRerankerInput fromJson(JsonReader jsonReader)

Reads an instance of QueryResultDocumentRerankerInput from the JsonReader.

String getContent()

Get the content property: The raw concatenated strings for the content fields that were used for semantic enrichment.

String getKeywords()

Get the keywords property: The raw concatenated strings for the keyword fields that were used for semantic enrichment.

String getTitle()

Get the title property: The raw string for the title field that was used for semantic enrichment.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

QueryResultDocumentRerankerInput

public QueryResultDocumentRerankerInput()

Creates an instance of QueryResultDocumentRerankerInput class.

Method Details

fromJson

public static QueryResultDocumentRerankerInput fromJson(JsonReader jsonReader)

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.

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.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to