Re: exporting to CSV with solrj

2014-10-31 Thread Erick Erickson
@Will: I can't tell you how many times questions like "Why do you want to use CSV in SolrJ?" have lead to solutions different from what the original question might imply. It's a question I frequently ask in almost the exact same way; it's a perfectly legitimate question IMO. Best, Erick On Fri

Re: exporting to CSV with solrj

2014-10-31 Thread Chris Hostetter
: "Why do you want to use CSV in SolrJ?" Alexandre are you looking for a It's a legitmate question - part of providing good community support is making sure we understand *why* users are asking how to do something, so we can give good advice on other solutions people might not even have thoug

Re: exporting to CSV with solrj

2014-10-31 Thread Alexandre Rafalovitch
On 31 October 2014 14:58, will martin wrote: > "Why do you want to use CSV in SolrJ?" Alexandre are you looking for a > design gig. This kind of question really begs nothing but disdain. Nope. Not looking for a design gig. I give that advice away for free: http://www.airpair.com/solr/workshops/d

Re: exporting to CSV with solrj

2014-10-31 Thread will martin
solr wrote: > > Sure thing, but how do I get the results output in CSV format? > > response.getResults() is a list of SolrDocuments. > > > > > > > > -- > > View this message in context: > http://lucene.472066.n3.nabble.com/exporting-to-CSV-with-solrj-tp4166845p4166861.html > > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: exporting to CSV with solrj

2014-10-31 Thread tedsolr
I think I'm getting the idea now. You either use the response writer via an HTTP call, or you write your own exporter. Thanks to everyone for their input. -- View this message in context: http://lucene.472066.n3.nabble.com/exporting-to-CSV-with-solrj-tp4166845p4166889.html Sent from the

Re: exporting to CSV with solrj

2014-10-31 Thread Chris Hostetter
: 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... publ

Re: exporting to CSV with solrj

2014-10-31 Thread Alexandre Rafalovitch
gt; -- > View this message in context: > http://lucene.472066.n3.nabble.com/exporting-to-CSV-with-solrj-tp4166845p4166861.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: exporting to CSV with solrj

2014-10-31 Thread tedsolr
Sure thing, but how do I get the results output in CSV format? response.getResults() is a list of SolrDocuments. -- View this message in context: http://lucene.472066.n3.nabble.com/exporting-to-CSV-with-solrj-tp4166845p4166861.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: exporting to CSV with solrj

2014-10-31 Thread Jorge Luis Betancourt Gonzalez
281) > org.apache.solr.response.CSVResponseWriter.write(CSVResponseWriter.java:56) > > Am I on the right track with the approach? I really don't want to roll my > own document to CSV line convertor. Thanks! > Solr 4.9 > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/exporting-to-CSV-with-solrj-tp4166845.html > Sent from the Solr - User mailing list archive at Nabble.com.

exporting to CSV with solrj

2014-10-31 Thread tedsolr
View this message in context: http://lucene.472066.n3.nabble.com/exporting-to-CSV-with-solrj-tp4166845.html Sent from the Solr - User mailing list archive at Nabble.com.