I have a Poco F3 that was running MIUI 14, version 14.0.8.0 and after updating to HyperOS version 1.0.3.0, the text search in the Gallery app is now missing. This phone had the Xiomi EU ROMs, both MIUI and HyperOS.
Also the Mi 11i that I have and that was using the global ROM had this feature...