So my case is a closed email system.
The emails are HTML enabled.
What is needed:
Full text searching (there are over 1 million emails in database, but they are usually pre-filtered based on users active in recent time)
Archiving - How can I archive emails that are old (older than 1-2 years).
Which is a better way to save these emails? As files on the server, or inside the database table. Or is it a combination of the two (due to archiving)?
After the above question - what are the specific tools/plugins that I can use to make the job easier. I remember hearing about Solr a little bit, but I am not sure what are other options / possibilities.