diff --git a/etc/sphinx.conf.in b/etc/sphinx.conf.in index 95eb047..2408875 100644 --- a/etc/sphinx.conf.in +++ b/etc/sphinx.conf.in @@ -40,7 +40,11 @@ sql_query = SELECT id, `from`, `to`, `fromdomain`, `todomain`, `subject`, `arrived`, `sent`, `body`, `size`, `direction`, `folder`, `attachments`, `attachment_types` FROM sph_index \ WHERE id <= (SELECT max_doc_id FROM sph_counter WHERE counter_id=1) + sql_query_killlist = SELECT `id` FROM `metadata` WHERE `deleted`=1 + + sql_query_kbatch = SELECT `id` FROM `metadata` WHERE `deleted`=1 + } source main1 : base