Reading all parts of
https://esl.cs.brown.edu/blog/how-to-search-on-encrypted-dat...
might allow for some options to solve this problem.