Generate a compressed inverted index. More...
Public Member Functions | |
| CompressedIndex (char *indexName) | |
| Initialise with the given index file name.  | |
| void | initialise (char *indexName) | 
| Initialise with the given index file name.  | |
| void | addDocument (T *triple) | 
| Add a triple to the index.  | |
| void | purgeTriples (void) | 
| Store triples in memory to a file.  | |
| FileBlockQueue * | merge (void) | 
| Read the triple file and merge triple to invert index.  | |
| void | permute (void) | 
| Permute the inverted index to obtain the correct order.  | |
Generate a compressed inverted index.
This class is used to generate a compressed inverted index from the supplied documents. Methods are provided to obtain the sets of triples, merge and permute them to invert the index.
 1.6.1