SemanticDebugInfo Class

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

Implements

public final class SemanticDebugInfo
implements JsonSerializable<SemanticDebugInfo>

The SemanticDebugInfo model.

Constructor Summary

Constructor Description
SemanticDebugInfo()

Creates an instance of SemanticDebugInfo class.

Method Summary

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

Reads an instance of SemanticDebugInfo from the JsonReader.

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.

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.

QueryResultDocumentRerankerInput getRerankerInput()

Get the rerankerInput property: The raw concatenated strings that were sent to the semantic enrichment process.

QueryResultDocumentSemanticField getTitleField()

Get the titleField property: The title field that was sent to the semantic enrichment process, as well as how it was used.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

SemanticDebugInfo

public SemanticDebugInfo()

Creates an instance of SemanticDebugInfo class.

Method Details

fromJson

public static SemanticDebugInfo fromJson(JsonReader jsonReader)

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.

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.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to