MDL-53271 search: Catch Solr Server errors when adding doc