Renamed join in search.
Updated the example to the new 'search' API.