public void Add(string Term, int DocID, int PosInDoc)
        {
            Term term = new Term(Term);

            Index[term].AddInfo(DocID, PosInDoc);
        }
 public TermInfo_Doc_Poses(Term term)
     : base(term)
 {
     TermIndex = new DefaultSortedDict <int, PositionSortedCollection>((k) => new PositionSortedCollection());
 }
 public TermInfo_Doc_tf(Term term)
     : base(term)
 {
     TermIndex = new DefaultSortedDict <int, int>((k) => 0);
 }
 protected TermInfo(Term term)
 {
     this.term = term;
 }