From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: meta@public-inbox.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 40CB7201BD for ; Wed, 30 Sep 2015 21:00:30 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 01/12] search: remove get_subject_path Date: Wed, 30 Sep 2015 21:00:16 +0000 Message-Id: <20150930210027.30479-2-e@80x24.org> In-Reply-To: <20150930210027.30479-1-e@80x24.org> References: <20150930210027.30479-1-e@80x24.org> List-Id: We probably won't be supporting this in the public API --- lib/PublicInbox/Search.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm index 810eab8..695d56b 100644 --- a/lib/PublicInbox/Search.pm +++ b/lib/PublicInbox/Search.pm @@ -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) }; -- EW