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

公有成员 | |
| CWordFreqVector () | |
| CWordFreqVector (const tchar *field, CIndexInput *pTVVInput) | |
| virtual | ~CWordFreqVector (void) |
| void | open (const tchar *field, CIndexInput *pInput) |
| count_t | numTerms () |
| count_t | numDistinctTerms () |
| const CTerm * | getTerms () |
| const termid_t * | getTermIDs () |
| const freq_t * | getTermFrequencies () |
| void | getTermFreqVector (termid_t *&tids, freq_t *&freqs, count_t &size) |
| int | indexOf (termid_t tid) |
保护成员 | |
| void | addField (CIndexOutput *pOutput, CField *pField) |
| void | quickSort (map_item items[], int lo, int hi) |
| void | readTermVector () |
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
添加字段,建立字段的前向索引,供CTermVectorWriter调用,外部不能直接使用
|
|
|
获取词频数组,数组大小与
|
|
||||||||||||||||
|
获取词向量 |
|
|
获取词ID数组,数组大小与
|
|
|
获取词数组,数组大小与
|
|
|
获取词tid在
|
|
|
获取非重复词总数 |
|
|
获取总词数 |
|
||||||||||||
|
打开Term Vector,准备读取Term Vector 信息
|
|
||||||||||||||||
|
快速排序 |
|
|
|
http://www.firtex.org http://www.sourceforge.net/projects/firtex