ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject incubator-ponymail git commit: Not really used
Date Tue, 08 Nov 2016 00:15:49 GMT
Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 3a5cd54b5 -> cebe2f023


Not really used

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

Branch: refs/heads/master
Commit: cebe2f0238639fe2fb9544933c287f8940db532c
Parents: 3a5cd54
Author: Sebb <sebb@apache.org>
Authored: Tue Nov 8 00:15:38 2016 +0000
Committer: Sebb <sebb@apache.org>
Committed: Tue Nov 8 00:15:38 2016 +0000

----------------------------------------------------------------------
 tools/import-mbox.py | 2 --
 tools/setup.py       | 6 ------
 2 files changed, 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/cebe2f02/tools/import-mbox.py
----------------------------------------------------------------------
diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index 7fba8bc..0d66bce 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -115,8 +115,6 @@ class BulkThread(Thread):
         i = 0
         for entry in self.json:
             js = entry
-            js['@version'] = 1
-            #js['@import_timestamp'] = time.strftime("%Y/%m/%d %H:%M:%S", time.gmtime())
             js_arr.append({
                 '_op_type': 'index',
                 '_consistency': self.wc,

http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/cebe2f02/tools/setup.py
----------------------------------------------------------------------
diff --git a/tools/setup.py b/tools/setup.py
index 5af9023..ea54782 100755
--- a/tools/setup.py
+++ b/tools/setup.py
@@ -172,9 +172,6 @@ def createIndex():
               "type" : "date",
               "format" : "yyyy/MM/dd HH:mm:ss||yyyy/MM/dd"
             },
-            "@version" : {
-              "type" : "long"
-            },
             "attachments" : {
               "properties" : {
                 "content_type" : {
@@ -263,9 +260,6 @@ def createIndex():
             "source" : {
               "type" : "binary"
             },
-            "@version" : {
-              "type" : "long"
-            },
             "message-id" : {
               "type" : "string",
               "index" : "not_analyzed"


Mime
View raw message