# Couchdb river and highlighting fields

**URL:** <https://discuss.elastic.co/t/couchdb-river-and-highlighting-fields/3700>\
**Category:** Elasticsearch\
**Created:** [December 25, 2010, 8:59pm UTC](https://discuss.elastic.co/t/couchdb-river-and-highlighting-fields/3700 "2010-12-25T20:59:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Albin\_Stigo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/albin_stigo/32/3227_2.png) [@Albin\_Stigo](https://discuss.elastic.co/u/Albin_Stigo)\
**Post date:** [December 25, 2010, 8:59pm UTC](https://discuss.elastic.co/t/couchdb-river-and-highlighting-fields/3700/1 "2010-12-25T20:59:42Z")

</div>

Hi,

I'm using the couchdb river plugin which is working great "out of the box".

I would like to apply highlighting. I understand fields have to be  
stored for this, but I can't figure out how to configure the river to  
store fields. Could anyone point me in the general right direction  
:-)?

--Albin

---

<div class="post-metadata">

**Author:** ![Albin\_Stigo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/albin_stigo/32/3227_2.png) [@Albin\_Stigo](https://discuss.elastic.co/u/Albin_Stigo)\
**Post date:** [December 25, 2010, 9:34pm UTC](https://discuss.elastic.co/t/couchdb-river-and-highlighting-fields/3700/2 "2010-12-25T21:34:56Z")

</div>

I found the answer to my own question. Short version: create index and  
type with mapping. Then start the river.

It's here if anyone is interested (maybe it should also be mentioned  
in the "official" docs):

> **[GitHub - elastic/elasticsearch: Free and Open, Distributed, RESTful Search...](https://github.com/elastic/elasticsearch)**
>
> Free and Open, Distributed, RESTful Search Engine. Contribute to elastic/elasticsearch development by creating an account on GitHub.

--albin

On Sun, Dec 26, 2010 at 5:59 AM, Albin Stigo [albin.stigo@gmail.com](mailto:albin.stigo@gmail.com) wrote:

> Hi,
> 
> I'm using the couchdb river plugin which is working great "out of the box".
> 
> I would like to apply highlighting. I understand fields have to be  
> stored for this, but I can't figure out how to configure the river to  
> store fields. Could anyone point me in the general right direction  
> :-)?
> 
> --Albin

---

<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:14am UTC](https://discuss.elastic.co/t/couchdb-river-and-highlighting-fields/3700/3 "2017-07-06T04:14:48Z")

</div>

Closed on July 6, 2017, 4:14am UTC


