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

公有成员 | |
| CBooleanQuery (void) | |
| CBooleanQuery (const CBooleanQuery &clone) | |
| virtual | ~CBooleanQuery (void) |
| CQuery * | optimize (firtex::index::CIndexReader *pReader) |
| CScorer * | scorer (CSearcher *pSearcher) |
| CQuery * | clone () |
| int32_t | getClaouseCount () |
| void | add (CQuery *query, const bool required, const bool prohibited) |
| void | add (CBooleanClause *pClause) |
| void | clear () |
| const char * | getQueryName () const |
静态公有成员 | |
| int | getMaxClauseCount () |
| void | setMaxClauseCount (int maxCount) |
| const char * | getClassName () |
保护成员 | |
| CWeight * | createWeight (CSearcher *pSearcher) |
保护属性 | |
| ClauseVector | m_clauses |
| int | m_minShouldMatch |
静态保护属性 | |
| int | maxClauseCount |
友元 | |
| class | CBooleanQuery::CBooleanWeight |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
添加查询
|
|
|
|
|
|
克隆新的对象,需子类实现 非内部对象,外部删除 |
|
|
创建Query对应的Weight
|
|
|
|
|
|
|
|
|
|
|
|
获取查询名称标识 |
|
|
对查询进行优化,生成新的查询对象,子类可重载,默认情况下返回自身
|
|
|
返回打分器,需子类实现
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://www.firtex.org http://www.sourceforge.net/projects/firtex