On Tue, 2008-11-25 at 20:45 +0530, Shalin Shekhar Mangar wrote: > On Mon, Nov 24, 2008 at 11:51 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > > > > > DIH seems to be about Solr pulling data into it from an external source. > > That's not really practical with Dovecot since there's no central > > repository of any kind of data, so there's no way to know what has > > changed since last pull. > > > Isn't your IMAP server the external data source? DIH can consume from any > data store. Tools for consuming from databases and files have been written. > I think it is possible to write one which consumes from IMAP.
Yes, but that would require going through all users' all mailboxes to find out which ones have new nonindexed messages. The data isn't stored in any centralized database that would allow quickly returning all non-indexed messages. Instead for each mailbox it would have to (at minimum) open and read two files. That won't really scale for large installations with a huge amount of mailboxes. (At some point I probably am going to implement something that allows finding "everyone's all new messages" more easily so that I can implement replication support, but for now that kind of a change would be way too much work.)
signature.asc
Description: This is a digitally signed message part