3 public-inbox-extindex - create and update external search indices
7 public-inbox-extindex [OPTIONS] EXTINDEX_DIR INBOX_DIR...
9 public-inbox-extindex [OPTIONS] [EXTINDEX_DIR] --all
13 FIXME: behavior not finalized It should probably write to the
14 config file the first time --all is used.
16 public-inbox-extindex creates and updates an external search and
17 overview database used by the read-only public-inbox PSGI (HTTP),
18 NNTP, and IMAP interfaces. This requires either the
19 L<Search::Xapian> XS bindings OR the L<Xapian> SWIG bindings,
20 along with L<DBD::SQLite> and L<DBI> Perl modules.
28 ... TODO, see L<public-inbox-index(5)>
34 L<public-inbox-extindex-format(5)>
38 ... TODO, see L<public-inbox-index(5)>
46 Used to override the default "~/.public-inbox/config" value.
48 =item XAPIAN_FLUSH_THRESHOLD
50 The number of documents to update before committing changes to
51 disk. This environment is handled directly by Xapian, refer to
52 Xapian API documentation for more details.
54 Setting C<XAPIAN_FLUSH_THRESHOLD> or
55 C<publicinbox.indexBatchSize> for a large C<--reindex> may cause
56 L<public-inbox-mda(1)>, L<public-inbox-learn(1)> and
57 L<public-inbox-watch(1)> tasks to wait long and unpredictable
58 periods of time during C<--reindex>.
60 Default: none, uses C<publicinbox.indexBatchSize>
66 Occasionally, public-inbox will update it's schema version and
67 require a full index by running this command.
71 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
73 The mail archives are hosted at L<https://public-inbox.org/meta/>
74 and L<http://hjrcffqmbrq6wope.onion/meta/>
78 Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
80 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
84 L<Search::Xapian>, L<DBD::SQLite>