# Best way to index and search 1 GB+ existing data in couchDB?

**URL:** <https://discuss.elastic.co/t/best-way-to-index-and-search-1-gb-existing-data-in-couchdb/8241>\
**Category:** Elasticsearch\
**Created:** [June 27, 2012, 4:17pm UTC](https://discuss.elastic.co/t/best-way-to-index-and-search-1-gb-existing-data-in-couchdb/8241 "2012-06-27T16:17:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shadow](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@shadow](https://discuss.elastic.co/u/shadow)\
**Post date:** [June 27, 2012, 4:17pm UTC](https://discuss.elastic.co/t/best-way-to-index-and-search-1-gb-existing-data-in-couchdb/8241/1 "2012-06-27T16:17:06Z")

</div>

Hello all

I'm a beginner with couchDB and Elastic Search. After having read a bunch  
of articles and blogs, I decided to send you a message and see if you have  
a solution/a better way of doing what I'm trying to do.

So I have this 1 GB of text data in a couchDB (this data may bet changed  
(edited/appended/deleted) on a daily basis. I want to provide a good search  
functionality (text based). For that I decided to use river of elastic  
search for indexing. Now I know how to set up a river and keep trace of  
changes

(basically just seeing up a curl -XPOST as shown in multiple examples on  
net), but what I also want to do is to index the already present data...

Is there a way in elastic search to do that. If yes, can you point me to  
the right documentation/ sample code?

Thanks

---

<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:** [June 27, 2012, 7:23pm UTC](https://discuss.elastic.co/t/best-way-to-index-and-search-1-gb-existing-data-in-couchdb/8241/2 "2012-06-27T19:23:02Z")

</div>

Hey

Did you look at : [https://github.com/elasticsearch/elasticsearch-river-couchdb](https://github.com/elasticsearch/elasticsearch-river-couchdb) ?

Just two steps :

· Install the plugin and start your ES node

· Create the river

All your existing docs will be sent to ES. New docs, updates, deletes will also be sent to ES.

Is it what you are looking for ?

David.

De : [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com) [[mailto:elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com)] De la part de Shadow  
Envoyé : mercredi 27 juin 2012 18:17  
À : [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com)  
Objet : Best way to index and search 1 GB+ existing data in couchDB?

Hello all

I'm a beginner with couchDB and Elastic Search. After having read a bunch of articles and blogs, I decided to send you a message and see if you have a solution/a better way of doing what I'm trying to do.

So I have this 1 GB of text data in a couchDB (this data may bet changed (edited/appended/deleted) on a daily basis. I want to provide a good search functionality (text based). For that I decided to use river of elastic search for indexing. Now I know how to set up a river and keep trace of changes

(basically just seeing up a curl -XPOST as shown in multiple examples on net), but what I also want to do is to index the already present data...

Is there a way in elastic search to do that. If yes, can you point me to the right documentation/ sample code?

Thanks

---

<div class="post-metadata">

**Author:** ![shadow](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@shadow](https://discuss.elastic.co/u/shadow)\
**Post date:** [June 27, 2012, 10:40pm UTC](https://discuss.elastic.co/t/best-way-to-index-and-search-1-gb-existing-data-in-couchdb/8241/3 "2012-06-27T22:40:39Z")

</div>

Yes I did. I actually have setup Elasticsearch indexing of my couched on  
my localhost right now...  
Initially I wasn't sure if it would index from start or not, but after  
giving it some time, it did. So that worked.

But what I'm trying to do however is do searches on that indexing and  
looking for examples of how people write search programs on top of these  
indexes... do you/ anyone else have any examples which could guide me in  
that direction?

Thanks

On Wednesday, June 27, 2012 12:23:02 PM UTC-7, David Pilato wrote:

> Hey
> 
> Did you look at :  
> [GitHub - elastic/elasticsearch-river-couchdb: CouchDB River Plugin for elasticsearch (STOPPED)](https://github.com/elasticsearch/elasticsearch-river-couchdb) ?
> 
> Just two steps :
> 
> · Install the plugin and start your ES node
> 
> · Create the river
> 
> All your existing docs will be sent to ES. New docs, updates, deletes will  
> also be sent to ES.
> 
> Is it what you are looking for ?
> 
> David.
> 
> _De :_ [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com) [mailto:  
> [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com)] _De la part de_ Shadow  
> _Envoyé :_ mercredi 27 juin 2012 18:17  
> _À :_ [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com)  
> _Objet :_ Best way to index and search 1 GB+ existing data in couchDB?
> 
> Hello all
> 
> I'm a beginner with couchDB and Elastic Search. After having read a bunch  
> of articles and blogs, I decided to send you a message and see if you have  
> a solution/a better way of doing what I'm trying to do.
> 
> So I have this 1 GB of text data in a couchDB (this data may bet changed  
> (edited/appended/deleted) on a daily basis. I want to provide a good search  
> functionality (text based). For that I decided to use river of elastic  
> search for indexing. Now I know how to set up a river and keep trace of  
> changes
> 
> (basically just seeing up a curl -XPOST as shown in multiple examples on  
> net), but what I also want to do is to index the already present data...
> 
> Is there a way in Elasticsearch to do that. If yes, can you point me to  
> the right documentation/ sample code?
> 
> Thanks

---

<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:22am UTC](https://discuss.elastic.co/t/best-way-to-index-and-search-1-gb-existing-data-in-couchdb/8241/4 "2017-07-06T03:22:19Z")

</div>


