QueryRewritesValuesDebugInfo Class

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

Implements

public final class QueryRewritesValuesDebugInfo
implements JsonSerializable<QueryRewritesValuesDebugInfo>

Contains debugging information specific to query rewrites.

Constructor Summary

Constructor Description
QueryRewritesValuesDebugInfo()

Creates an instance of QueryRewritesValuesDebugInfo class.

Method Summary

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

Reads an instance of QueryRewritesValuesDebugInfo from the JsonReader.

String getInputQuery()

Get the inputQuery property: The input text to the generative query rewriting model.

List<String> getRewrites()

Get the rewrites property: List of query rewrites.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

QueryRewritesValuesDebugInfo

public QueryRewritesValuesDebugInfo()

Creates an instance of QueryRewritesValuesDebugInfo class.

Method Details

fromJson

public static QueryRewritesValuesDebugInfo fromJson(JsonReader jsonReader)

Reads an instance of QueryRewritesValuesDebugInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getInputQuery

public String getInputQuery()

Get the inputQuery property: The input text to the generative query rewriting model. There may be cases where the user query and the input to the generative model are not identical.

Returns:

the inputQuery value.

getRewrites

public List<String> getRewrites()

Get the rewrites property: List of query rewrites.

Returns:

the rewrites value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to