Example usage for org.apache.solr.client.solrj.response SolrResponseBase toString

List of usage examples for org.apache.solr.client.solrj.response SolrResponseBase toString

Introduction

In this page you can find the example usage for org.apache.solr.client.solrj.response SolrResponseBase toString.

Prototype

@Override
    public String toString() 

Source Link

Usage

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());
    out.close();/*from  ww w.j a v  a2 s . c  o  m*/
}