When one visits http://maps.google.com, they are able to type queries into the search field and receive results based on locations or places, and not hard search results, as the
I think you're looking for the google.maps.Geocoder class:
A service for converting between an address and a LatLng.