Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

IncFPPushIndex.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2002 University of Massachusetts.  All Rights Reserved.
00003  *
00004  * Use of the Lemur Toolkit for Language Modeling and Information Retrieval
00005  * is subject to the terms of the software license set forth in the LICENSE
00006  * file included with this software, and also available at
00007  * http://www.lemurproject.org/license.html
00008  *
00009  *==========================================================================
00010 */
00011 
00012 #ifndef _INCFPPUSHINDEX_HPP
00013 #define _INCFPPUSHINDEX_HPP
00014 
00016 
00023 /*
00024  * NAME DATE - COMMENTS
00025  * dmf 07/02 - subclass from InvFPPushIndex
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

Generated on Wed Nov 3 12:58:57 2004 for Lemur Toolkit by doxygen1.2.18