]> Sergey Matveev's repositories - public-inbox.git/commitdiff
search: remove get_subject_path
authorEric Wong <e@80x24.org>
Wed, 30 Sep 2015 21:00:16 +0000 (21:00 +0000)
committerEric Wong <e@80x24.org>
Wed, 30 Sep 2015 21:09:15 +0000 (21:09 +0000)
We probably won't be supporting this in the public API

lib/PublicInbox/Search.pm

index 810eab85adefdaa6780e99bb6b0b297f5bd2cd7d..695d56b376daaf1138e772bedec5132ce0734bff 100644 (file)
@@ -91,12 +91,6 @@ sub query {
        $self->do_enquire($query, $opts);
 }
 
-sub get_subject_path {
-       my ($self, $path, $opts) = @_;
-       my $q = Search::Xapian::Query->new(xpfx("path").mid_compress($path));
-       $self->do_enquire($q, $opts);
-}
-
 sub get_thread {
        my ($self, $mid, $opts) = @_;
        my $smsg = eval { $self->lookup_message($mid) };