hash for searchwords