OmExpand Class Reference

Class for performing the expand operation. More...

#include <expand.h>

Collaboration diagram for OmExpand:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OmExpand (const Xapian::Database &db_)
void expand (Xapian::termcount max_esize, Xapian::ESet &eset, const RSetI *rset, const Xapian::ExpandDecider *decider, bool use_exact_termfreq, double expand_k)

Private Member Functions

 OmExpand (const OmExpand &)
void operator= (const OmExpand &)
AutoPtr< TermListbuild_tree (const RSetI *rset)

Private Attributes

const Xapian::Databasedb
bool recalculate_maxweight

Detailed Description

Class for performing the expand operation.

Definition at line 37 of file expand.h.


Constructor & Destructor Documentation

OmExpand::OmExpand ( const OmExpand  )  [private]

OmExpand::OmExpand ( const Xapian::Database db_  )  [inline]

Definition at line 59 of file expand.h.


Member Function Documentation

void OmExpand::operator= ( const OmExpand  )  [private]

AutoPtr< TermList > OmExpand::build_tree ( const RSetI rset  )  [private]

Definition at line 61 of file expand.cc.

References db, DEBUGLINE, RSetI::documents, AutoPtr< _Tp >::get(), Xapian::Database::internal, and AutoPtr< _Tp >::release().

Referenced by expand().

void OmExpand::expand ( Xapian::termcount  max_esize,
Xapian::ESet eset,
const RSetI rset,
const Xapian::ExpandDecider decider,
bool  use_exact_termfreq,
double  expand_k 
)

Definition at line 119 of file expand.cc.

References build_tree(), db, DEBUGCALL, DEBUGLINE, AutoPtr< _Tp >::get(), RSetI::get_rsize(), and Xapian::ESet::internal.

Referenced by Xapian::Enquire::Internal::get_eset().


Member Data Documentation

const Xapian::Database& OmExpand::db [private]

Definition at line 43 of file expand.h.

Referenced by build_tree(), and expand().

bool OmExpand::recalculate_maxweight [private]

Definition at line 45 of file expand.h.


The documentation for this class was generated from the following files:
Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.