Closed sulmanweb closed 2 years ago
I believe this would be the expected behavior because the search happens at SQL level and the data is encrypted in database.
Yes, there is no reasonable way to search encrypted data.
You could store a tsvector column with the text to the side of your column, but that would defeat the point of encryption.
I have user model:
then
User.search_user
doesn't find the user with exact email but finds with name. If I remove encryption then it works fine.