<?php
/** use query in advanced mode https://d.pr/i/FOJSwM for facetwp in default WP search page **/
return [
"post_type" => "any",
"post_status" => [
"publish"
],
"posts_per_page" => get_option( 'posts_per_page' ),
"s" => get_query_var( 's' )
];