xapian-core  1.4.26
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 "word-breaker.h"
+ Include dependency graph for termgenerator_internal.cc:

Go to the source code of this file.

Classes

struct  Xapian::Sniplet
 
class  Xapian::SnipPipe
 

Namespaces

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

Macros

#define DECAY   2.0
 

Functions

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 try_word_break, 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)
 

Variables

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

◆ DECAY

#define DECAY   2.0

Definition at line 374 of file termgenerator_internal.cc.

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