: Sure thing, but how do I get the results output in CSV format?
: response.getResults() is a list of SolrDocuments.

Either use something like the NoOpResponseParser which will give you the 
entire response back as a single string, or implement your own 
ResponseParser along hte lines of...

public class YourRawParser extends ResponseParser {

  public NamedList<Object> processResponse(InputStream body, String encoding) {
    // do whatever you want with the data in the InputStream 
    // as the data comes over the wire
    doStuff(body);

    // just ignore the result SolrServer gives you
    return new NamedList<Object>();
  }
}





-Hoss
http://www.lucidworks.com/

Reply via email to