I also suspect the search function does not work for RTL languages either? Yes, if the content is Western European language, but with RTL languages doesn’t work.
Please share the sample document and confirm if you are using any of our GitHub projects? We’ll the further investigate this scenario.