about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiStore.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-01-10 12:14:58 +0000
committerEric Wong <e@80x24.org>2021-01-12 03:51:42 +0000
commit4ff570e5c3cfb33aff3ca6ad674958d9dd2abda9 (patch)
tree66299a7b22bc523d230ca93f51b0eae3abca4c59 /lib/PublicInbox/LeiStore.pm
parent392533147f50061d93cb9ed82abf98067dde5472 (diff)
downloadpublic-inbox-4ff570e5c3cfb33aff3ca6ad674958d9dd2abda9.tar.gz
Parallelism and interactivity with pager + SIGPIPE needs work;
but results are shown and phrase search works without shell
users having to apply Xapian quoting rules on top of standard
shell quoting.
Diffstat (limited to 'lib/PublicInbox/LeiStore.pm')
-rw-r--r--lib/PublicInbox/LeiStore.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiStore.pm b/lib/PublicInbox/LeiStore.pm
index 7cda7e44..a7d7d953 100644
--- a/lib/PublicInbox/LeiStore.pm
+++ b/lib/PublicInbox/LeiStore.pm
@@ -23,7 +23,7 @@ sub new {
         my (undef, $dir, $opt) = @_;
         my $eidx = PublicInbox::ExtSearchIdx->new($dir, $opt);
         my $self = bless { priv_eidx => $eidx }, __PACKAGE__;
-        eidx_init($self) if $opt->{creat};
+        eidx_init($self)->done if $opt->{creat};
         $self;
 }