Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 398B17084 for ; Sat, 27 Aug 2011 20:45:01 +0000 (UTC) Received: (qmail 97094 invoked by uid 500); 27 Aug 2011 20:45:00 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 97043 invoked by uid 500); 27 Aug 2011 20:44:59 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 97034 invoked by uid 99); 27 Aug 2011 20:44:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Aug 2011 20:44:59 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Aug 2011 20:44:57 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C0257D328E for ; Sat, 27 Aug 2011 20:44:37 +0000 (UTC) Date: Sat, 27 Aug 2011 20:44:37 +0000 (UTC) From: "Randall Leeds (JIRA)" To: dev@couchdb.apache.org Message-ID: <519647180.482.1314477877783.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <758787804.92.1314455137713.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COUCHDB-1263) Filter attachements in _changes API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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