@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
: "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
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
"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
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 -
: 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
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:
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.
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