Eric Wong <[email protected]> wrote: > --- a/lib/PublicInbox/LeiXSearch.pm > +++ b/lib/PublicInbox/LeiXSearch.pm > @@ -149,22 +149,38 @@ sub query_one_mset { # for --threads and l2m w/o sort > local $0 = "$0 query_one_mset"; > my $lei = $self->{lei}; > my ($srch, $over) = ($ibxish->search, $ibxish->over); > - my $desc = $ibxish->{inboxdir} // $ibxish->{topdir}; > - return warn("$desc not indexed by Xapian\n") unless ($srch && $over); > - my $mo = { %{$lei->{mset_opt}} }; > + my $dir = $ibxish->{inboxdir} // $ibxish->{topdir}; > + return warn("$dir not indexed by Xapian\n") unless ($srch && $over); > + my $mo = { %{$lei->{mset_opt}} }; # copy > my $mset; > my $each_smsg = $lei->{ovv}->ovv_each_smsg_cb($lei); > my $can_kw = !!$ibxish->can('msg_keywords'); > my $threads = $lei->{opt}->{threads} // 0; > my $fl = $threads > 1 ? 1 : undef; > + my $lss = $lei->{dedupe}; > + $lss = undef unless $lss && $lss->can('cfg_set'); # saved search > + my $maxk = "external.$dir.maxnum";
Eh, that should probably be "maxuid" since "num" is more strongly associated with "NNTP article number". extindex may only be easily exposed via IMAP and HTTP (since we Message-IDs may conflict with different list trailers). -- unsubscribe: one-click, see List-Unsubscribe header archive: https://public-inbox.org/meta/
