I use Google Photos on my iPhone just that I can do searches like this on my library. (And that I can auto-share photos with my family, half of them are on Androids.)
This is on some queries much better than that. Which is amazing, given that it runs locally.
It still doesn’t have the face recognition and the geographical information that Google Photos have.