1XAPIAN-COMPACT(1) User Commands XAPIAN-COMPACT(1)
2
3
4
6 xapian-compact - Compact a database, or merge and compact several
7
9 xapian-compact [OPTIONS] SOURCE_DATABASE... DESTINATION_DATABASE
10
12 xapian-compact - Compact a database, or merge and compact several
13
15 -b, --blocksize=B
16 Set the blocksize in bytes (e.g. 4096) or K (e.g. 4K) (must be
17 between 2K and 64K and a power of 2, default 8K)
18
19 -n, --no-full
20 Disable full compaction
21
22 -F, --fuller
23 Enable fuller compaction (not recommended if you plan to update
24 the compacted database)
25
26 -m, --multipass
27 If merging more than 3 databases, merge the postlists in multi‐
28 ple passes (which is generally faster but requires more disk
29 space for temporary files)
30
31 --no-renumber
32 Preserve the numbering of document ids (useful if you have ex‐
33 ternal references to them, or have set them to match unique ids
34 from an external source). Currently this option is only sup‐
35 ported when merging databases if they have disjoint ranges of
36 used document ids
37
38 -s, --single-file
39 Produce a single file database (not supported for chert)
40
41 --help display this help and exit
42
43 --version
44 output version information and exit
45
46
47
48xapian-core 1.4.19 January 2022 XAPIAN-COMPACT(1)