xapian-core  1.4.26
Classes | Functions
GlassCompact Namespace Reference

Classes

struct  CursorGt
 
struct  MergeCursor
 
class  PositionCursor
 
class  PositionCursorGt
 
class  PostlistCursor
 
class  PostlistCursorGt
 

Functions

static bool is_user_metadata_key (const string &key)
 
static bool is_valuestats_key (const string &key)
 
static bool is_valuechunk_key (const string &key)
 
static bool is_doclenchunk_key (const string &key)
 
static string encode_valuestats (Xapian::doccount freq, const string &lbound, const string &ubound)
 
static void merge_postlists (Xapian::Compactor *compactor, GlassTable *out, vector< Xapian::docid >::const_iterator offset, vector< GlassTable *>::const_iterator b, vector< GlassTable *>::const_iterator e)
 
static void merge_spellings (GlassTable *out, vector< GlassTable *>::const_iterator b, vector< GlassTable *>::const_iterator e)
 
static void merge_synonyms (GlassTable *out, vector< GlassTable *>::const_iterator b, vector< GlassTable *>::const_iterator e)
 
static void multimerge_postlists (Xapian::Compactor *compactor, GlassTable *out, const char *tmpdir, vector< GlassTable *> tmp, vector< Xapian::docid > off)
 
static void merge_positions (GlassTable *out, const vector< GlassTable *> &inputs, const vector< Xapian::docid > &offset)
 
static void merge_docid_keyed (GlassTable *out, const vector< GlassTable *> &inputs, const vector< Xapian::docid > &offset)
 

Function Documentation

◆ encode_valuestats()

static string GlassCompact::encode_valuestats ( Xapian::doccount  freq,
const string &  lbound,
const string &  ubound 
)
static

Definition at line 174 of file glass_compact.cc.

References pack_string(), and pack_uint().

Referenced by merge_postlists().

◆ is_doclenchunk_key()

static bool GlassCompact::is_doclenchunk_key ( const string &  key)
inlinestatic

Definition at line 74 of file glass_compact.cc.

Referenced by merge_postlists(), and GlassCompact::PostlistCursor::next().

◆ is_user_metadata_key()

static bool GlassCompact::is_user_metadata_key ( const string &  key)
inlinestatic

Definition at line 56 of file glass_compact.cc.

Referenced by merge_postlists(), and GlassCompact::PostlistCursor::next().

◆ is_valuechunk_key()

static bool GlassCompact::is_valuechunk_key ( const string &  key)
inlinestatic

Definition at line 68 of file glass_compact.cc.

Referenced by merge_postlists(), and GlassCompact::PostlistCursor::next().

◆ is_valuestats_key()

static bool GlassCompact::is_valuestats_key ( const string &  key)
inlinestatic

Definition at line 62 of file glass_compact.cc.

Referenced by merge_postlists(), and GlassCompact::PostlistCursor::next().

◆ merge_docid_keyed()

static void GlassCompact::merge_docid_keyed ( GlassTable out,
const vector< GlassTable *> &  inputs,
const vector< Xapian::docid > &  offset 
)
static

◆ merge_positions()

static void GlassCompact::merge_positions ( GlassTable out,
const vector< GlassTable *> &  inputs,
const vector< Xapian::docid > &  offset 
)
static

◆ merge_postlists()

static void GlassCompact::merge_postlists ( Xapian::Compactor compactor,
GlassTable out,
vector< Xapian::docid >::const_iterator  offset,
vector< GlassTable *>::const_iterator  b,
vector< GlassTable *>::const_iterator  e 
)
static

◆ merge_spellings()

static void GlassCompact::merge_spellings ( GlassTable out,
vector< GlassTable *>::const_iterator  b,
vector< GlassTable *>::const_iterator  e 
)
static

◆ merge_synonyms()

static void GlassCompact::merge_synonyms ( GlassTable out,
vector< GlassTable *>::const_iterator  b,
vector< GlassTable *>::const_iterator  e 
)
static

◆ multimerge_postlists()

static void GlassCompact::multimerge_postlists ( Xapian::Compactor compactor,
GlassTable out,
const char *  tmpdir,
vector< GlassTable *>  tmp,
vector< Xapian::docid off 
)
static