Programmatically executing a node search
You can achieve that with the search plugin used by the search page entity with the node_search id.
    

use Drupal\search\Entity\SearchPage;

// Default is the node_search page.
$id = \Drupal::service('search.search_page_repository')-&gt;getDefaultSearchPage();
$defaultSearchPage = SearchPage::load($id);
$searchPlugin = $defaultSearchPage-&gt;getPlugin();
$searchPlugin-&gt;setSearch($keywords, $parameters, $arguments);
$searchPlugin-&gt;buildResults(); // $searchPlugin-&gt;execute() works too if you want raw results