Towards Flexible Distributed Information Retrieval