matcher/queryoptimiser.cc File Reference

Convert a Xapian::Query::Internal tree into an optimal PostList tree. More...

#include <config.h>
#include "queryoptimiser.h"
#include "andmaybepostlist.h"
#include "andnotpostlist.h"
#include "autoptr.h"
#include "emptypostlist.h"
#include "exactphrasepostlist.h"
#include "multiandpostlist.h"
#include "multimatch.h"
#include "omassert.h"
#include "omdebug.h"
#include "omqueryinternal.h"
#include "orpostlist.h"
#include "phrasepostlist.h"
#include "postlist.h"
#include "valuegepostlist.h"
#include "valuerangepostlist.h"
#include "xorpostlist.h"
#include <algorithm>
#include <list>
#include <map>
#include <string>
#include <vector>

Include dependency graph for queryoptimiser.cc:

Go to the source code of this file.

Classes

struct  PosFilter
struct  CmpMaxOrTerms
 Class providing an operator which sorts postlists to select max or terms. More...
struct  delete_ptr< CLASS >
struct  ComparePostListTermFreqAscending
 Comparison functor which orders PostList* by descending get_termfreq_est(). More...

Functions

bool is_and_like (Xapian::Query::Internal::op_t op)


Detailed Description

Convert a Xapian::Query::Internal tree into an optimal PostList tree.

Definition in file queryoptimiser.cc.


Function Documentation

bool is_and_like ( Xapian::Query::Internal::op_t  op  )  [inline]

Definition at line 177 of file queryoptimiser.cc.

References Xapian::Query::OP_AND, Xapian::Query::OP_FILTER, Xapian::Query::OP_NEAR, and Xapian::Query::OP_PHRASE.


Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.