diff options
author | Eric Wong <e@80x24.org> | 2020-12-23 08:38:44 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-12-23 23:46:36 +0000 |
commit | 7e2bbc90bcc458f91d29c6847245857d7bb8fb60 (patch) | |
tree | b9f73cc65ac2f5ee0ed1d1298c950c1b49f0b4a1 | |
parent | 37526779e4c544b134af74f43d6c26569cb8e466 (diff) | |
download | public-inbox-7e2bbc90bcc458f91d29c6847245857d7bb8fb60.tar.gz |
We need Xapian bindings loaded before calling (Search::)Xapian::Database->new
-rw-r--r-- | lib/PublicInbox/MiscSearch.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/MiscSearch.pm b/lib/PublicInbox/MiscSearch.pm index f2e31443..de587d35 100644 --- a/lib/PublicInbox/MiscSearch.pm +++ b/lib/PublicInbox/MiscSearch.pm @@ -23,6 +23,7 @@ my %PROB_PREFIX = ( sub new { my ($class, $dir) = @_; + PublicInbox::Search::load_xapian(); bless { xdb => $PublicInbox::Search::X{Database}->new($dir) }, $class; |