FirteX-高性能全文索引和检索平台API Documentation |
#include <Posting.h>
公有类型 | |
| typedef CPosMemCache | memcache_type |
公有成员 | |
| CPosting (memcache_type *mc) | |
| ~CPosting () | |
| void | addLocation (docid_t docid, loc_t location) |
| void | addDocument (docid_t docid) |
| bool | hasNoMem () |
| bool | allocMem (CPostingList *posting) |
| bool | allocMem () |
| count_t | docFreq () const |
| docid_t | lastDocID () |
| int32_t | writeDocFreq (CIndexOutput *dfiOutput) |
| int32_t | writePosition (CIndexOutput *ptiOutput) |
| void | reset () |
保护属性 | |
| CPostingList * | m_pDocfreqPosting |
| CPostingList * | m_pPosPosting |
| memcache_type * | m_pMemCache |
| count_t | m_df |
| loc_t | m_freq |
| loc_t | m_prevID |
| loc_t | m_prevPos |
| int32_t | m_iMemSize |
| int32_t | m_LOC_Tsize |
静态保护属性 | |
| size_t | m_iNextGrowSize |
|
|
|
|
|
|
|
|
|
|
|
添加文档,没有位置信息
|
|
||||||||||||
|
添加位置
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://www.firtex.org http://www.sourceforge.net/projects/firtex