#include <InvFPIndexMerge.hpp>
Inheritance diagram for InvFPIndexMerge:
Public Methods | |
InvFPIndexMerge (char *buffer, long size, long maxfilesize=2100000000) | |
InvFPIndexMerge (long buffersize=64000000, long maxfilesize=2100000000) | |
~InvFPIndexMerge () | |
virtual int | mergeFiles (vector< char * > *files, vector< char * > *intmed, int level) |
merge these files and put the results into the intmed list | |
virtual int | finalMerge (vector< char * > *files) |
do the final merge and write the lookup table | |
Private Methods | |
void | writeInvFIDs () |
write file ids for indexes created | |
void | least (vector< InvFPIndexReader * > *r, vector< int > *ret) |
figure out which readers point to the lowest termids |
|
constructor. vector : a list of files to merge char* : name prefix of created files long : the maximum size the index can be |
|
|
|
|
|
do the final merge and write the lookup table
Reimplemented from InvIndexMerge. |
|
figure out which readers point to the lowest termids
|
|
merge these files and put the results into the intmed list
Reimplemented from InvIndexMerge. |
|
write file ids for indexes created
Reimplemented from InvIndexMerge. |