# Zero docs found while indexing a couchdb database (with docs)

**URL:** <https://discuss.elastic.co/t/zero-docs-found-while-indexing-a-couchdb-database-with-docs/12332>\
**Category:** Elasticsearch\
**Created:** [June 8, 2013, 10:22pm UTC](https://discuss.elastic.co/t/zero-docs-found-while-indexing-a-couchdb-database-with-docs/12332 "2013-06-08T22:22:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fatima\_Castiglione\_M](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fatima_castiglione_m/32/2252_2.png) [@Fatima\_Castiglione\_M](https://discuss.elastic.co/u/Fatima_Castiglione_M)\
**Post date:** [June 8, 2013, 10:22pm UTC](https://discuss.elastic.co/t/zero-docs-found-while-indexing-a-couchdb-database-with-docs/12332/1 "2013-06-08T22:22:36Z")

</div>

Hi,

this is my first time in the list.

I am using:

Ubuntu 13.04  
CouchDB 1.2.0  
ElasticSearch 0.90.1  
\_head plug-in (downloaded a couple days ago)  
\_river plug-in (downloaded a couple days ago)

Found ElasticSearch to be an amazing product, but I am even more amazed by  
the lack of documentation, and specially, by the lack of tutorials, so I am  
doing my best. Sorry if I ask some foolish questions, but...  
There are a few questions that I cannot answer after much google search.

1. How do I know which configurations files is the db using ?

There are two here (I guess they were installed by default) :  
/etc/elasticsearch/elasticsearch.yml  
/etc/elasticsearch/logging.yml

And another pair there (I put them there) :  
/usr/share/elasticsearch/conf/elasticsearch.yml  
/usr/share/elasticsearch/conf/logging.yml

1. Where can I find a couple of example config files ?  
(I just could not find them)

2. How can I stop and restart ElasticSearch ?  
(just could not find that in the documentation neither)

3. The real problem:

I got this CouchDB db running, its \_changes look ok:  
[http://localhost:5984/tigertest/\_changes](http://localhost:5984/tigertest/_changes)

{"results":[  
{"seq":1,"id":"cesky.html","changes":[{"rev":"1-ddcdcb89d2ccb130ef1685d5570e0128"}]},  
{"seq":2,"id":"cat.html","changes":[{"rev":"1-e86c091cd7f96ca600673fa3a67abdb6"}]},  
{"seq":3,"id":"abenaki.html","changes":[{"rev":"1-945504c6dc28641a82ace9ccda0b91af"}]},  
{"seq":4,"id":"chamorro.html","changes":[{"rev":"1-ade4d0ab8744facc7867486df5cdeee5"}]},

(some 150 more docs follows)

I created a \_river using this code:

curl -XPUT '127.0.0.1:9200/\_river/tigertest/\_meta' -d '{  
"type" : "couchdb",  
"couchdb" : {  
"host" : "127.0.0.1",  
"port" : 5984,  
"db" : "tigertest",  
"filter" : null  
},  
"index" : {  
"index" : "tigertest",  
"type" : "tigertest",  
"bulk\_size" : "100",  
"bulk\_timeout" : "10ms" }  
}'

Then all I see is this:

\_river  
size: 3.8kb (3.8kb)  
docs: 2 (2)

tigertest  
size: 495b (495b)  
docs: 0 (0)

It looks like it does not see nothing from the \_changes  
What may I look for?

Thanks in advance,  
Fatima

# --

Fátima Castiglione Maldonado  
[castiglionemaldonado@gmail.com](mailto:castiglionemaldonado@gmail.com)

```
                 ____
               ,'_ |

```

**_|||  
\< ) .------.  
 `-----------,------.-' ,-'`-.  
| | | ,' `. ,' | | ,'`.  
| ,-' |_ /   
 _,'-' `.`---._|**\_\_\_\_\_   
.--' -----. | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ `-. ----- | | ___| | | \ ,- \ | |___ | |===========================((|) | | | | | | _____________________ /`- / |  
`--._ -----' | _________________ ,-' ----- |`.-.\_ ,' \_\_.---' | /  
| `-. | \ /`. | | `. ,' | | |`. ,'  
\_\_\_\_\_,----------`-------`-. `-._ _,-' < ___________________________ )`------'  
| _| |  
`._\_\_\_|

=================================

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:32am UTC](https://discuss.elastic.co/t/zero-docs-found-while-indexing-a-couchdb-database-with-docs/12332/2 "2017-07-06T02:32:08Z")

</div>

Closed on July 6, 2017, 2:32am UTC


