You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Enrique Flores <ef...@gmail.com> on 2010/10/02 12:49:40 UTC

Return doc data with _changes feed?

Hi,

We are monitoring a database with the continuous changes API, but our bottleneck now is that we then have to turn around and request the actual doc for every change, is there a way to configure the changes feed to go ahead and return the whole doc instead of just its _id?

thanks,
Enrique



Re: Return doc data with _changes feed?

Posted by Cliff Williams <cl...@aol.com>.
  Note to self ................................ read emails top down 
rather than bottom up ................ Robert had already replied 5hrs ago

Apologies Robert

Best regards

Cliff

On 02/10/10 16:19, Cliff Williams wrote:
>  Enrique
>
> I think that it is something like
>
> _changes?feed=continuous&include_docs=true
>
> best regards
>
> cliff
>
>
>
> On 02/10/10 11:49, Enrique Flores wrote:
>> Hi,
>>
>> We are monitoring a database with the continuous changes API, but our 
>> bottleneck now is that we then have to turn around and request the 
>> actual doc for every change, is there a way to configure the changes 
>> feed to go ahead and return the whole doc instead of just its _id?
>>
>> thanks,
>> Enrique
>>
>>
>

Re: Return doc data with _changes feed?

Posted by Cliff Williams <cl...@aol.com>.
  Enrique

I think that it is something like

_changes?feed=continuous&include_docs=true

best regards

cliff



On 02/10/10 11:49, Enrique Flores wrote:
> Hi,
>
> We are monitoring a database with the continuous changes API, but our bottleneck now is that we then have to turn around and request the actual doc for every change, is there a way to configure the changes feed to go ahead and return the whole doc instead of just its _id?
>
> thanks,
> Enrique
>
>

Re: Return doc data with _changes feed?

Posted by Robert Newson <ro...@gmail.com>.
Since 0.11 you can add include_docs=true to your _changes query.

http://wiki.apache.org/couchdb/HTTP_database_API#Changes

B.

On Sat, Oct 2, 2010 at 11:49 AM, Enrique Flores <ef...@gmail.com> wrote:
> Hi,
>
> We are monitoring a database with the continuous changes API, but our bottleneck now is that we then have to turn around and request the actual doc for every change, is there a way to configure the changes feed to go ahead and return the whole doc instead of just its _id?
>
> thanks,
> Enrique
>
>
>