xapian-core  1.4.26
Classes | Functions
ChertCompact Namespace Reference

Classes

struct  CursorGt
 
struct  MergeCursor
 
class  PostlistCursor
 
class  PostlistCursorGt
 

Functions

static bool is_metainfo_key (const string &key)
 
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, ChertTable *out, vector< Xapian::docid >::const_iterator offset, vector< ChertTable *>::const_iterator b, vector< ChertTable *>::const_iterator e, Xapian::docid last_docid)
 
static void merge_spellings (ChertTable *out, vector< ChertTable *>::const_iterator b, vector< ChertTable *>::const_iterator e)
 
static void merge_synonyms (ChertTable *out, vector< ChertTable *>::const_iterator b, vector< ChertTable *>::const_iterator e)
 
static void multimerge_postlists (Xapian::Compactor *compactor, ChertTable *out, const char *tmpdir, vector< ChertTable *> tmp, vector< Xapian::docid > off, Xapian::docid last_docid)
 
static void merge_docid_keyed (ChertTable *out, const vector< ChertTable *> &inputs, const vector< Xapian::docid > &offset)
 

Function Documentation

◆ encode_valuestats()

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

Definition at line 180 of file chert_compact.cc.

References pack_string(), and pack_uint().

Referenced by merge_postlists().

◆ is_doclenchunk_key()

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

Definition at line 79 of file chert_compact.cc.

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

◆ is_metainfo_key()

static bool ChertCompact::is_metainfo_key ( const string &  key)
inlinestatic

Definition at line 55 of file chert_compact.cc.

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

◆ is_user_metadata_key()

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

Definition at line 61 of file chert_compact.cc.

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

◆ is_valuechunk_key()

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

Definition at line 73 of file chert_compact.cc.

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

◆ is_valuestats_key()

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

Definition at line 67 of file chert_compact.cc.

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

◆ merge_docid_keyed()

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

◆ merge_postlists()

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

◆ merge_spellings()

static void ChertCompact::merge_spellings ( ChertTable out,
vector< ChertTable *>::const_iterator  b,
vector< ChertTable *>::const_iterator  e 
)
static

◆ merge_synonyms()

static void ChertCompact::merge_synonyms ( ChertTable out,
vector< ChertTable *>::const_iterator  b,
vector< ChertTable *>::const_iterator  e 
)
static

◆ multimerge_postlists()

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