Add search_res to store search result

search_res is a list to maintain the ranking of results