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

API Documentation


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

firtex::index::CPosting类参考

#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 ()

保护属性

CPostingListm_pDocfreqPosting
CPostingListm_pPosPosting
memcache_typem_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


成员类型定义文档

typedef CPosMemCache firtex::index::CPosting::memcache_type
 


构造及析构函数文档

firtex::index::CPosting::CPosting memcache_type mc  ) 
 

firtex::index::CPosting::~CPosting  ) 
 


成员函数文档

void firtex::index::CPosting::addDocument docid_t  docid  )  [inline]
 

添加文档,没有位置信息

参数:
docid 文档编号

void firtex::index::CPosting::addLocation docid_t  docid,
loc_t  location
[inline]
 

添加位置

参数:
docid 文档编号
location 位置

bool firtex::index::CPosting::allocMem  ) 
 

bool firtex::index::CPosting::allocMem CPostingList posting  ) 
 

count_t firtex::index::CPosting::docFreq  )  const [inline]
 

bool firtex::index::CPosting::hasNoMem  )  [inline]
 

docid_t firtex::index::CPosting::lastDocID  )  [inline]
 

void firtex::index::CPosting::reset  ) 
 

int32_t firtex::index::CPosting::writeDocFreq CIndexOutput dfiOutput  ) 
 

int32_t firtex::index::CPosting::writePosition CIndexOutput ptiOutput  ) 
 


成员数据文档

count_t firtex::index::CPosting::m_df [protected]
 

loc_t firtex::index::CPosting::m_freq [protected]
 

int32_t firtex::index::CPosting::m_iMemSize [protected]
 

size_t firtex::index::CPosting::m_iNextGrowSize [static, protected]
 

int32_t firtex::index::CPosting::m_LOC_Tsize [protected]
 

CPostingList* firtex::index::CPosting::m_pDocfreqPosting [protected]
 

memcache_type* firtex::index::CPosting::m_pMemCache [protected]
 

CPostingList* firtex::index::CPosting::m_pPosPosting [protected]
 

loc_t firtex::index::CPosting::m_prevID [protected]
 

loc_t firtex::index::CPosting::m_prevPos [protected]
 


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

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