Save search term to hash