# ES won't index couchdb

**URL:** <https://discuss.elastic.co/t/es-wont-index-couchdb/7413>\
**Category:** Elasticsearch\
**Created:** [April 20, 2012, 7:56am UTC](https://discuss.elastic.co/t/es-wont-index-couchdb/7413 "2012-04-20T07:56:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nic\_Luciano](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@Nic\_Luciano](https://discuss.elastic.co/u/Nic_Luciano)\
**Post date:** [April 20, 2012, 7:56am UTC](https://discuss.elastic.co/t/es-wont-index-couchdb/7413/1 "2012-04-20T07:56:44Z")

</div>

hi all,

i've followed the steps here[http://www.elasticsearch.org/tutorials/2010/08/01/couchb-integration.html](http://www.elasticsearch.org/tutorials/2010/08/01/couchb-integration.html)but cannot get es to index my couchdb. i have tried on two separate  
instances of es. what's more interesting, is that one of those instances  
has already indexed, and is currently indexing changes from the same  
database. but when i try to create a new index on either instance, it  
seemingly does nothing.

i've verified:  
1 - GET couchhost/testdb shows 17444183 documents  
2 - PUT eshost/\_river/testindex/\_meta returns OK  
3 - GET eshost/\_river/testindex/\_meta shows correct credentials for couchdb  
(i should note this result is identical when i compare it to the meta  
information for the current working index)  
4 - GET eshost/testindex/\_stats shows 0 documents

i also tried creating a new couchdb environment with only 1 document, no  
user and pass, on the same host as es, but experienced the same issue.

one bit that confused me is the guide i linked to doesn't suggest to create  
the index before putting the river meta. i did however try PUT to \_river  
both before and after creating the index, and it didn't seem to make a  
difference.

i'm just out of ideas here and any help will be greatly appreciated...  
thanks very kindly...

---

<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:** [April 20, 2012, 8:03am UTC](https://discuss.elastic.co/t/es-wont-index-couchdb/7413/2 "2012-04-20T08:03:11Z")

</div>

Try to follow instructions from here : [GitHub - elastic/elasticsearch-river-couchdb: CouchDB River Plugin for elasticsearch (STOPPED)](https://github.com/elasticsearch/elasticsearch-river-couchdb)

Tutorial is a bit old.

Let us know.

HTH  
David 😉  
Twitter : @dadoonet / @elasticsearchfr

Le 20 avr. 2012 à 09:56, Nic Luciano [caden@catshirt.net](mailto:caden@catshirt.net) a écrit :

> hi all,
> 
> i've followed the steps here but cannot get es to index my couchdb. i have tried on two separate instances of es. what's more interesting, is that one of those instances has already indexed, and is currently indexing changes from the same database. but when i try to create a new index on either instance, it seemingly does nothing.
> 
> i've verified:  
> 1 - GET couchhost/testdb shows 17444183 documents  
> 2 - PUT eshost/\_river/testindex/\_meta returns OK  
> 3 - GET eshost/\_river/testindex/\_meta shows correct credentials for couchdb (i should note this result is identical when i compare it to the meta information for the current working index)  
> 4 - GET eshost/testindex/\_stats shows 0 documents
> 
> i also tried creating a new couchdb environment with only 1 document, no user and pass, on the same host as es, but experienced the same issue.
> 
> one bit that confused me is the guide i linked to doesn't suggest to create the index before putting the river meta. i did however try PUT to \_river both before and after creating the index, and it didn't seem to make a difference.
> 
> i'm just out of ideas here and any help will be greatly appreciated... thanks very kindly...

---

<div class="post-metadata">

**Author:** ![Nic\_Luciano](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@Nic\_Luciano](https://discuss.elastic.co/u/Nic_Luciano)\
**Post date:** [April 20, 2012, 8:15am UTC](https://discuss.elastic.co/t/es-wont-index-couchdb/7413/3 "2012-04-20T08:15:05Z")

</div>

hi david thanks for the response.

i did reference this a bit, but i'm not sure i see the difference in  
indexing between the two. if i check GET /\_river/testdb/\_meta, i see a  
source for couchdb that, i believe, matches the link you just posted.  
[{ \_index: "\_river", \_type: "testdb", \_id: "\_meta", \_version: 2, e - Pastebin.com](http://pastebin.com/9ZbxmHep) (and i checked that hostip:5984/testdb returns  
the expected document information).

i feel like maybe i am missing something simple? thanks again...

On Friday, April 20, 2012 4:03:11 AM UTC-4, David Pilato wrote:

> Try to follow instructions from here :  
> [GitHub - elastic/elasticsearch-river-couchdb: CouchDB River Plugin for elasticsearch (STOPPED)](https://github.com/elasticsearch/elasticsearch-river-couchdb)
> 
> Tutorial is a bit old.
> 
> Let us know.
> 
> HTH  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr
> 
> Le 20 avr. 2012 à 09:56, Nic Luciano [caden@catshirt.net](mailto:caden@catshirt.net) a écrit :
> 
> hi all,
> 
> i've followed the steps here[http://www.elasticsearch.org/tutorials/2010/08/01/couchb-integration.html](http://www.elasticsearch.org/tutorials/2010/08/01/couchb-integration.html)but cannot get es to index my couchdb. i have tried on two separate  
> instances of es. what's more interesting, is that one of those instances  
> has already indexed, and is currently indexing changes from the same  
> database. but when i try to create a new index on either instance, it  
> seemingly does nothing.
> 
> i've verified:  
> 1 - GET couchhost/testdb shows 17444183 documents  
> 2 - PUT eshost/\_river/testindex/\_meta returns OK  
> 3 - GET eshost/\_river/testindex/\_meta shows correct credentials for  
> couchdb (i should note this result is identical when i compare it to the  
> meta information for the current working index)  
> 4 - GET eshost/testindex/\_stats shows 0 documents
> 
> i also tried creating a new couchdb environment with only 1 document, no  
> user and pass, on the same host as es, but experienced the same issue.
> 
> one bit that confused me is the guide i linked to doesn't suggest to  
> create the index before putting the river meta. i did however try PUT to  
> \_river both before and after creating the index, and it didn't seem to make  
> a difference.
> 
> i'm just out of ideas here and any help will be greatly appreciated...  
> thanks very kindly...

---

<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:** [April 20, 2012, 8:25am UTC](https://discuss.elastic.co/t/es-wont-index-couchdb/7413/4 "2012-04-20T08:25:45Z")

</div>

Do you see the couchDb plugin starts in logs when Elasticsearch starts ?

David 😉  
Twitter : @dadoonet / @elasticsearchfr

Le 20 avr. 2012 à 10:15, Nic Luciano [caden@catshirt.net](mailto:caden@catshirt.net) a écrit :

> hi david thanks for the response.
> 
> i did reference this a bit, but i'm not sure i see the difference in indexing between the two. if i check GET /\_river/testdb/\_meta, i see a source for couchdb that, i believe, matches the link you just posted. [{ \_index: "\_river", \_type: "testdb", \_id: "\_meta", \_version: 2, e - Pastebin.com](http://pastebin.com/9ZbxmHep) (and i checked that hostip:5984/testdb returns the expected document information).
> 
> i feel like maybe i am missing something simple? thanks again...
> 
> On Friday, April 20, 2012 4:03:11 AM UTC-4, David Pilato wrote:  
> Try to follow instructions from here : [GitHub - elastic/elasticsearch-river-couchdb: CouchDB River Plugin for elasticsearch (STOPPED)](https://github.com/elasticsearch/elasticsearch-river-couchdb)
> 
> Tutorial is a bit old.
> 
> Let us know.
> 
> HTH  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr
> 
> Le 20 avr. 2012 à 09:56, Nic Luciano [caden@catshirt.net](mailto:caden@catshirt.net) a écrit :
> 
> > hi all,
> > 
> > i've followed the steps here but cannot get es to index my couchdb. i have tried on two separate instances of es. what's more interesting, is that one of those instances has already indexed, and is currently indexing changes from the same database. but when i try to create a new index on either instance, it seemingly does nothing.
> > 
> > i've verified:  
> > 1 - GET couchhost/testdb shows 17444183 documents  
> > 2 - PUT eshost/\_river/testindex/\_meta returns OK  
> > 3 - GET eshost/\_river/testindex/\_meta shows correct credentials for couchdb (i should note this result is identical when i compare it to the meta information for the current working index)  
> > 4 - GET eshost/testindex/\_stats shows 0 documents
> > 
> > i also tried creating a new couchdb environment with only 1 document, no user and pass, on the same host as es, but experienced the same issue.
> > 
> > one bit that confused me is the guide i linked to doesn't suggest to create the index before putting the river meta. i did however try PUT to \_river both before and after creating the index, and it didn't seem to make a difference.
> > 
> > i'm just out of ideas here and any help will be greatly appreciated... thanks very kindly...

---

<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:31am UTC](https://discuss.elastic.co/t/es-wont-index-couchdb/7413/5 "2017-07-06T03:31:42Z")

</div>


