Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 56958 invoked from network); 15 Jun 2010 02:27:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jun 2010 02:27:26 -0000 Received: (qmail 46404 invoked by uid 500); 15 Jun 2010 02:27:25 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 46355 invoked by uid 500); 15 Jun 2010 02:27:24 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 46347 invoked by uid 99); 15 Jun 2010 02:27:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 02:27:24 +0000 X-ASF-Spam-Status: No, hits=-1.1 required=10.0 tests=AWL,HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [203.5.217.4] (HELO digger1.defence.gov.au) (203.5.217.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 02:27:15 +0000 Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o5F2M0FR005430 for ; Tue, 15 Jun 2010 11:52:01 +0930 (CST) Received: from fmbex510.dsto.defence.gov.au (fmbex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id for ; Tue, 15 Jun 2010 11:56:52 +0930 Received: from ednex510.dsto.defence.gov.au ([131.185.2.170]) by fmbex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Jun 2010 12:26:51 +1000 Received: from ednex514.dsto.defence.gov.au ([131.185.2.174]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Jun 2010 11:56:46 +0930 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CB0C32.3345879D" Subject: Can I get just the keys from a view? [SEC=UNCLASSIFIED] Date: Tue, 15 Jun 2010 11:56:45 +0930 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Can I get just the keys from a view? [SEC=UNCLASSIFIED] Thread-Index: AcsMMjL0AE6ApUAOSHu4IeBLcwE6rw== From: "Lowry, Matthew" To: X-OriginalArrivalTime: 15 Jun 2010 02:26:46.0455 (UTC) FILETIME=[33A52470:01CB0C32] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17446.003 X-TM-AS-Result: No--8.772100-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No ------_=_NextPart_001_01CB0C32.3345879D Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi folks. A Couch newbie here with a question regarding the view API.=0D=0A= =0D=0AIs there any way that I can query a view and get just the key for eac= h=0D=0Arow, and omit the value?=0D=0A =0D=0AThe reason I ask is I'm working = with a view that generates a massive=0D=0Aamount of data - each document in = the database generates many hundreds=0D=0Aof rows in the view. Each row has = a large value object. But all I want=0D=0Ato do is get the keys. So it's was= ting a massive amount of time and=0D=0Aresources, both client and server sid= e, to have to pull both the key and=0D=0Avalue object for every row in the v= iew when all I want to see is the=0D=0Akey.=0D=0A =0D=0ASo is there actually= a mechanism in the view API to pull just the key=0D=0Afrom each row of a vi= ew? And if not, why not? That would be curiously=0D=0Aasymmetrical with the = document API, which allows me to get the IDs of=0D=0Aall the documents witho= ut requesting the documents themselves.=0D=0A =0D=0ACheers.=0D=0A=0D=0AIMPOR= TANT: This email remains the property of the Department of Defence and is su= bject to the jurisdiction of section 70 of the Crimes Act 1914. If you have = received this email in error, you are requested to contact the sender and de= lete the email.=0D=0A ------_=_NextPart_001_01CB0C32.3345879D--