# Record is not showing in couchdb

**URL:** <https://discuss.elastic.co/t/record-is-not-showing-in-couchdb/4052>\
**Category:** Elasticsearch\
**Created:** [March 7, 2011, 11:14pm UTC](https://discuss.elastic.co/t/record-is-not-showing-in-couchdb/4052 "2011-03-07T23:14:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jason](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@jason](https://discuss.elastic.co/u/jason)\
**Post date:** [March 7, 2011, 11:14pm UTC](https://discuss.elastic.co/t/record-is-not-showing-in-couchdb/4052/1 "2011-03-07T23:14:48Z")

</div>

Hello,

I am running ES on windows. I installed river-couchdb plugin and  
indexed my database, let's call index eug\_idx and call database  
eugdb. Then I ran the command in shell command under windows to index  
a new document with firstname and lastname fields:

C:\>curl -X PUT [http://localhost:9200/\_river/eug\_idx/1](http://localhost:9200/_river/eug_idx/1) -d @sample.json  
{"ok":true,"\_index":"\_river","\_type":"eug\_idx","\_id":"1","\_version":4}

where sample.json file has contents below.

{  
"firstname": "test1",  
"lastname: "test2"  
}

However, the new index (record) does not show in the 'eugdb' database  
when I go to [http://localhost:5984/eugdb](http://localhost:5984/eugdb).

Is it the expected behavior, or I somehow did not integrate ES with  
couchdb properly?

Thanks,  
Eugene.

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [March 8, 2011, 6:46am UTC](https://discuss.elastic.co/t/record-is-not-showing-in-couchdb/4052/2 "2011-03-08T06:46:26Z")

</div>

The river will mirror changes done to couchdb into elasticsearch, not the other way around.  
On Tuesday, March 8, 2011 at 1:14 AM, eugene wrote:

> Hello,
> 
> I am running ES on windows. I installed river-couchdb plugin and  
> indexed my database, let's call index eug\_idx and call database  
> eugdb. Then I ran the command in shell command under windows to index  
> a new document with firstname and lastname fields:
> 
> C:\>curl -X PUT [http://localhost:9200/\_river/eug\_idx/1](http://localhost:9200/_river/eug_idx/1) -d @sample.json  
> {"ok":true,"\_index":"\_river","\_type":"eug\_idx","\_id":"1","\_version":4}
> 
> where sample.json file has contents below.
> 
> {  
> "firstname": "test1",  
> "lastname: "test2"  
> }
> 
> However, the new index (record) does not show in the 'eugdb' database  
> when I go to [http://localhost:5984/eugdb](http://localhost:5984/eugdb).
> 
> Is it the expected behavior, or I somehow did not integrate ES with  
> couchdb properly?
> 
> Thanks,  
> Eugene.

---

<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, 4:10am UTC](https://discuss.elastic.co/t/record-is-not-showing-in-couchdb/4052/3 "2017-07-06T04:10:36Z")

</div>


