ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject [3/5] incubator-ponymail git commit: add fielddata setting, so word cloud will work
Date Mon, 30 Oct 2017 15:13:45 GMT
add fielddata setting, so word cloud will work


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

Branch: refs/heads/master
Commit: 724837dda8c757c17c9572ef2c5a34e61a4468b9
Parents: 58d85c4
Author: Daniel Gruno <humbedooh@apache.org>
Authored: Mon Oct 30 16:11:57 2017 +0100
Committer: Daniel Gruno <humbedooh@apache.org>
Committed: Mon Oct 30 16:11:57 2017 +0100

----------------------------------------------------------------------
 tools/setup.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/724837dd/tools/setup.py
----------------------------------------------------------------------
diff --git a/tools/setup.py b/tools/setup.py
index 57f7c64..38db29a 100755
--- a/tools/setup.py
+++ b/tools/setup.py
@@ -295,7 +295,8 @@ def createIndex():
               "type" : "string"
             },
             "subject" : {
-              "type" : "string"
+              "type" : "string",
+              "fielddata": True
             },
             "to" : {
               "type" : "string"
@@ -440,6 +441,7 @@ def createIndex():
             },
             "subject" : {
               "type" : "string",
+              "fielddata": True
 #               "index" : "not_analyzed"
             },
             "to" : {


Mime
View raw message