00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef _INCFPPUSHINDEX_HPP
00013 #define _INCFPPUSHINDEX_HPP
00014
00016
00023
00024
00025
00026
00027
00028 #include "InvFPPushIndex.hpp"
00029
00030 class IncFPPushIndex : public InvFPPushIndex {
00031 public:
00034 IncFPPushIndex(const string &prefix, int cachesize=128000000,
00035 long maxfilesize=2100000000, DOCID_T startdocid=1);
00036 private:
00038 string invfpF, dtF, dmgrF, didF, tidF;
00040 bool tryOpen(const string &name);
00042 bool readToc(const string &name);
00044 void readInvFileIDs();
00046 void readDtFileIDs();
00048 void readDocMgrIDs();
00050 void readTermIDs();
00052 void readDocIDs();
00053 };
00054
00055 #endif