I have a use case where I have to search by key and in another use case, I have to search by value. Given this scenario, what\'s the best approach as scanning the entire cache c