diff options
author | Eric Wong <e@80x24.org> | 2015-08-28 00:17:59 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-08-28 00:52:13 +0000 |
commit | e822f34e206e86e1e2e1aa9617e193d72224de5e (patch) | |
tree | 5c883daf74856c3cde25c7e526dd606b5cb53a90 /lib/PublicInbox/Search.pm | |
parent | 608b1e03008b44d7db88bee2b5b6b46cda7583e2 (diff) | |
download | public-inbox-e822f34e206e86e1e2e1aa9617e193d72224de5e.tar.gz |
Our search query already filters out ghost messages, so it's wasteful to have type information loaded.
Diffstat (limited to 'lib/PublicInbox/Search.pm')
-rw-r--r-- | lib/PublicInbox/Search.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm index 5ef380e8..4362a002 100644 --- a/lib/PublicInbox/Search.pm +++ b/lib/PublicInbox/Search.pm @@ -50,7 +50,7 @@ my %all_pfx = (%bool_pfx_internal, %bool_pfx_external, %prob_prefix); sub xpfx { $all_pfx{$_[0]} } our %PFX2TERM_RMAP; -my %meta_pfx = (mid => 1, thread => 1, path => 1, type => 1); +my %meta_pfx = (mid => 1, thread => 1, path => 1); while (my ($k, $v) = each %all_pfx) { $PFX2TERM_RMAP{$v} = $k if $meta_pfx{$k}; } |