first get hash value, second get seach value.