A case-based approach to intelligent information retrieval