private Index(Lexicon lex, ConcurrentDictionary <String, Document> docs) { this.lex = lex; this.docs = docs; }
private ConcurrentDictionary <String, Document> docs; // All documents in the index. public Index() { lex = new Lexicon(); docs = new ConcurrentDictionary <String, Document>(); }