about summary refs log tree commit homepage
path: root/lib/PublicInbox/MiscIdx.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/MiscIdx.pm')
-rw-r--r--lib/PublicInbox/MiscIdx.pm8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/PublicInbox/MiscIdx.pm b/lib/PublicInbox/MiscIdx.pm
index 5faf5c66..76b33b16 100644
--- a/lib/PublicInbox/MiscIdx.pm
+++ b/lib/PublicInbox/MiscIdx.pm
@@ -108,12 +108,16 @@ EOF
         $doc->add_boolean_term('Q'.$eidx_key); # uniQue id
         $doc->add_boolean_term('T'.'inbox'); # Type
 
+        # force reread from disk, {description} could be loaded from {misc}
+        delete @$ibx{qw(-art_min -art_max description)};
         if (defined($ibx->{newsgroup}) && $ibx->nntp_usable) {
                 $doc->add_boolean_term('T'.'newsgroup'); # additional Type
+                my $n = $ibx->art_min;
+                add_val($doc, $PublicInbox::MiscSearch::ART_MIN, $n) if $n;
+                $n = $ibx->art_max;
+                add_val($doc, $PublicInbox::MiscSearch::ART_MAX, $n) if $n;
         }
 
-        # force reread from disk, {description} could be loaded from {misc}
-        delete $ibx->{description};
         my $desc = $ibx->description;
 
         # description = S/Subject (or title)