xapian-core  2.0.0
Classes | Namespaces | Macros | Functions | Variables
queryinternal.cc File Reference

Xapian::Query internals. More...

#include <config.h>
#include "queryinternal.h"
#include "xapian/error.h"
#include "xapian/postingsource.h"
#include "xapian/query.h"
#include "xapian/unicode.h"
#include "api/editdistance.h"
#include "backends/postlist.h"
#include "heap.h"
#include "matcher/andmaybepostlist.h"
#include "matcher/andnotpostlist.h"
#include "matcher/andpostlist.h"
#include "matcher/boolorpostlist.h"
#include "matcher/exactphrasepostlist.h"
#include "matcher/externalpostlist.h"
#include "matcher/maxpostlist.h"
#include "matcher/nearpostlist.h"
#include "matcher/orpospostlist.h"
#include "matcher/orpostlist.h"
#include "matcher/phrasepostlist.h"
#include "matcher/queryoptimiser.h"
#include "matcher/valuerangepostlist.h"
#include "matcher/valuegepostlist.h"
#include "matcher/xorpostlist.h"
#include "pack.h"
#include "serialise-double.h"
#include "stringutils.h"
#include "termlist.h"
#include "debuglog.h"
#include "omassert.h"
#include "str.h"
#include "unicode/description_append.h"
#include <algorithm>
#include <limits>
#include <list>
#include <memory>
#include <string>
#include <string_view>
#include <unordered_set>
#include <vector>
+ Include dependency graph for queryinternal.cc:

Go to the source code of this file.

Classes

struct  Xapian::Internal::CmpMaxOrTerms
 Class providing an operator which sorts postlists to select max or terms. More...
 
struct  Xapian::Internal::ComparePostListTermFreqAscending
 Comparison functor which orders by descending termfreq. More...
 
class  Xapian::Internal::Context
 
class  Xapian::Internal::OrContext
 
class  Xapian::Internal::XorContext
 
class  Xapian::Internal::PosFilter
 
class  Xapian::Internal::AndContext
 

Namespaces

 Xapian
 The Xapian namespace contains public interfaces for the Xapian library.
 
 Xapian::Internal
 

Macros

#define MULTIWAY(X)   static_cast<unsigned char>(0x80 | (X) << 3)
 
#define MISC(X)   static_cast<unsigned char>(X)
 

Functions

template<typename T , typename U >
static T Xapian::Internal::estimate_and_not (T l, T r, U n)
 
static double Xapian::Internal::string_frac (const string &s, size_t prefix)
 
static Xapian::doccount Xapian::Internal::estimate_range_freq (const string &lo, const string &hi, const string &begin, const string *end, Xapian::doccount value_freq)
 

Variables

static constexpr unsigned MAX_UTF_8_CHARACTER_LENGTH = 4
 

Detailed Description

Xapian::Query internals.

Definition in file queryinternal.cc.

Macro Definition Documentation

◆ MISC

#define MISC (   X)    static_cast<unsigned char>(X)

Definition at line 2221 of file queryinternal.cc.

◆ MULTIWAY

#define MULTIWAY (   X)    static_cast<unsigned char>(0x80 | (X) << 3)

Definition at line 2220 of file queryinternal.cc.

Variable Documentation

◆ MAX_UTF_8_CHARACTER_LENGTH

constexpr unsigned MAX_UTF_8_CHARACTER_LENGTH = 4
staticconstexpr

Definition at line 71 of file queryinternal.cc.

Referenced by Xapian::Internal::QueryWildcard::QueryWildcard().