couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randall Leeds (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1263) Filter attachements in _changes API
Date Sat, 27 Aug 2011 20:44:37 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092379#comment-13092379
] 

Randall Leeds commented on COUCHDB-1263:
----------------------------------------

Can you explain briefly why this it is the client that doesn't care can't just discard the
_attachments field themselves? What is the use case?

> Filter attachements in _changes API
> -----------------------------------
>
>                 Key: COUCHDB-1263
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1263
>             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 https://issues.apache.org/jira/browse/COUCHDB-390,
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: http://www.atlassian.com/software/jira

        

Mime
View raw message