By default accordions data is saved under post meta fields, unlike post content, you may not find accordions on default search results, but we have a solution for this, you will need to add following code to your theme functions.php file.

function me_search_query( $query ) {
  if ( $query->is_search ) {
    $meta_query_args = array(
      array(
        'key' => 'accordions_options',
        'value' => $query->query_vars['s'] = '',
        'compare' => 'LIKE',
      ),
    );
    $query->set('meta_query', $meta_query_args);
  };
}
add_filter( 'pre_get_posts', 'me_search_query');

https://gist.github.com/pickplugins/d5cb5e5c2c847b12829d0ab7539c8c0e