handling solr exception