]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Search.pm
search: more granular message body searching
[public-inbox.git] / lib / PublicInbox / Search.pm
index 3b25b6625005d646dcd422ba444bfc1ae6295947..f74129d5da1c382fa75dd38f8ca634916349af81 100644 (file)
@@ -58,16 +58,22 @@ my %bool_pfx_external = (
 );
 
 my %prob_prefix = (
-       s => 'S', # for mairix compatibility
+       # for mairix compatibility
+       s => 'S',
        m => 'Q', # 'mid' is exact, 'm' can do partial
-       f => 'A', # for mairix compatibility
-       t => 'XTO', # for mairix compatibility
-       tc => 'XTC', # for mairix compatibility
-       c => 'XCC', # for mairix compatibility
-       tcf => 'XTCF', # for mairix compatibility
+       f => 'A',
+       t => 'XTO',
+       tc => 'XTC',
+       c => 'XCC',
+       tcf => 'XTCF',
+       b => 'XBODY',
+       bs => 'XBS',
+
        # n.b.: leaving out "a:" alias for "tcf:" even though
        # mairix supports it.  It is only mentioned in passing in mairix(1)
        # and the extra two letters are not significantly longer.
+       q => 'XQUOT',
+       nq => 'XNQ',
 );
 
 # not documenting m: and mid: for now, the using the URLs works w/o Xapian