xinglijun1973 commented on issue #20435:
URL: 
https://github.com/apache/shardingsphere/issues/20435#issuecomment-1226750827

   I think fuzzy query of encrypted fields should be pushed down to the 
database for execution. Create a field  `all single word ciphereColomn,` to 
encrypt the original text in the order of single word (an English alpha or 
Chinese character). For example, the original text is `sphere,` encrypt the 
single word `s, p, h, e, r, e` respectively, and put the encrypted results 
together. When querying, encrypt the parameters in the same way, such as like 
'%sphere', will rewrite the parameter to '%\<encrypted sphere by single word\>' 
. Note that such keyword `%,?`   remains unchanged.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to