diff options
author | Eric Wong <e@80x24.org> | 2015-09-05 07:42:44 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-09-05 07:43:33 +0000 |
commit | cc5ca11dbe88aab95cc593aa94f5d8a6ad5a2eb4 (patch) | |
tree | c0da3d1b4486737af2668ffcf727bf5da9b2c570 | |
parent | d25c98939f599ec71371ad7c0555f0db7fcaf89c (diff) | |
download | public-inbox-cc5ca11dbe88aab95cc593aa94f5d8a6ad5a2eb4.tar.gz |
Perhaps this can be optionally enabled in the future for smaller sites.
-rw-r--r-- | lib/PublicInbox/Search.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm index 1874ee9d..b6e71da0 100644 --- a/lib/PublicInbox/Search.pm +++ b/lib/PublicInbox/Search.pm @@ -28,6 +28,9 @@ use constant { # 8 - remove redundant/unneeded document data # 9 - disable Message-ID compression SCHEMA_VERSION => 9, + + # n.b. FLAG_PURE_NOT is expensive not suitable for a public website + # as it could become a denial-of-service vector QP_FLAGS => FLAG_PHRASE|FLAG_BOOLEAN|FLAG_LOVEHATE|FLAG_WILDCARD, }; |