internal ScoreCachingCollector(ICollector other, int maxDocsToCache) : base(other, maxDocsToCache) { cachedScorer = new CachedScorer(); cachedScores = new List <float[]>(); curScores = new float[INITIAL_ARRAY_SIZE]; cachedScores.Add(curScores); }
internal ScoreCachingCollector(ICollector other, double maxRAMMB) : base(other, maxRAMMB, true) { cachedScorer = new CachedScorer(); cachedScores = new List <float[]>(); curScores = new float[INITIAL_ARRAY_SIZE]; cachedScores.Add(curScores); }