SearchModelFactory.QueryRewritesDebugInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.