Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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);
 }