Added helper method to clear solr core