if (solrResp.getException() != null) {
response.setStatus(Status.SERVER_ERROR_INTERNAL, solrResp
.getException());
} else {
response.setEntity(new SolrRepresentation(
MediaType.APPLICATION_XML, solrReq, solrResp));
response.setStatus(Status.SUCCESS_OK);
}
} catch (Exception e) {
getLogger().log(Level.WARNING,