ภาษา

SearchModelFactory.GraphQueryStatistics Method

Definition

Execution statistics for a graph query; counters describe work performed rather than result-row counts.

public static Azure.Search.Documents.Models.GraphQueryStatistics GraphQueryStatistics(Azure.Search.Documents.Models.GraphQueryExecutionMode? executionMode = default, int? queryCount = default, int? documentsFetched = default, bool? isEstimated = default, long? totalMs = default, long? searchMs = default, long? planningMs = default);
static member GraphQueryStatistics : Nullable<Azure.Search.Documents.Models.GraphQueryExecutionMode> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<int64> * Nullable<int64> * Nullable<int64> -> Azure.Search.Documents.Models.GraphQueryStatistics
Public Shared Function GraphQueryStatistics (Optional executionMode As Nullable(Of GraphQueryExecutionMode) = Nothing, Optional queryCount As Nullable(Of Integer) = Nothing, Optional documentsFetched As Nullable(Of Integer) = Nothing, Optional isEstimated As Nullable(Of Boolean) = Nothing, Optional totalMs As Nullable(Of Long) = Nothing, Optional searchMs As Nullable(Of Long) = Nothing, Optional planningMs As Nullable(Of Long) = Nothing) As GraphQueryStatistics

Parameters

executionMode
Nullable<GraphQueryExecutionMode>

Whether the request executed or only produced a plan.

queryCount
Nullable<Int32>

Backend search requests performed by the graph query.

documentsFetched
Nullable<Int32>

Backend assertion documents fetched during execution.

isEstimated
Nullable<Boolean>

Whether execution reports an estimated result.

totalMs
Nullable<Int64>

Reported total execution time in milliseconds.

searchMs
Nullable<Int64>

Reported search time in milliseconds.

planningMs
Nullable<Int64>

Time spent producing the query plan, in milliseconds.

Returns

A new GraphQueryStatistics instance for mocking.

Applies to