xapian-core  1.4.22
Classes | Namespaces | Macros | Functions | Variables
termgenerator_internal.cc File Reference

TermGenerator class internals. More...

#include <config.h>
#include "termgenerator_internal.h"
#include "api/omenquireinternal.h"
#include "api/queryinternal.h"
#include <xapian/document.h>
#include <xapian/queryparser.h>
#include <xapian/stem.h>
#include <xapian/unicode.h>
#include "stringutils.h"
#include <algorithm>
#include <cmath>
#include <deque>
#include <limits>
#include <list>
#include <string>
#include <unordered_map>
#include <vector>
#include "cjk-tokenizer.h"
+ Include dependency graph for termgenerator_internal.cc:

Go to the source code of this file.


struct  Xapian::Sniplet
class  Xapian::SnipPipe


 The Xapian namespace contains public interfaces for the Xapian library.


#define DECAY   2.0


static bool Xapian::U_isupper (unsigned ch)
static unsigned Xapian::check_wordchar (unsigned ch)
static bool Xapian::should_stem (const std::string &term)
static unsigned Xapian::check_infix (unsigned ch)
static unsigned Xapian::check_infix_digit (unsigned ch)
static bool Xapian::is_digit (unsigned ch)
static unsigned Xapian::check_suffix (unsigned ch)
template<typename ACTION >
static void Xapian::parse_terms (Utf8Iterator itor, bool cjk_ngram, bool with_positions, ACTION action)
 Templated framework for processing terms. More...
static bool Xapian::snippet_check_leading_nonwordchar (unsigned ch)
static bool Xapian::snippet_check_trailing_nonwordchar (unsigned ch)
static void Xapian::append_escaping_xml (const char *p, const char *end, string &output)
static void Xapian::check_query (const Xapian::Query &query, list< vector< string >> &exact_phrases, unordered_map< string, double > &loose_terms, list< string > &wildcards, size_t &longest_phrase)
static double * Xapian::check_term (unordered_map< string, double > &loose_terms, const Xapian::Weight::Internal *stats, const string &term, double max_tw)


static const unsigned Xapian::UNICODE_IGNORE = numeric_limits<unsigned>::max()
 Value representing "ignore this" when returned by check_infix() or check_infix_digit(). More...

Detailed Description

TermGenerator class internals.

Definition in file termgenerator_internal.cc.

Macro Definition Documentation


#define DECAY   2.0

Definition at line 373 of file termgenerator_internal.cc.

Referenced by Xapian::SnipPipe::pump().