Exemple #1
0
 public void Analyze(List <Match> matches, GraphDebugInfo graphDebugInfo)
 {
     foreach (var match in matches)
     {
         RootQueryStep.Analyze(match, graphDebugInfo);
     }
 }
        public async Task <GraphDebugInfo> GetAnalyzedQueryResults(IndexQueryServerSide query, QueryOperationContext queryContext, long?existingResultEtag, OperationCancelToken token)
        {
            var qr = await GetQueryResults(query, queryContext, null, token);

            var result = new GraphDebugInfo(Database, queryContext.Documents);

            qr.QueryPlan.Analyze(qr.Matches, result);
            return(result);
        }