List of usage examples for org.apache.solr.client.solrj.response SolrResponseBase getStatus
public int getStatus()
From source file:org.opensextant.matching.DataLoader.java
License:Open Source License
private static void printResponse(SolrResponseBase response) { int status = response.getStatus(); PrintStream out = status == 0 ? System.out : System.err; out.println(response.toString());// w ww . j ava 2s . c o m out.close(); }