]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
searchidx: doc: note ->add_message is v1+tests only
authorEric Wong <e@80x24.org>
Thu, 20 Feb 2025 22:14:31 +0000 (22:14 +0000)
committerEric Wong <e@80x24.org>
Sun, 23 Feb 2025 12:39:54 +0000 (12:39 +0000)
Noticed while seeing if --xapian-only is a worthwhile
addition to -extindex.

lib/PublicInbox/SearchIdx.pm

index db4fcf76ba842a539140274308591c2d872f2da5..4ed3881fb0c60cf36a65104ca085e9e787a55847 100644 (file)
@@ -543,7 +543,7 @@ sub v1_index_mm ($$$) {
        }
 }
 
-sub add_message {
+sub add_message { # v1 + tests only
        # mime = PublicInbox::Eml or Email::MIME object
        my ($self, $mime, $smsg, $cmt_info) = @_;
        begin_txn_lazy($self);