다음을 통해 공유


SearchModelFactory.QueryRewritesDebugInfo Method

Definition

Initializes a new instance of QueryRewritesDebugInfo.

public static Azure.Search.Documents.Models.QueryRewritesDebugInfo QueryRewritesDebugInfo (Azure.Search.Documents.Models.QueryRewritesValuesDebugInfo text = default, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Models.QueryRewritesValuesDebugInfo> vectors = default);
static member QueryRewritesDebugInfo : Azure.Search.Documents.Models.QueryRewritesValuesDebugInfo * seq<Azure.Search.Documents.Models.QueryRewritesValuesDebugInfo> -> Azure.Search.Documents.Models.QueryRewritesDebugInfo
Public Shared Function QueryRewritesDebugInfo (Optional text As QueryRewritesValuesDebugInfo = Nothing, Optional vectors As IEnumerable(Of QueryRewritesValuesDebugInfo) = Nothing) As QueryRewritesDebugInfo

Parameters

text
QueryRewritesValuesDebugInfo

List of query rewrites generated for the text query.

vectors
IEnumerable<QueryRewritesValuesDebugInfo>

List of query rewrites generated for the vectorizable text queries.

Returns

A new QueryRewritesDebugInfo instance for mocking.

Applies to