diff options
author | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-03-02 20:46:55 +0000 |
---|---|---|
committer | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-03-02 20:46:55 +0000 |
commit | 44ff716b116f10ae42372f9f517356000636e571 (patch) | |
tree | b69afdd2f8c37c6fec0c7c17e97d9349b6d2341f /lib/PublicInbox/SearchMsg.pm | |
parent | f80ef6a32b28f54415f79513537f6c9fcd58a244 (diff) | |
download | public-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.pm | 2 |
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; } } |