diff options
author | Eric Wong <e@80x24.org> | 2020-10-27 07:54:44 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-11-07 10:22:03 +0000 |
commit | 4c315ed49fe8a6224264d74c490e0ee552365b2f (patch) | |
tree | f36428594fa810ddc343a42a87d4adf0188c3b2b /lib/PublicInbox/Smsg.pm | |
parent | 090238c3353438526dec707dad0718cb21efd07f (diff) | |
download | public-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.pm | 13 |
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; |