[Dovecot] Solr's index update
Hi all,
In the wiki says this: "Currently the indexes are updated only while searching" @ http://wiki.dovecot.org/Plugins/FTS
This also is applied to Solr Indexes? If not, when Solr Indexes are updated?
Thank you, Rui Carneiro
mail: rui.arc@gmail.com, rui.carneiro@portugalmail.net website: http://paginas.fe.up.pt/~ei04073<http://paginas.fe.up.pt/%7Eei04073>
On Tue, 2009-03-31 at 19:21 +0100, Rui Carneiro wrote:
Since Solr data can't be modified, both of these have to be handled the same way: Just deleting the data from Solr indexes. You'll probably have to do this like:
Hook into mailbox_list.delete_mailbox() in fts plugin (similar to like how e.g. quota plugin does in quota_mailbox_list_delete()).
Add a new delete_mailbox() function to struct fts_backend_vfuncs and have your delete_mailbox() call that before calling super.delete_mailbox().
Hook into the delete_mailbox() in fts-solr and have it execute a query that deletes everything from the given mailbox.
participants (2)
-
Rui Carneiro
-
Timo Sirainen