Text this: From Centralized to Federated Information Retrieval: A Comparative Survey and a Proxy-Based Privacy-Preserving Framework