summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLisa Junger <ljunger@thoughtworks.com>2014-10-20 12:23:08 +0200
committerLisa Junger <ljunger@thoughtworks.com>2014-10-20 12:26:30 +0200
commitb74a39f27c292cc95345b7ab266bb3db2f812a66 (patch)
treee060ba544e3296818c29a21dc9b242cf1e4835be
parent6ddbfc0e6399d9b994ecd4c2c4b040aa6d364eac (diff)
remove deleted from mail schema.
-rw-r--r--service/pixelated/adapter/search.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/service/pixelated/adapter/search.py b/service/pixelated/adapter/search.py
index 559e8a99..71b72dba 100644
--- a/service/pixelated/adapter/search.py
+++ b/service/pixelated/adapter/search.py
@@ -99,8 +99,7 @@ class SearchEngine(object):
body=TEXT(stored=False),
tag=KEYWORD(stored=True, commas=True),
flags=KEYWORD(stored=True, commas=True),
- raw=TEXT(stored=False),
- deleted=BOOLEAN(stored=False))
+ raw=TEXT(stored=False))
def _create_index(self):
return whoosh.index.create_in(self.INDEX_FOLDER, self._mail_schema(), indexname='mails')