]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/lei_xsearch.t
update copyrights for 2021
[public-inbox.git] / t / lei_xsearch.t
index c41213bd2fff69b36a8e4f4d90bbd44e48005855..3774b4c10e7d9b59cced8c3c660a9b75e9e6ed4d 100644 (file)
@@ -1,5 +1,5 @@
 #!perl -w
-# Copyright (C) 2020 all contributors <meta@public-inbox.org>
+# Copyright (C) 2020-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
 use v5.10.1;
@@ -49,7 +49,7 @@ $eidx->eidx_sync({fsync => 0});
 my $es = PublicInbox::ExtSearch->new("$home/eidx");
 my $lxs = PublicInbox::LeiXSearch->new;
 for my $ibxish (shuffle($es, @ibx)) {
-       $lxs->attach_extinbox($ibxish);
+       $lxs->attach_external($ibxish);
 }
 my $nr = $lxs->xdb->get_doccount;
 my $mset = $lxs->mset('d:19931002..19931003', { limit => $nr });