print result before returning in _search_raw