Ejemplo n.º 1
0
 private Index(Lexicon lex, ConcurrentDictionary <String, Document> docs)
 {
     this.lex  = lex;
     this.docs = docs;
 }
Ejemplo n.º 2
0
        private ConcurrentDictionary <String, Document> docs; // All documents in the index.

        public Index()
        {
            lex  = new Lexicon();
            docs = new ConcurrentDictionary <String, Document>();
        }