Relevanssi – disable FacetWP for the search archive

<?php
// deactivate FacetWP integration on search results pages, for when the search result page does not use facets

add_filter( 'facetwp_is_main_query', function( $is_main_query, $query ) {
    if ( $query->is_search() && ! empty( $query->get( 's' ) ) ) {
        $is_main_query = false;
    }
    return $is_main_query;
}, 8, 2 );