searching / to search

  1. They went to South Africa searching for gold.
  2. They went to South Africa to search for gold.
    Are both sentences correct?
    Thanks.
  1. They went to South Africa in search of gold. (This also is possible)