public void AddDocTermCount(string term, uint docID, uint count) { TermIndexEntry termIndexEntry; if (_terms.ContainsKey(term)) { termIndexEntry = _terms[term]; } else { termIndexEntry = new TermIndexEntry(); _terms[term] = termIndexEntry; } termIndexEntry[docID] = count; }