Thomas Bruederli wrote:
Good idea but there are a few things to consider before we can start.
Please don't solve problems that don't exist. Yes, IMAP search is considerably slower then a MySQL Fulltext search, but the question is if Roundcube wants to be Google? If that's the case it would be fine to focus on one single Mail server, optimize it for that and maybe directly store all mails in a SQL database anyways....
I have a lot of mails and usually Courier is fast enough to deliver results on time. Yes, it would be nice to have results within 0.2 seconds, but I think it's not worth the effort of having all these tables, duplicate all data in MySQL (no, I don't wanna do that!) and having a complicate setup.
Instead focus on the important stuff and just do it the smart way. What bugs me in Squirrelmail Search is that the search *results* are not cached - so anytime I view a mail and go back to view the next one it's again performing a search... this is the real problem there, not the speed of the first initial search.
And honestly, the IMAP Server holds the data and he is also able to search it as defined in the standard, so the Webmail System should not go ahead and try to duplicate this functionality. The same applies for filters etc....
My 2 cents,
Michael Baierl mbaierl.com http://mbaierl.com/
"Die große Mehrzahl unserer Importe kommt von außerhalb des Landes." George W. Bush _______________________________________________ List info: http://lists.roundcube.net/dev/