|
xapian-core
2.0.0
|
#include <queryinternal.h>
Inheritance diagram for Xapian::Internal::QueryOr:
Collaboration diagram for Xapian::Internal::QueryOr:Public Member Functions | |
| QueryOr (size_t n_subqueries) | |
| PostListAndEstimate | postlist (QueryOptimiser *qopt, double factor, TermFreqs *termfreqs) const |
| void | postlist_sub_or_like (OrContext &ctx, QueryOptimiser *qopt, double factor, TermFreqs *termfreqs, bool keep_zero_weight) const |
| void | postlist_sub_bool_or_like (OrContext &ctx, QueryOptimiser *qopt, TermFreqs *termfreqs) const |
| std::string | get_description () const |
Public Member Functions inherited from Xapian::Internal::QueryOrLike | |
| void | add_subquery (const Xapian::Query &subquery) |
| Query::Internal * | done () |
Public Member Functions inherited from Xapian::Internal::QueryBranch | |
| termcount | get_length () const noexcept |
| void | serialise (std::string &result) const |
| void | gather_terms (void *void_terms) const |
| Xapian::Query::op | get_type () const noexcept |
| size_t | get_num_subqueries () const noexcept |
| const Query | get_subquery (size_t n) const |
Public Member Functions inherited from Xapian::Query::Internal | |
| Internal () noexcept | |
| virtual | ~Internal () |
| virtual bool | postlist_sub_and_like (Xapian::Internal::AndContext &ctx, Xapian::Internal::QueryOptimiser *qopt, double factor, Xapian::Internal::TermFreqs *termfreqs) const |
| virtual void | postlist_sub_xor (Xapian::Internal::XorContext &ctx, Xapian::Internal::QueryOptimiser *qopt, double factor, Xapian::Internal::TermFreqs *termfreqs) const |
| virtual termcount | get_wqf () const |
| virtual termpos | get_pos () const |
Public Member Functions inherited from Xapian::Internal::intrusive_base | |
| intrusive_base () | |
| Construct with no references. More... | |
Private Member Functions | |
| Xapian::Query::op | get_op () const |
Additional Inherited Members | |
Static Public Member Functions inherited from Xapian::Query::Internal | |
| static Query::Internal * | unserialise (const char **p, const char *end, const Registry ®) |
Public Attributes inherited from Xapian::Internal::intrusive_base | |
| unsigned | _refs |
| Reference count. More... | |
Protected Member Functions inherited from Xapian::Internal::QueryOrLike | |
| QueryOrLike (size_t num_subqueries_) | |
Protected Member Functions inherited from Xapian::Internal::QueryBranch | |
| QueryBranch (size_t n_subqueries) | |
| void | serialise_ (std::string &result, Xapian::termcount parameter=0) const |
| void | do_bool_or_like (OrContext &ctx, QueryOptimiser *qopt, TermFreqs *termfreqs, size_t first=0) const |
| void | do_or_like (OrContext &ctx, QueryOptimiser *qopt, double factor, TermFreqs *termfreqs, Xapian::termcount elite_set_size=0, size_t first=0, bool keep_zero_weight=true) const |
| Process OR-like subqueries. More... | |
| PostListAndEstimate | do_synonym (QueryOptimiser *qopt, double factor, TermFreqs *termfreqs) const |
| PostListAndEstimate | do_max (QueryOptimiser *qopt, double factor, TermFreqs *termfreqs) const |
| const std::string | get_description_helper (const char *op, Xapian::termcount window=0) const |
Protected Attributes inherited from Xapian::Internal::QueryBranch | |
| QueryVector | subqueries |
Definition at line 294 of file queryinternal.h.
|
inlineexplicit |
Definition at line 298 of file queryinternal.h.
|
virtual |
Implements Xapian::Query::Internal.
Definition at line 3092 of file queryinternal.cc.
References Xapian::Internal::QueryBranch::get_description_helper().
|
privatevirtual |
Implements Xapian::Internal::QueryBranch.
Definition at line 3026 of file queryinternal.cc.
References Xapian::Query::OP_OR.
|
virtual |
Implements Xapian::Query::Internal.
Definition at line 2706 of file queryinternal.cc.
References Xapian::Internal::QueryBranch::do_bool_or_like(), Xapian::Internal::QueryBranch::do_or_like(), LOGCALL, Xapian::Internal::OrContext::postlist(), RETURN, Xapian::SmallVector_::size(), and Xapian::Internal::QueryBranch::subqueries.
|
virtual |
Reimplemented from Xapian::Query::Internal.
Definition at line 2729 of file queryinternal.cc.
References Xapian::Internal::QueryBranch::do_bool_or_like().
|
virtual |
Reimplemented from Xapian::Query::Internal.
Definition at line 2720 of file queryinternal.cc.
References Xapian::Internal::QueryBranch::do_or_like().