Add() public method

Adds a posting list to the index. Returns the corresponding symbol
public Add ( IEnumerable sortedlist ) : int
sortedlist IEnumerable Sortedlist.
return int
Ejemplo n.º 1
0
 public static CompressedInvertedIndex Build(InvertedIndex invindex)
 {
     var cii = new CompressedInvertedIndex ();
     for (int s = 0; s < invindex.Count; ++s) {
         cii.Add (invindex [s]);
     }
     return cii;
 }