You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2016/11/07 17:14:55 UTC

incubator-ponymail git commit: No point in maintaining _all for secondary doc types

Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 65eae05fa -> f7d54e39e


No point in maintaining _all for secondary doc types

Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/f7d54e39
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/f7d54e39
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/f7d54e39

Branch: refs/heads/master
Commit: f7d54e39ee8c997438c83399d09b46e42290decf
Parents: 65eae05
Author: Sebb <se...@apache.org>
Authored: Mon Nov 7 17:14:44 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Mon Nov 7 17:14:44 2016 +0000

----------------------------------------------------------------------
 tools/setup.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/f7d54e39/tools/setup.py
----------------------------------------------------------------------
diff --git a/tools/setup.py b/tools/setup.py
index 1cf9ef2..b436871 100755
--- a/tools/setup.py
+++ b/tools/setup.py
@@ -256,6 +256,9 @@ def createIndex():
           }
         },
         "mbox_source" : {
+          "_all": {
+            "enabled": false # this doc type is not searchable
+          },
           "properties" : {
             "source" : {
               "type" : "binary"
@@ -273,6 +276,9 @@ def createIndex():
           }
         },
         "mailinglists" : {
+          "_all": {
+            "enabled": false # this doc type is not searchable
+          },
           "properties" : {
             "description" : {
               "type" : "string",
@@ -289,6 +295,9 @@ def createIndex():
           }
         },
         "account" : {
+          "_all": {
+            "enabled": false # this doc type is not searchable
+          },
           "properties" : {
             "cid" : {
               "type" : "string",
@@ -336,6 +345,9 @@ def createIndex():
           }
         },
         "notifications" : {
+          "_all": {
+            "enabled": false # this doc type is not searchable
+          },
           "properties" : {
             "date" : {
               "type" : "date",