]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/ExtMsg.pm
isearch: emulate per-inbox search with ->ALL
[public-inbox.git] / lib / PublicInbox / ExtMsg.pm
index 2a0a3e46befc7dfc6688a95954da957cb0f7a815..2a579c1b9d1c934624edca9e6fdfc73e51019290 100644 (file)
@@ -32,7 +32,7 @@ sub PARTIAL_MAX () { 100 }
 sub search_partial ($$) {
        my ($ibx, $mid) = @_;
        return if length($mid) < $MIN_PARTIAL_LEN;
-       my $srch = $ibx->search or return;
+       my $srch = $ibx->search or return; # NOT ->isrch, we already try ->ALL
        my $opt = { limit => PARTIAL_MAX, mset => 2 };
        my @try = ("m:$mid*");
        my $chop = $mid;