internal TopDocsValuesIterator(TopDocs docs, LeafReaderContext[] contexts, string field) : base(docs.totalHits) { this.Field = field; DocValuesCache = new Dictionary <LeafReaderContext, NumericDocValues>(contexts.Length); ReaderCache = new Dictionary <string, NumericDocValues>(); ScoreDocs = new ScoreDocsIteratorAnonymousInnerClass(this, docs, contexts); }
internal TopDocsIterator(TopDocs docs, LeafReaderContext[] contexts) { ScoreDocs = new ScoreDocsIteratorAnonymousInnerClass(this, docs, contexts); this.SizeConflict = docs.scoreDocs.length; }