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
"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. Commodity search exists, not matter what Paul Nelson writes and part of that problem is due to advanced users always rewriting the reqs and specs of less experi

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 Solr -

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
Why do you want to use CSV in SolrJ? You would just have to parse it again. You could just trigger that as a URL call from outside with cURL or as just an HTTP (not SolrJ) call from Java client. Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter:

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
When you fire a query against Solr with the wt=csv the response coming from Solr is *already* in CSV, the CSVResponseWriter is responsible for translating SolrDocument instances into a CSV on the server side, son I don’t see any reason on using it by your self, Solr already do the heavy lifting

Re: Exporting to CSV

2011-03-30 Thread Erick Erickson
You can also just go up to Jenkins (the build server) and check out the nightly build of your choice. Start at; https://builds.apache.org/hudson/view/S-Z/view/Solr/job/Solr-3.x/ Click on the date of your choice and you should see a page with the build artifacts on it. Best Erick On Tue, Mar 29,

Re: Exporting to CSV

2011-03-30 Thread stockii
http://yonik.wordpress.com/2010/07/29/csv-output-for-solr/ - --- System One Server, 12 GB RAM, 2 Solr Instances, 7 Cores, 1 Core with 31 Million Documents other Cores < 100.000 - Solr1 for Search-Requests - commit every Mi

Re: Exporting to CSV

2011-03-29 Thread Estrada Groups
Check out the trunk version of Solr and build that. Those mods are in there for sure. I think the version in trunk is 4.0 but that discussion should be on a different thread ;-) Adam On Mar 29, 2011, at 11:35 PM, Charles Wardell wrote: > Hi Koji, > > Do you mean that adding &wt=csv to my h

Re: Exporting to CSV

2011-03-29 Thread Charles Wardell
Hi Koji, Do you mean that adding &wt=csv to my http request will give me a csv? The only downloads that I see on the SOLR site is for 1.4.x Is there a 3.1 beta? On Mar 29, 2011, at 10:32 PM, Koji Sekiguchi wrote: > (11/03/30 10:59), Charles Wardell wrote: >> Is there an easy way to get queried

Re: Exporting to CSV

2011-03-29 Thread Koji Sekiguchi
(11/03/30 10:59), Charles Wardell wrote: Is there an easy way to get queried data exported from solr in a csv format? Hoping there is a handler or library for this. Charlie, Solr 3.1, will be released shortly, has csv response writer which is implicitly defined. Try &wt=csv request parameter.