xapian-core  1.4.27
Public Member Functions | Private Member Functions | List of all members
Xapian::Internal::QueryOr Class Reference

#include <queryinternal.h>

+ Inheritance diagram for Xapian::Internal::QueryOr:
+ Collaboration diagram for Xapian::Internal::QueryOr:

Public Member Functions

 QueryOr (size_t n_subqueries)
 
PostingIterator::Internalpostlist (QueryOptimiser *qopt, double factor) const
 
void postlist_sub_or_like (OrContext &ctx, QueryOptimiser *qopt, double factor) const
 
std::string get_description () const
 
- Public Member Functions inherited from Xapian::Internal::QueryOrLike
void add_subquery (const Xapian::Query &subquery)
 
Query::Internaldone ()
 
- Public Member Functions inherited from Xapian::Internal::QueryBranch
termcount get_length () const
 
void serialise (std::string &result) const
 
void gather_terms (void *void_terms) const
 
Xapian::Query::op get_type () const
 
size_t get_num_subqueries () const
 
const Query get_subquery (size_t n) const
 
- Public Member Functions inherited from Xapian::Query::Internal
 Internal ()
 
virtual ~Internal ()
 
virtual void postlist_sub_and_like (Xapian::Internal::AndContext &ctx, QueryOptimiser *qopt, double factor) const
 
virtual void postlist_sub_xor (Xapian::Internal::XorContext &ctx, QueryOptimiser *qopt, double factor) 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::Internalunserialise (const char **p, const char *end, const Registry &reg)
 
- 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_or_like (OrContext &ctx, QueryOptimiser *qopt, double factor, Xapian::termcount elite_set_size=0, size_t first=0) const
 
PostListdo_synonym (QueryOptimiser *qopt, double factor) const
 
PostListdo_max (QueryOptimiser *qopt, double factor) const
 
const std::string get_description_helper (const char *op, Xapian::termcount window=0) const
 
- Protected Attributes inherited from Xapian::Internal::QueryBranch
QueryVector subqueries
 

Detailed Description

Definition at line 242 of file queryinternal.h.

Constructor & Destructor Documentation

◆ QueryOr()

Xapian::Internal::QueryOr::QueryOr ( size_t  n_subqueries)
inlineexplicit

Member Function Documentation

◆ get_description()

string Xapian::Internal::QueryOr::get_description ( ) const
virtual

Implements Xapian::Query::Internal.

Definition at line 1955 of file queryinternal.cc.

◆ get_op()

Xapian::Query::op Xapian::Internal::QueryOr::get_op ( ) const
privatevirtual

Implements Xapian::Internal::QueryBranch.

Definition at line 1883 of file queryinternal.cc.

References Xapian::Query::OP_OR.

◆ postlist()

PostingIterator::Internal * Xapian::Internal::QueryOr::postlist ( QueryOptimiser qopt,
double  factor 
) const
virtual

Implements Xapian::Query::Internal.

Definition at line 1652 of file queryinternal.cc.

References LOGCALL, and RETURN.

◆ postlist_sub_or_like()

void Xapian::Internal::QueryOr::postlist_sub_or_like ( OrContext ctx,
QueryOptimiser qopt,
double  factor 
) const
virtual

Reimplemented from Xapian::Query::Internal.

Definition at line 1661 of file queryinternal.cc.


The documentation for this class was generated from the following files: