Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 65021 invoked from network); 27 Apr 2010 23:48:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 23:48:00 -0000 Received: (qmail 43120 invoked by uid 500); 27 Apr 2010 23:47:59 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 43010 invoked by uid 500); 27 Apr 2010 23:47:59 -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 43002 invoked by uid 99); 27 Apr 2010 23:47:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 23:47:59 +0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of misterpib@gmail.com designates 209.85.221.191 as permitted sender) Received: from [209.85.221.191] (HELO mail-qy0-f191.google.com) (209.85.221.191) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 23:47:54 +0000 Received: by qyk29 with SMTP id 29so819968qyk.14 for ; Tue, 27 Apr 2010 16:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=ima3vUFCpxRZLFKragZINUhi1QhI224MtxuKd+tbScM=; b=xOu1FlX7vnliQJPDFZC2gAmOmpu/LVHUZ2PZKVRUu3IZ9zaVYIf01epg3S4corc8IB 0SKeV04CPUFs0LfibWtE2m9xolNSwwdc3GfyuLxosKcgmISdXiPadC6TLLNdDHjgwV4H wFKvVXdMPXsdBGFPC3W/pdUSTLg0MU1ZdNbY0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=eXrY1IAWA8vBpUXMAVlkCEmmLJt26PFozBycXJbYlzvVEI/IwxKy9Semm/4JHD83aA TZItdUYoYhzP7ThU/Eyapgu4q0UTOV6UIERmq6OeqcrAW3mkyOOXpf6s7A7wZeoDzWJX 2gUK7+qU+u4gG94jPFgmZKLAXYhSIgyxgkZdc= Received: by 10.229.246.82 with SMTP id lx18mr2819677qcb.80.1272412053041; Tue, 27 Apr 2010 16:47:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.190.72 with HTTP; Tue, 27 Apr 2010 16:47:11 -0700 (PDT) In-Reply-To: References: From: Paul Bonser Date: Tue, 27 Apr 2010 18:47:11 -0500 Message-ID: Subject: Re: results without couch 'metadata' To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm pretty sure there is no such thing, but if it was to be added, I think it would be better to add something a little more general, such as "just_field" so you could do something like ?just_field=3Did/key/doc/value to get a list of all the ids/keys/docs/values, respectively. I don't like the name "just_field", that's just the first thing that came to mind, but I could see such a feature being useful. There'd be no need to wrap an extra doc around it, it could just be a json array returned, and it wouldn't make sense to strip out the _id and _rev, so with your example, you'd end up with the following being returned: [ {"_id":"1","_rev":"1","important":"stuff"} ] On Tue, Apr 27, 2010 at 5:36 PM, erich oliphant wrote: > Hi is there a way to get couch results without the extra metadata? =A0Per= haps > instead of 'include_docs' where you get: > > {"total_rows":1498,"offset":350,"rows":[{"id":"1","key":"1","doc":{"_id":= "1","_rev":"1","important":"stuff"}}]} > > a 'docs_only' or something =A0option that would return something like > {[{"important","stuff"}]} > > -- > Erich Oliphant > > "There are, in fact, two things, science and opinion, the former begets > knowledge, the latter ignorance" > -- Hippocrates of Cos > --=20 Paul Bonser http://probablyprogramming.com