about summary refs log tree commit homepage
path: root/lib/PublicInbox/Search.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-09-09 00:01:31 +0000
committerEric Wong <e@80x24.org>2016-09-09 00:02:27 +0000
commit0df58f99a71268c98bb21cab0a98ddd25a5b83b2 (patch)
treef88df5a32005f029e3ee83b7d848cf7922b3139b /lib/PublicInbox/Search.pm
parent0cf6196025d4e4880cd1ed859257ce21dd3cdcf6 (diff)
downloadpublic-inbox-0df58f99a71268c98bb21cab0a98ddd25a5b83b2.tar.gz
And while we're at it, ensure searching inside displayable
attachment bodies works.
Diffstat (limited to 'lib/PublicInbox/Search.pm')
-rw-r--r--lib/PublicInbox/Search.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm
index ceee39af..0c056772 100644
--- a/lib/PublicInbox/Search.pm
+++ b/lib/PublicInbox/Search.pm
@@ -69,6 +69,7 @@ my %prob_prefix = (
         tcf => 'XTO XCC A',
         b => 'XNQ XQUOT',
         bs => 'XNQ XQUOT S',
+        n => 'XFN',
 
         # n.b.: leaving out "a:" alias for "tcf:" even though
         # mairix supports it.  It is only mentioned in passing in mairix(1)
@@ -77,7 +78,7 @@ my %prob_prefix = (
         nq => 'XNQ',
 
         # default:
-        '' => 'XMID S A XNQ XQUOT',
+        '' => 'XMID S A XNQ XQUOT XFN',
 );
 
 # not documenting m: and mid: for now, the using the URLs works w/o Xapian