about summary refs log tree commit homepage
path: root/lib/PublicInbox/ExtMsg.pm
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-02 20:46:55 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-02 20:46:55 +0000
commit44ff716b116f10ae42372f9f517356000636e571 (patch)
treeb69afdd2f8c37c6fec0c7c17e97d9349b6d2341f /lib/PublicInbox/ExtMsg.pm
parentf80ef6a32b28f54415f79513537f6c9fcd58a244 (diff)
downloadpublic-inbox-44ff716b116f10ae42372f9f517356000636e571.tar.gz
'Q' is merely a convention in the Xapian world, and is close
enough to unique for practical purposes, so stop using XMID
and gain a little more term length as a result.
Diffstat (limited to 'lib/PublicInbox/ExtMsg.pm')
-rw-r--r--lib/PublicInbox/ExtMsg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/ExtMsg.pm b/lib/PublicInbox/ExtMsg.pm
index 90d68db8..f3076a34 100644
--- a/lib/PublicInbox/ExtMsg.pm
+++ b/lib/PublicInbox/ExtMsg.pm
@@ -46,7 +46,7 @@ sub ext_msg {
                 }
 
                 # try to find the URL with Xapian to avoid forking
-                my $doc_id = eval { $s->find_first_doc_id('XMID' . $mid) };
+                my $doc_id = eval { $s->find_first_doc_id('Q' . $mid) };
                 if ($@) {
                         # xapian not configured properly for this repo
                         push @nox, $other;