CompressedIndex< T > Class Template Reference

Generate a compressed inverted index. More...

List of all members.

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.
FileBlockQueuemerge (void)
 Read the triple file and merge triple to invert index.
void permute (void)
 Permute the inverted index to obtain the correct order.

Detailed Description

template<typename T>
class CompressedIndex< T >

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.

Author
lapark
Revision
1.5.2.1
Date
2009/11/02 13:40:12
Id
CompressedIndex.tcc,v 1.5.2.1 2009/11/02 13:40:12 lapark Exp

The documentation for this class was generated from the following file:
 All Classes Functions Variables Friends

Generated on Tue Nov 10 14:12:10 2009 for textIR by  doxygen 1.6.1