diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-08 14:27:25 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-08 14:34:54 +0200 |
commit | 778b01181604dc2eae2013f2dc37db6d647b526a (patch) | |
tree | 739050aa453fe8adf140d8e6e65b870a10d8a39d /common/mail/threadindexer.cpp | |
parent | 3657dcd309f30b704801dcaf3e43b71ef703c0de (diff) | |
download | sink-778b01181604dc2eae2013f2dc37db6d647b526a.tar.gz sink-778b01181604dc2eae2013f2dc37db6d647b526a.zip |
Gather required databases from index definitions.
Diffstat (limited to 'common/mail/threadindexer.cpp')
-rw-r--r-- | common/mail/threadindexer.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/mail/threadindexer.cpp b/common/mail/threadindexer.cpp index d91ab5f..af96b94 100644 --- a/common/mail/threadindexer.cpp +++ b/common/mail/threadindexer.cpp | |||
@@ -145,3 +145,10 @@ void ThreadIndexer::remove(const ApplicationDomain::ApplicationDomainType &entit | |||
145 | 145 | ||
146 | } | 146 | } |
147 | 147 | ||
148 | QMap<QByteArray, int> ThreadIndexer::databases() | ||
149 | { | ||
150 | return {{"mail.index.messageIdthreadId", 1}, | ||
151 | {"mail.index.subjectthreadId", 1}, | ||
152 | {"mail.index.threadIdmessageId", 1}}; | ||
153 | } | ||
154 | |||