about summary refs log tree commit homepage
path: root/lib/PublicInbox/SearchMsg.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/SearchMsg.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/SearchMsg.pm')
-rw-r--r--lib/PublicInbox/SearchMsg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SearchMsg.pm b/lib/PublicInbox/SearchMsg.pm
index 941bfd24..014f4909 100644
--- a/lib/PublicInbox/SearchMsg.pm
+++ b/lib/PublicInbox/SearchMsg.pm
@@ -154,7 +154,7 @@ sub mid ($;$) {
         } elsif (my $rv = $self->{mid}) {
                 $rv;
         } else {
-                $self->{mid} = _get_term_val($self, 'XMID', qr/\AXMID/) ||
+                $self->{mid} = _get_term_val($self, 'Q', qr/\AQ/) ||
                                 $self->_extract_mid;
         }
 }