* [PATCH] extmsg: add note about the deficiency of the implementation
@ 2015-09-05 9:18 7% ` Eric Wong
0 siblings, 0 replies; 1+ results
From: Eric Wong @ 2015-09-05 9:18 UTC (permalink / raw)
To: meta
ref: http://public-inbox.org/meta/20150905091457.GA27857@dcvr.yhbt.net/
---
lib/PublicInbox/ExtMsg.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/PublicInbox/ExtMsg.pm b/lib/PublicInbox/ExtMsg.pm
index 243b6ba..77537c2 100644
--- a/lib/PublicInbox/ExtMsg.pm
+++ b/lib/PublicInbox/ExtMsg.pm
@@ -95,6 +95,8 @@ sub ext_msg {
unshift @pfx, { srch => $ctx->{srch}, url => $url };
foreach my $pfx (@pfx) {
my $srch = delete $pfx->{srch} or next;
+
+ # FIXME we may need a proper prefix trie here...
if (my $res = $srch->mid_prefix($mid)) {
$n_partial += scalar(@$res);
$pfx->{res} = $res;
--
EW
^ permalink raw reply related [relevance 7%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-09-05 9:01 [PATCH 0/6] another round of search updates Eric Wong
2015-09-05 9:01 ` [PATCH 6/6] extmsg: fall back to partial Message-ID matching Eric Wong
2015-09-05 9:14 ` Eric Wong
2015-09-05 9:18 7% ` [PATCH] extmsg: add note about the deficiency of the implementation Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).