On Sun, Feb 17, 2013 at 08:41:19PM +1100, Peter Jeremy wrote: > Has anyone looked at adapting mairix to handle multiple database files, > where each database would only need rewriting if any of its input > files changed.
You can do this yourself. Run mairix first to index the inboxes that don't change, and create that index file. Then run mairix a second time reading only the inbox files that are changing, and create a second index file. It is only this second file that you need to keep updating. When you want to search, run mairix to search the first index file and save its results. Then have it search the second index file with the -a (append) flag to add to the results of the first search. You end up with the combined results of both searches, almost as if it were one big index file. I wrote a little script to do both searches for me. -- | Ian! D. Allen - [email protected] - Ottawa, Ontario, Canada | Home Page: http://idallen.com/ Contact Improv: http://contactimprov.ca/ | College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/ | Defend digital freedom: http://eff.org/ and have fun: http://fools.ca/ ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Mairix-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mairix-users
