X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=lib%2FPublicInbox%2FSearch.pm;h=aec459b3a5ce50ccb4c3c399f76496bddd45f871;hb=c617254e00ae43414236603cf9bbcdc8cbc2b139;hp=445c2d8a403f4b3a314954852d7afd3819de565f;hpb=f9663d67d1b228b6ceaeaab8329968b0d7e445cb;p=public-inbox.git diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm index 445c2d8a..aec459b3 100644 --- a/lib/PublicInbox/Search.pm +++ b/lib/PublicInbox/Search.pm @@ -51,8 +51,8 @@ my %bool_pfx_internal = ( thread => 'G', # newsGroup (or similar entity - e.g. a web forum name) ); -# do we still need these? probably not.. my %bool_pfx_external = ( + # do we still need these? probably not.. path => 'XPATH', mid => 'Q', # uniQue id (Message-ID) ); @@ -61,6 +61,14 @@ my %prob_prefix = ( subject => 'S', s => 'S', # for mairix compatibility 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 + # 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. ); # not documenting m: and mid: for now, the using the URLs works w/o Xapian