You need to use the scan and scroll API for that.
See http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-scroll.html#scroll-scan
This class could help you in Java: https://github.com/elasticsearch/elasticsearch/blob/master/src/test/java/org/elasticsearch/search/scroll/SearchScrollTests.java
HTH
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr
Le 16 septembre 2014 à 16:13:13, John Smith (java.dev.mtl@gmail.com) a écrit:
Also it has to be done on the back end so JAVA it is...
On Tuesday, 16 September 2014 10:04:44 UTC-4, John Smith wrote:
Hi, building some sort of internal tool to export data from Elasticsearch and I would liek to offer csv or XML.
Just wondering what options there are...
Bassically a user can login to a front end (No I cannot use what is out there, it's only a small portion of a larger tool within the organization) put their query in and then select the export format: JSON, XML, CSV.
When I have the SearchResponse from onResponse() what options do i have here?
Thanks
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/93236154-59a4-45b3-a2f7-aa93c928bcba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.541847bd.275ac794.3c6%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/d/optout.