strusAnalyzer
0.17
|
Expression of a query terms as result of a query analysis. More...
#include <queryTermExpression.hpp>
Classes | |
class | Instruction |
Query instruction. More... | |
Public Member Functions | |
QueryTermExpression () | |
Default constructor. More... | |
QueryTermExpression (const QueryTermExpression &o) | |
Copy constructor. More... | |
const std::vector< Instruction > & | instructions () const |
Get the list of query instructions. More... | |
const analyzer::QueryTerm & | term (int idx) const |
Get the argument of a term instruction. More... | |
void | pushTerm (const analyzer::QueryTerm &term_) |
Add a search index term to the query. More... | |
void | pushOperator (int operatorId, int nofOperands) |
Add an instruction. More... | |
Expression of a query terms as result of a query analysis.
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inline |
Get the list of query instructions.
|
inline |
Add an instruction.
[in] | operatorId | id of the operator |
[in] | nofOperands | number of operands |
|
inline |
Add a search index term to the query.
[in] | term | term to add |
|
inline |
Get the argument of a term instruction.
[in] | idx | index of instruction refering to a term (Instruction::idx) |