about summary refs log tree commit homepage
path: root/lib/PublicInbox/Smsg.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-10-27 07:54:44 +0000
committerEric Wong <e@80x24.org>2020-11-07 10:22:03 +0000
commit4c315ed49fe8a6224264d74c490e0ee552365b2f (patch)
treef36428594fa810ddc343a42a87d4adf0188c3b2b /lib/PublicInbox/Smsg.pm
parent090238c3353438526dec707dad0718cb21efd07f (diff)
downloadpublic-inbox-4c315ed49fe8a6224264d74c490e0ee552365b2f.tar.gz
It doesn't seem worth storing xref3 data in Xapian now that
the same info is in over.sqlite3.
Diffstat (limited to 'lib/PublicInbox/Smsg.pm')
-rw-r--r--lib/PublicInbox/Smsg.pm13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/PublicInbox/Smsg.pm b/lib/PublicInbox/Smsg.pm
index c0fd85fd..14086538 100644
--- a/lib/PublicInbox/Smsg.pm
+++ b/lib/PublicInbox/Smsg.pm
@@ -137,17 +137,4 @@ sub subject_normalized ($) {
         $subj;
 }
 
-sub xref3 {
-        my ($self, $doc) = @_;
-        my $end = $doc->termlist_end;
-        my $it = $doc->termlist_begin;
-        $it->skip_to('P');
-        my @ret;
-        for (; $it != $end; $it++) {
-                my $val = $it->get_termname;
-                $val =~ s/\AP// and push @ret, $val;
-        }
-        \@ret;
-}
-
 1;