about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/PublicInbox/LeiXSearch.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiXSearch.pm b/lib/PublicInbox/LeiXSearch.pm
index 5f105567..4e0849e8 100644
--- a/lib/PublicInbox/LeiXSearch.pm
+++ b/lib/PublicInbox/LeiXSearch.pm
@@ -211,9 +211,10 @@ sub query_one_mset { # for --threads and l2m w/o sort
                         }
                 } else {
                         $first_ids = $ids;
-                        my @items = $mset->items;
+                        my @items = $mset->items; # parallel with @$ids
                         for my $n (@$ids) {
                                 my $mitem = $items[$i++];
+                                next if $n <= $min;
                                 my $smsg = $over->get_art($n) or next;
                                 next if $smsg->{bytes} == 0;
                                 mitem_kw($srch, $smsg, $mitem, $fl) if $can_kw;