示例#1
0
 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);
 }
示例#2
0
 internal TopDocsIterator(TopDocs docs, LeafReaderContext[] contexts)
 {
     ScoreDocs         = new ScoreDocsIteratorAnonymousInnerClass(this, docs, contexts);
     this.SizeConflict = docs.scoreDocs.length;
 }