Run advanced searches using WP Query by using filters.
Modify the posts_per_page parameter according to the current post type or page being viewed
Learn how to order WordPress’ search results by post type with a simple code snippet.
If you need to run a WordPress meta query where the meta key starts, ends or contains a certain string, you can enable wildcard searches on your site.