X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Fpublic-inbox-extindex.pod;h=f71a90e588f16c5e4269ee9c2778d53ae6c888e8;hb=25fb42242320ffb55655d89268ddbb468eab9a6a;hp=2e2e6383b79b35c31f7be30ed1daa7996a1674dd;hpb=4666eceed62cc37d02cd7d35d8ab327ef3833636;p=public-inbox.git diff --git a/Documentation/public-inbox-extindex.pod b/Documentation/public-inbox-extindex.pod index 2e2e6383..f71a90e5 100644 --- a/Documentation/public-inbox-extindex.pod +++ b/Documentation/public-inbox-extindex.pod @@ -10,9 +10,6 @@ public-inbox-extindex [OPTIONS] [EXTINDEX_DIR] --all =head1 DESCRIPTION -FIXME: behavior not finalized It should probably write to the -config file the first time --all is used. - public-inbox-extindex creates and updates an external search and overview database used by the read-only public-inbox PSGI (HTTP), NNTP, and IMAP interfaces. This requires either the @@ -27,7 +24,17 @@ along with L and L Perl modules. =item --jobs=JOBS -... TODO, see L +=item --no-fsync + +=item --dangerous + +=item --rethread + +=item --max-size SIZE + +=item --batch-size SIZE + +These switches behave as they do for L =item --all @@ -40,6 +47,28 @@ C set to C and their respective Xapian public-inboxes where cross-posting is common, this allows significant space savings on Xapian indices. +=item --gc + +Perform garbage collection instead of indexing. Use this if +inboxes are removed from the extindex, or if messages are +purged or removed from some inboxes. + +=item --reindex + +Forces a re-index of all messages in the extindex. This can be +used for in-place upgrades and bugfixes while read-only server +processes are utilizing the index. Keep in mind this roughly +doubles the size of the already-large Xapian database. + +The extindex locks will be released roughly every 10s to +allow L and L +processes to write to the extindex. + +=item --fast + +Used with C<--reindex>, it will only look for new and stale +entries and not touch already-indexed messages. + =back =head1 FILES @@ -48,7 +77,19 @@ L =head1 CONFIGURATION -... TODO, see L +public-inbox-extindex does not currently write to the +L file, configuration may be entered +manually. The extindex name of C is a special case which +corresponds to indexing C<--all> inboxes. An example for +C<--all> is as follows: + + [extindex "all"] + topdir = /path/to/extindex_dir + url = all + coderepo = foo + coderepo = bar + +See L for more details. =head1 ENVIRONMENT @@ -88,7 +129,7 @@ L =head1 COPYRIGHT -Copyright 2021 all contributors L +Copyright all contributors L License: AGPL-3.0+ L