set correct key for cached search result