join search terms by space