X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Fpublic-inbox-compact.pod;h=6b0c7376ff8927fce95f763f8ff42880593bde67;hb=b7678f950923a0e6fb59a8d17f21292cdb143d63;hp=4a519ce999e4c30d6251e6edd2b7bf4b8ead3dd8;hpb=e5c2e2588d7ad2243afeabad67b3c951c5b66643;p=public-inbox.git diff --git a/Documentation/public-inbox-compact.pod b/Documentation/public-inbox-compact.pod index 4a519ce9..6b0c7376 100644 --- a/Documentation/public-inbox-compact.pod +++ b/Documentation/public-inbox-compact.pod @@ -1,6 +1,6 @@ =head1 NAME -public-inbox-compact - compact Xapian DBs +public-inbox-compact - compact Xapian DBs in an inbox =head1 SYNOPSIS @@ -9,15 +9,23 @@ public-inbox-compact - compact Xapian DBs =head1 DESCRIPTION public-inbox-compact is a wrapper for L -designed for "v2" inboxes. It combines multiple Xapian -partitions into one to reduce space overhead after an initial -mass import (using multiple partitions) is done. +which locks the inbox and prevents other processes such as +L or L from +writing while it operates. -It locks the inbox and prevents other processes such as -L from writing while it operates. +It enforces the use of the C<--no-renumber> option of +L which is required to work with the +rest of the public-inbox search code. -It also supports "v1" (ssoma) inboxes with limited -usefulness over L +=head1 OPTIONS + +=over + +=item --blocksize / --no-full / --fuller + +These options are passed directly to L. + +=back =head1 ENVIRONMENT @@ -28,9 +36,15 @@ usefulness over L The default config file, normally "~/.public-inbox/config". See L -=back +=item XAPIAN_FLUSH_THRESHOLD + +The number of documents to update before committing changes to +disk. This environment is handled directly by Xapian, refer to +Xapian API documentation for more details. -=head1 UPGRADING +Default: 10000 + +=back =head1 CONTACT @@ -41,10 +55,11 @@ and L =head1 COPYRIGHT -Copyright 2018 all contributors L +Copyright 2018-2019 all contributors L License: AGPL-3.0+ L =head1 SEE ALSO -L, L +L, +L