# CouchDB River not loading all CouchDB documents

**URL:** <https://discuss.elastic.co/t/couchdb-river-not-loading-all-couchdb-documents/5849>\
**Category:** Elasticsearch\
**Created:** [November 11, 2011, 6:24pm UTC](https://discuss.elastic.co/t/couchdb-river-not-loading-all-couchdb-documents/5849 "2011-11-11T18:24:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbattle](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@jbattle](https://discuss.elastic.co/u/jbattle)\
**Post date:** [November 11, 2011, 6:24pm UTC](https://discuss.elastic.co/t/couchdb-river-not-loading-all-couchdb-documents/5849/1 "2011-11-11T18:24:01Z")

</div>

I have an Elasticsearch instance with the river-couchdb plugin  
installed successfuly. I've followed the instruction here:  
[http://www.elasticsearch.org/tutorials/2010/08/01/couchb-integration.html](http://www.elasticsearch.org/tutorials/2010/08/01/couchb-integration.html)  
and am returned:

{"ok":true,"\_index":"\_river","\_type":"tasks","\_id":"\_meta","\_version":  
1}

So, as far as I see, it's is successful. My CouchDB has nearly 45000  
documents, and when I query elasticsearch as follows:

[http://localhost:9200/tasks/\_search?q=\*](http://localhost:9200/tasks/_search?q=*)

I am only return 1 document. Also checking the stats of this index  
only shows the index containing one document. Any ideas as to why only  
one document is be loaded into Elasticsearch?

Thanks

---

<div class="post-metadata">

**Author:** ![jbattle](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@jbattle](https://discuss.elastic.co/u/jbattle)\
**Post date:** [November 12, 2011, 1:12am UTC](https://discuss.elastic.co/t/couchdb-river-not-loading-all-couchdb-documents/5849/2 "2011-11-12T01:12:24Z")

</div>

I discovered this ultimately was not an issue with Elasticsearch, but  
with my mapping. In my local development environment I was using a  
much smaller Couch data set and thus the mapping conflicts were not  
encountered.

On Nov 11, 10:24 am, jbattle [jbat...@gmail.com](mailto:jbat...@gmail.com) wrote:

> I have an Elasticsearch instance with the river-couchdb plugin  
> installed successfuly. I've followed the instruction here:[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/tutorials/2010/08/01/couchb-integration)....  
> and am returned:
> 
> {"ok":true,"\_index":"\_river","\_type":"tasks","\_id":"\_meta","\_version":  
> 1}
> 
> So, as far as I see, it's is successful. My CouchDB has nearly 45000  
> documents, and when I query elasticsearch as follows:
> 
> [http://localhost:9200/tasks/\_search?q=](http://localhost:9200/tasks/_search?q=)\*
> 
> I am only return 1 document. Also checking the stats of this index  
> only shows the index containing one document. Any ideas as to why only  
> one document is be loaded into Elasticsearch?
> 
> Thanks

---

<div class="post-metadata">

**Author:** ![Klerisson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/klerisson/32/2878_2.png) [@Klerisson](https://discuss.elastic.co/u/Klerisson)\
**Post date:** [May 10, 2012, 11:53pm UTC](https://discuss.elastic.co/t/couchdb-river-not-loading-all-couchdb-documents/5849/3 "2012-05-10T23:53:01Z")

</div>

Did you find a way out of this problem?  
Thanks in advance!

---

<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:29am UTC](https://discuss.elastic.co/t/couchdb-river-not-loading-all-couchdb-documents/5849/4 "2017-07-06T03:29:19Z")

</div>


