Esempio n. 1
0
        private void BuildDetailedQueryXml(XDoc queryDoc, ulong queryId)
        {
            var query = _session.SearchAnalytics_GetTrackedQuery(queryId);

            BuildQueryXml(queryDoc, query);
            if (query.PreviousId.HasValue)
            {
                // Note (arnec): this method builds the xml using recursive DA calls, which is generally dangerous,
                // but the chain for queries should always be non-existent or very short
                BuildDetailedQueryXml(queryDoc["previous"], query.PreviousId.Value);
            }
        }