How to configure the existing search system to exclude content types and/or nodes from the search index?
There is a new Search Exclude (Node) module


  Exclude content types from node search for Drupal 8.