X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Fpublic-inbox-index.pod;h=14113ec8689be5d1fd8057e91c11ca1fe149cbe5;hb=c29b2b7ded47def906cf00e3baad65c102304120;hp=2e0ff69322781633621f68378171c7054f189f91;hpb=666f1b8f5c7c76333df4e1296c1668abf04f210f;p=public-inbox.git diff --git a/Documentation/public-inbox-index.pod b/Documentation/public-inbox-index.pod index 2e0ff693..14113ec8 100644 --- a/Documentation/public-inbox-index.pod +++ b/Documentation/public-inbox-index.pod @@ -11,7 +11,7 @@ public-inbox-index [OPTIONS] INBOX_DIR public-inbox-index creates and updates the search, overview and NNTP article number database used by the read-only public-inbox HTTP and NNTP interfaces. Currently, this requires -L and L Perl modules. L +L and L Perl modules. L is optional, only to support the PSGI search interface. Once the initial indices are created by public-inbox-index, @@ -34,14 +34,22 @@ normal search functionality. =item --reindex -Forces a search engine re-index of all messages in the -repository. This can be used for in-place upgrades while +Forces a re-index of all messages in the inbox. +This can be used for in-place upgrades and bugfixes while NNTP/HTTP server processes are utilizing the index. Keep in mind this roughly doubles the size of the already-large -Xapian database. +Xapian database. Running L +afterwards is recommended to release free space. This does not touch the NNTP article number database. +=item --prune + +Run L to prune and expire reflogs if discontiguous history +is detected. This is intended to be used in mirrors after running +L or L to ensure data +is expunged from mirrors. + =back =head1 FILES @@ -50,9 +58,7 @@ For v1 (ssoma) repositories described in L. All public-inbox-specific files are contained within the C<$GIT_DIR/public-inbox/> directory. -v2 repositories are described in L. - -=back +v2 inboxes are described in L. =head1 ENVIRONMENT @@ -89,7 +95,7 @@ and L =head1 COPYRIGHT -Copyright 2016-2019 all contributors L +Copyright 2016-2020 all contributors L License: AGPL-3.0+ L