handling solr exception in files_id api