SolrServer solrServer = getActiveSolrServer();
try {
UpdateRequest request = new UpdateRequest();
request.add(metadataEntry);
request.add(modelEntry);
solrServer.request(request);
// the commit is done by the caller in batch
} catch (Exception e) {
String msg = String.format("Error updating topic with id '%s' on Solr Core '%s'", conceptUri,
solrCoreId);
throw new ClassifierException(msg, e);