* New samplerate can be given, otherwise will use the one specified in the save file!
* Note: This is not a static method; call InitTextCollection() first to get the object handle.
*
* New samplerate can be given, otherwise will use the one specified in the save file!
* Note: This is not a static method; call InitTextCollection() first to get the object handle.
*
*
*/
virtual void Load(FILE *, unsigned samplerate = 0) = 0;
/**
* Save data structure into a file
*
*/
virtual void Load(FILE *, unsigned samplerate = 0) = 0;
/**
* Save data structure into a file
typedef std::vector<std::pair<DocId, TextPosition> > full_result;
virtual full_result FullContains(uchar const *) const = 0;
typedef std::vector<std::pair<DocId, TextPosition> > full_result;
virtual full_result FullContains(uchar const *) const = 0;