FirteX-高性能全文索引和检索平台API Documentation |
#include <BarrelsInfo.h>
公有成员 | |
| CBarrelsInfo () | |
| ~CBarrelsInfo (void) | |
| const string | newBarrel () |
| void | addBarrel (const string &name, docid_t minDID, count_t docCount) |
| void | addBarrel (CBarrelInfo *pBarrelInfo) |
| void | read (CDirectory *pDirectory) |
| void | write (CDirectory *pDirectory) |
| void | remove (CDirectory *pDirectory) |
| void | removeBarrel (CDirectory *pDirectory, const string &barrelname) |
| int | getBarrelCount () |
| int | getDocCount () |
| count_t | getDocCounter () |
| void | setDocCounter (count_t dcnt) |
| const char * | getVersion () |
| void | setVersion (const char *ver) |
| void | clear () |
| CBarrelInfo * | operator[] (int i) |
| void | startIterator () |
| bool | hasNext () |
| CBarrelInfo * | next () |
保护属性 | |
| CFXString | m_version |
| count_t | m_barrelCounter |
| count_t | m_docCounter |
| vector< CBarrelInfo * > | m_barrelInfos |
| vector< CBarrelInfo * >::iterator | m_barrelsiterator |
|
|
|
|
|
|
|
|
添加Barrel
|
|
||||||||||||||||
|
添加Barrel
|
|
|
释放资源 |
|
|
获取barrel个数 |
|
|
获取总文档数 |
|
|
获取设置文档计数器 |
|
|
获取设置索引版本号 |
|
|
|
|
|
新barrel的名称 |
|
|
|
|
|
|
|
|
从磁盘读入barrels 信息 |
|
|
清除barrels 信息 |
|
||||||||||||
|
清除barrels 信息 |
|
|
|
|
|
|
|
|
|
|
|
将barrels 信息写到磁盘 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://www.firtex.org http://www.sourceforge.net/projects/firtex