Drupal, how to remove author and time in search results page

We use a preprocess function to remove elements you don’t need

Insert this code snippet  in your theme’s template.php and change THEMENAME to your theme’s name. Comment what you don’t need (delete user + date, delete user or delete date)

function THEMENAME_preprocess_search_result(&$vars) {
  //delete user + date
  $vars['info'] = "";

  //delete user
  $vars['info'] = $vars['info_split']['date'];

  //delete date
  $vars['info'] = $vars['info_split']['user'];