How to achieve data Encryption in elasticsearch

If you want to encrypt the data in the documents you will basically only be able to perform exact match searches using encrypted strings. This will severely limit search functionality.