QueryRewritesDebugInfo Class

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

Implements

public final class QueryRewritesDebugInfo
implements JsonSerializable<QueryRewritesDebugInfo>

Contains debugging information specific to query rewrites.

Constructor Summary

Constructor Description
QueryRewritesDebugInfo()

Creates an instance of QueryRewritesDebugInfo class.

Method Summary

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

Reads an instance of QueryRewritesDebugInfo from the JsonReader.

QueryRewritesValuesDebugInfo getText()

Get the text property: List of query rewrites generated for the text query.

List<QueryRewritesValuesDebugInfo> getVectors()

Get the vectors property: List of query rewrites generated for the vectorizable text queries.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

QueryRewritesDebugInfo

public QueryRewritesDebugInfo()

Creates an instance of QueryRewritesDebugInfo class.

Method Details

fromJson

public static QueryRewritesDebugInfo fromJson(JsonReader jsonReader)

Reads an instance of QueryRewritesDebugInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of QueryRewritesDebugInfo 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 QueryRewritesDebugInfo.

getText

public QueryRewritesValuesDebugInfo getText()

Get the text property: List of query rewrites generated for the text query.

Returns:

the text value.

getVectors

public List<QueryRewritesValuesDebugInfo> getVectors()

Get the vectors property: List of query rewrites generated for the vectorizable text queries.

Returns:

the vectors value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to