Had the same idea when I read the comment. However, training your ML models in the browser is probably not the best thing you could do. Granted, it could potentially offer a more personalized service.
Search doesn't really need ML to be effective
If you search for travel, and the SE brings up all your reservations from flights, ferries, bus, etc. It requires some sort of ML. Stupid example but you get the point.