So the basic situation is that I have to store some text information in a SQL Server database. The problem is that the text must be encrypted AND searchable. I've done some research about the topic and it seems that this is not yet feasible (as far as I understand, this type of encryption technique, homomorphic encryption is not mature enough to be used in real life applications).
I've come up with an idea, but I'm not sure if it is feasible at all. Can someone advise?
So I know that Lucene.NET can be used for full-text searching. What I'd like to do is index the plain text with Lucene.NET, store the index but not the plain text, store the encrypted value in SQL Server, then search the Lucene index and return the ID of the record from the Lucene index, read that specific row from SQL Server and then decrypt the data.
Is this possible? Can I index something with Lucene and then not store the indexed data?