/// <summary>
 /// Initializes a new instance of the <see cref="SearchInfoSummary"/> class.
 /// </summary>
 /// <param name="features">The features to enable when building the summary data.</param>
 public SearchInfoSummary(SearchInfoSummaryFeature features)
 {
     this.totalCanceledSearches = 0L;
     this.totalSearchesWithResults = 0L;
     this.totalSearches = 0L;
     this.totalSearchesFromEachMethod = new Dictionary<SearchMethodType, int>(3);
     this.totalSearchesFromEachMethod.Add(SearchMethodType.Full, 0);
     this.totalSearchesFromEachMethod.Add(SearchMethodType.Normal, 0);
     this.totalSearchesFromEachMethod.Add(SearchMethodType.Quick, 0);
     this.totalSearchesFromEachIndex = new Dictionary<string, int>(2);
     this.totalUniqueSearchesAndTotalTimesUsed = new Dictionary<string, int>();
     this.totalUniqueClausesAndTotalTimesUsed = new Dictionary<string, int>();
     this.searchSpread = new Dictionary<DateTime, int>();
     this.parser = new QueryParser(StaticValues.LibraryVersion, "Query Parser - SearchInfoSummary", new StandardAnalyzer(StaticValues.LibraryVersion));
     this.features = features;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SearchInfoSummary"/> class.
 /// </summary>
 /// <param name="features">The features to enable when building the summary data.</param>
 public SearchInfoSummary(SearchInfoSummaryFeature features)
 {
     this.totalCanceledSearches       = 0L;
     this.totalSearchesWithResults    = 0L;
     this.totalSearches               = 0L;
     this.totalSearchesFromEachMethod = new Dictionary <SearchMethodType, int>(3);
     this.totalSearchesFromEachMethod.Add(SearchMethodType.Full, 0);
     this.totalSearchesFromEachMethod.Add(SearchMethodType.Normal, 0);
     this.totalSearchesFromEachMethod.Add(SearchMethodType.Quick, 0);
     this.totalSearchesFromEachIndex           = new Dictionary <string, int>(2);
     this.totalUniqueSearchesAndTotalTimesUsed = new Dictionary <string, int>();
     this.totalUniqueClausesAndTotalTimesUsed  = new Dictionary <string, int>();
     this.searchSpread = new Dictionary <DateTime, int>();
     this.parser       = new QueryParser(StaticValues.LibraryVersion, "Query Parser - SearchInfoSummary", new StandardAnalyzer(StaticValues.LibraryVersion));
     this.features     = features;
 }