ES won't index couchdb


(Nic Luciano) #1

hi all,

i've followed the steps herehttp://www.elasticsearch.org/tutorials/2010/08/01/couchb-integration.htmlbut 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...


(David Pilato) #2

Try to follow instructions from here : https://github.com/elasticsearch/elasticsearch-river-couchdb

Tutorial is a bit old.

Let us know.

HTH
David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 20 avr. 2012 à 09:56, Nic Luciano 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...


(Nic Luciano) #3

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.
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 :
https://github.com/elasticsearch/elasticsearch-river-couchdb

Tutorial is a bit old.

Let us know.

HTH
David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 20 avr. 2012 à 09:56, Nic Luciano caden@catshirt.net a écrit :

hi all,

i've followed the steps herehttp://www.elasticsearch.org/tutorials/2010/08/01/couchb-integration.htmlbut 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...


(David Pilato) #4

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

David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 20 avr. 2012 à 10:15, Nic Luciano 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. 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 : https://github.com/elasticsearch/elasticsearch-river-couchdb

Tutorial is a bit old.

Let us know.

HTH
David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 20 avr. 2012 à 09:56, Nic Luciano 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...


(system) #5