I would like to know if there is a way to encrypt the indices in solr and Lucene? Because the content is hosted on AWS.
There's a patch for Lucene 3.1 which provides an encryption solution for Lucene indexes using the AES encryption algorithm. You must have a JCE Unlimited Strength Limited Security File. you can get it from java.sun.com.