Scaling Search and Retrieval for Contextual AI (From Data Structures to Distributed Systems)