FirteX-高性能全文索引和检索平台

API Documentation


首页 | 名字空间列表 | 类继承关系 | 组合类型列表 | $(BL\录(B | 文件列表 | 名字空间成员 | 组合类型成员 | 文件成员

firtex::collection::CTrecCollection类参考

#include <TrecCollection.h>

继承图,类firtex::collection::CTrecCollection

firtex::collection::CCollection 所有成员的列表。

公有成员

 CTrecCollection (void)
 CTrecCollection (const tchar *dir, CIndexWriter *pWriter)
virtual ~CTrecCollection (void)
bool scanInternal ()
void parseFile (const tstring &filename)

静态公有属性

const tstring identifier

保护成员

void loadSchema (const tstring &schemaFile, CDocumentSchema &schema)
bool processTag (char *&start, char *end, CTrecTagPair *p, char *&value, size_t &valueLen, bool skip)
void doParse ()

保护属性

tstring m_sDirectory
CTrecTagPair ** m_tags
int32_t m_numTags
char * m_contentBuffer
int32_t m_length

构造及析构函数文档

firtex::collection::CTrecCollection::CTrecCollection void   ) 
 

firtex::collection::CTrecCollection::CTrecCollection const tchar *  dir,
CIndexWriter pWriter
 

virtual firtex::collection::CTrecCollection::~CTrecCollection void   )  [virtual]
 


成员函数文档

void firtex::collection::CTrecCollection::doParse  )  [protected]
 

void firtex::collection::CTrecCollection::loadSchema const tstring &  schemaFile,
CDocumentSchema schema
[protected]
 

装入schema信息

void firtex::collection::CTrecCollection::parseFile const tstring &  filename  ) 
 

分析单个Trec文档

参数:
filename 文档路径

bool firtex::collection::CTrecCollection::processTag char *&  start,
char *  end,
CTrecTagPair p,
char *&  value,
size_t &  valueLen,
bool  skip
[inline, protected]
 

bool firtex::collection::CTrecCollection::scanInternal  )  [virtual]
 

扫描处理文档集,子类实现

实现了firtex::collection::CCollection


成员数据文档

const tstring firtex::collection::CTrecCollection::identifier [static]
 

重载firtex::collection::CCollection

char* firtex::collection::CTrecCollection::m_contentBuffer [protected]
 

int32_t firtex::collection::CTrecCollection::m_length [protected]
 

int32_t firtex::collection::CTrecCollection::m_numTags [protected]
 

tstring firtex::collection::CTrecCollection::m_sDirectory [protected]
 

CTrecTagPair** firtex::collection::CTrecCollection::m_tags [protected]
 


该类的文档由以下文件生成:

http://www.firtex.org http://www.sourceforge.net/projects/firtex