Home | Trees | Indices | Help |
|
---|
|
Class representing a query. Queries are represented as a tree of objects.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
thisown The membership flag |
|||
Inherited from |
|
Construct a value comparison query on a document value. Xapian::Query::Query(Query::op op_, Xapian::valueno valno, const std::string &value) This query matches those documents which have a value stored in the slot given by valno which compares, as specified by the operator, to value. Parameters: ----------- op_: The operator to use for the query. Currently, must be OP_VALUE_GE or OP_VALUE_LE. valno: The slot number to get the value from. value: The value to compare.
|
Get an iterator over the terms in a query. The iterator will return string objects. |
repr(x)
|
Return a string describing this object. std::string Xapian::Query::get_description() const
|
Destructor. Xapian::Query::~Query() |
Test if the query is empty (i.e. bool Xapian::Query::empty() const was constructed using the default ctor or with an empty iterator ctor). |
Return a string describing this object. std::string Xapian::Query::get_description() const |
Get the length of the query, used by some ranking formulae. Xapian::termcount Xapian::Query::get_length() const This value is calculated automatically - if you want to override it you can pass a different value to Enquire::set_query(). |
Return a Xapian::TermIterator returning all the terms in the query, in order of termpos. TermIterator Xapian::Query::get_terms_begin() const If multiple terms have the same term position, their order is unspecified. Duplicates (same term and termpos) will be removed. |
Return a Xapian::TermIterator to the end of the list of terms in the query. TermIterator Xapian::Query::get_terms_end() const |
|
thisownThe membership flag
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 12 18:12:00 2011 | http://epydoc.sourceforge.net |