# Reading all Data from Elastic Search using java program

**URL:** <https://discuss.elastic.co/t/reading-all-data-from-elastic-search-using-java-program/8177>\
**Category:** Elasticsearch\
**Created:** [June 21, 2012, 7:31am UTC](https://discuss.elastic.co/t/reading-all-data-from-elastic-search-using-java-program/8177 "2012-06-21T07:31:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sumit\_Guptaa](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Sumit\_Guptaa](https://discuss.elastic.co/u/Sumit_Guptaa)\
**Post date:** [June 21, 2012, 7:31am UTC](https://discuss.elastic.co/t/reading-all-data-from-elastic-search-using-java-program/8177/1 "2012-06-21T07:31:12Z")

</div>

hi all,

can any body tell me the process for how we can read data from Elastic Search and insert it into Couchdb using java program....

please help me in finding the things like...

1. how we can read data from elastic search and if we want to read data from data folder then how we can insert it into couchdb.
2. tell me the way for reading data from elastic search using java program..

thanx in advance

Regards,  
Sumit Gupta

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 21, 2012, 9:02am UTC](https://discuss.elastic.co/t/reading-all-data-from-elastic-search-using-java-program/8177/2 "2012-06-21T09:02:00Z")

</div>

Have a look at scan and scroll features.

HTH  
David 😉  
Twitter : @dadoonet / @elasticsearchfr

Le 21 juin 2012 à 09:31, Sumit Guptaa [sumit.gupta.ngi@gmail.com](mailto:sumit.gupta.ngi@gmail.com) a écrit :

> hi all,
> 
> can any body tell me the process for how we can read data from Elastic  
> Search and insert it into Couchdb using java program....
> 
> please help me in finding the things like...
> 
> 1. how we can read data from Elasticsearch and if we want to read data from  
> data folder then how we can insert it into couchdb.
> 2. tell me the way for reading data from Elasticsearch using java program..
> 
> thanx in advance
> 
> Regards,  
> Sumit Gupta
> 
> --  
> View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/Reading-all-Data-from-Elastic-Search-using-java-program-tp4019546.html](http://elasticsearch-users.115913.n3.nabble.com/Reading-all-Data-from-Elastic-Search-using-java-program-tp4019546.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![jagdeep](https://avatars.discourse-cdn.com/v4/letter/j/ba8739/32.png) [@jagdeep](https://discuss.elastic.co/u/jagdeep)\
**Post date:** [June 21, 2012, 9:12am UTC](https://discuss.elastic.co/t/reading-all-data-from-elastic-search-using-java-program/8177/3 "2012-06-21T09:12:16Z")

</div>

David is right. Scroll is the right option for reading the complete  
data.

On Jun 21, 2:02 pm, David Pilato [da...@pilato.fr](mailto:da...@pilato.fr) wrote:

> Have a look at scan and scroll features.
> 
> HTH  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr
> 
> Le 21 juin 2012 à 09:31, Sumit Guptaa [sumit.gupta....@gmail.com](mailto:sumit.gupta....@gmail.com) a écrit :
> 
> > hi all,
> 
> > can any body tell me the process for how we can read data from Elastic  
> > Search and insert it into Couchdb using java program....
> 
> > please help me in finding the things like...
> 
> > 1. how we can read data from Elasticsearch and if we want to read data from  
> > data folder then how we can insert it into couchdb.
> > 2. tell me the way for reading data from Elasticsearch using java program..
> 
> > thanx in advance
> 
> > Regards,  
> > Sumit Gupta
> 
> > --  
> > View this message in context:[http://elasticsearch-users.115913.n3.nabble.com/Reading-all-Data-from](http://elasticsearch-users.115913.n3.nabble.com/Reading-all-Data-from)...  
> > Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:23am UTC](https://discuss.elastic.co/t/reading-all-data-from-elastic-search-using-java-program/8177/4 "2017-07-06T03:23:08Z")

</div>


