How would you design and evaluate a retrieval and ranking system for enterprise search or recommendations at scale for CGI clients?