Multiple loops on a Search result page?

Check out the WP_Query() function. You’ll be able to run multiple queries and get an array for each post type