Indexing CouchDB documents prior to the creation of a River

Hi there, apologies for a noob question but I couldn't see it in the
FAQ.

I've set up my Couch River and it's working well but I wanted to check
about adding the documents created prior to the establishment of the
River. Do I just add them to the River index as you would a normal
index?

You mean documents in couch that existed before the index was created and indexing them? They get added since the river uses the _change API, and that returns the whole couch "past" documents and future ones.
On Friday, May 6, 2011 at 9:33 AM, Robert Rees wrote:

Hi there, apologies for a noob question but I couldn't see it in the
FAQ.

I've set up my Couch River and it's working well but I wanted to check
about adding the documents created prior to the establishment of the
River. Do I just add them to the River index as you would a normal
index?

Hmmm, thanks. That's the way I thought it should work but I didn't see it in
practice. Let me go back and check my river creation logic on a fresh
install.

On Fri, May 6, 2011 at 4:23 PM, Shay Banon shay.banon@elasticsearch.comwrote:

You mean documents in couch that existed before the index was created and
indexing them? They get added since the river uses the _change API, and that
returns the whole couch "past" documents and future ones.

On Friday, May 6, 2011 at 9:33 AM, Robert Rees wrote:

Hi there, apologies for a noob question but I couldn't see it in the
FAQ.

I've set up my Couch River and it's working well but I wanted to check
about adding the documents created prior to the establishment of the
River. Do I just add them to the River index as you would a normal
index?

Okay, I've run through the process and it all seems to be working now so I
think it might have been a mix of unfamiliarity and typos in my search test.

It would have been really handy for me if the documentation on creating the
CouchDB River (after the Status section) included a quick cut and paste curl
"find all" sanity check.

On Sun, May 8, 2011 at 11:37 AM, Robert Rees robert@wazoku.com wrote:

Hmmm, thanks. That's the way I thought it should work but I didn't see it
in practice. Let me go back and check my river creation logic on a fresh
install.

On Fri, May 6, 2011 at 4:23 PM, Shay Banon shay.banon@elasticsearch.comwrote:

You mean documents in couch that existed before the index was created and
indexing them? They get added since the river uses the _change API, and that
returns the whole couch "past" documents and future ones.

On Friday, May 6, 2011 at 9:33 AM, Robert Rees wrote:

Hi there, apologies for a noob question but I couldn't see it in the
FAQ.

I've set up my Couch River and it's working well but I wanted to check
about adding the documents created prior to the establishment of the
River. Do I just add them to the River index as you would a normal
index?