From 44ff716b116f10ae42372f9f517356000636e571 Mon Sep 17 00:00:00 2001 From: "Eric Wong (Contractor, The Linux Foundation)" Date: Fri, 2 Mar 2018 20:46:55 +0000 Subject: search: revert to using 'Q' as a uniQue id per-Xapian conventions '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. --- lib/PublicInbox/ExtMsg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/ExtMsg.pm') 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; -- cgit v1.2.3-24-ge0c7