One may build the initial index on a powerful host and transfer
it to a weaker one for incremental indexing. Thus there is
no requirement to have a configured public-inbox for building
the index unless a user needs altid support or some such.
use Cwd 'abs_path';
my $usage = "public-inbox-index GIT_DIR";
use PublicInbox::Config;
-my $config = PublicInbox::Config->new;
+my $config = eval { PublicInbox::Config->new } || eval {
+ warn "public-inbox unconfigured for serving, indexing anyways...\n";
+ {}
+};
eval { require PublicInbox::SearchIdx };
if ($@) {
print STDERR "Search::Xapian required for $0\n";