DebugInfo Class

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

Implements

public final class DebugInfo
implements JsonSerializable<DebugInfo>

Contains debugging information that can be used to further explore your search results.

Constructor Summary

Constructor Description
DebugInfo()

Creates an instance of DebugInfo class.

Method Summary

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

Reads an instance of DebugInfo from the JsonReader.

QueryRewritesDebugInfo getQueryRewrites()

Get the queryRewrites property: Contains debugging information specific to query rewrites.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

DebugInfo

public DebugInfo()

Creates an instance of DebugInfo class.

Method Details

fromJson

public static DebugInfo fromJson(JsonReader jsonReader)

Reads an instance of DebugInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getQueryRewrites

public QueryRewritesDebugInfo getQueryRewrites()

Get the queryRewrites property: Contains debugging information specific to query rewrites.

Returns:

the queryRewrites value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to