Exclude protected posts from indexing in Relevanssi on child sites.
Snippet Type
Execute on Child Sites
Snippet
add_filter( 'relevanssi_indexing_restriction', 'rlv_exclude_protected' );
function rlv_exclude_protected( $restriction ) {
global $wpdb;
$restriction['mysql'] .= " AND post.post_password = ''";
$restriction['reason'] .= ' Has a password';
return $restriction;
}