xapian-compact - Man Page

Compact a database, or merge and compact several




xapian-compact - Compact a database, or merge and compact several


-b,  --blocksize=B

Set the blocksize in bytes (e.g. 4096) or K (e.g. 4K) (must be between 2K and 64K and a power of 2, default 8K)

-n,  --no-full

Disable full compaction

-F,  --fuller

Enable fuller compaction (not recommended if you plan to update the compacted database)

-m,  --multipass

If merging more than 3 databases, merge the postlists in multiple passes (which is generally faster but requires more disk space for temporary files)


Preserve the numbering of document ids (useful if you have external references to them, or have set them to match unique ids from an external source).  Currently this option is only supported when merging databases if they have disjoint ranges of used document ids

-s,  --single-file

Produce a single file database (not supported for chert)


display this help and exit


output version information and exit

Referenced By

public-inbox-compact(1), public-inbox-xcpdb(1).

July 2023 xapian-core 1.4.23