couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Pilato (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1263) Filter attachements in _changes API
Date Sun, 28 Aug 2011 20:50:37 GMT


David Pilato commented on COUCHDB-1263:


I'm working on the Elastic Search river. I add an option to discard _attachements on client
But I was wondering if it could be a nice idea to have it on the server side.

At first, I thought that the _changes API was giving all fields (and the attachment content
itself) with the include_doc=true option. But as far as I can see, _changes API provides only
meta informations about attachments, not the attachment itself.
So my improvement doesn't really improve something (I mean in term of speed and data transfert

I think we can close this issue as a "won't be fix" issue...

> Filter attachements in _changes API
> -----------------------------------
>                 Key: COUCHDB-1263
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 1.1
>         Environment: All
>            Reporter: David Pilato
>            Priority: Minor
>              Labels: api-change, changes
> It could be useful to have a filter on attachements in _changes API.
> A call like below (note the filter_attachements=true new option) :
> http://localhost:5984/myindex/_changes?feed=continuous&heartbeat=10000&include_docs=true&filter_attachements=true
> will remove the _attachments field for each response.
> A JIRA seems to talk of a more wild improvement,
but I would like to have a really easier way for attachements.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message