23 #ifndef XAPIAN_INCLUDED_COMPACTOR_H
24 #define XAPIAN_INCLUDED_COMPACTOR_H
26 #if !defined XAPIAN_IN_XAPIAN_H && !defined XAPIAN_LIB_BUILD
27 # error Never use <xapian/compactor.h> directly; include <xapian.h> instead.
62 void set_flags_(
unsigned flags,
unsigned mask = 0);
117 set_flags_(compaction, ~
unsigned(STANDARD|FULL|FULLER));
158 set_status(
const std::string & table,
const std::string & status);
183 resolve_duplicate_metadata(
const std::string & key,
184 size_t num_tags,
const std::string
tags[]);
Compact a database, or merge and compact several.
compaction_level
Compaction level.
void set_compaction_level(compaction_level compaction)
Set the compaction level.
void set_multipass(bool multipass)
Set whether to merge postlists in multiple passes.
void set_renumber(bool renumber)
Set whether to preserve existing document id values.
A smart pointer that uses intrusive reference counting.
Constants in the Xapian namespace.
Define XAPIAN_DEPRECATED() and related macros.
The Xapian namespace contains public interfaces for the Xapian library.
const int DBCOMPACT_MULTIPASS
If merging more than 3 databases, merge the postlists in multiple passes.
const int DBCOMPACT_NO_RENUMBER
Use the same document ids in the output as in the input(s).
#define XAPIAN_DEPRECATED(X)
Define XAPIAN_VISIBILITY_* macros.
#define XAPIAN_VISIBILITY_DEFAULT