FirteX-高性能全文索引和检索平台API Documentation |
#include <BarrelTermPositions.h>
继承图,类firtex::index::CBarrelTermPositions

公有成员 | |
| CBarrelTermPositions (void) | |
| CBarrelTermPositions (CTermReader *pReader, CIndexInput *pDfiStream, CIndexInput *pPtiStream, CTermInfo &ti, CBitVector *deletedDocs) | |
| virtual | ~CBarrelTermPositions (void) |
| bool | seek (CTerm *term) |
| docid_t | doc () |
| count_t | freq () |
| bool | next () |
| count_t | next (docid_t *&docs, count_t *&freqs) |
| bool | skipTo (docid_t target, docid_t &nearTarget) |
| bool | skipToPosition (loc_t target, loc_t &nearTarget) |
| freq_t | docFreq () |
| void | close () |
| loc_t | nextPosition () |
| count_t | nextPositions (loc_t *&positions) |
保护成员 | |
| bool | decodePositions () |
保护属性 | |
| int | m_posCount |
| int | m_posPointer |
| int | m_posPageSize |
| int | m_posLength |
| int | m_posPagePosition |
| int | m_posDecodeCount |
| loc_t | m_posPage [PAGE_SIZE] |
| loc_t | m_posLastPos |
| CIndexInput * | m_pPosStream |
|
|
|
|
||||||||||||||||||||||||
|
|
|
|
|
|
|
关闭,释放资源 |
|
|
|
|
|
返回当前文档编号。在第一次没有调用next之前调用无效 |
|
|
获取文档频率 |
|
|
返回当前tf。在第一次没有调用next之前调用无效 |
|
||||||||||||
|
往前移动一块
|
|
|
往前移动
|
|
|
下一个位置 |
|
|
下一块位置
|
|
|
定位到指定term |
|
||||||||||||
|
移动到第一个文档编号大于或等于target的位置
|
|
||||||||||||
|
移动到第一个位置大于或等于target的位置
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://www.firtex.org http://www.sourceforge.net/projects/firtex