Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 26492 invoked from network); 16 Oct 2008 00:16:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Oct 2008 00:16:10 -0000 Received: (qmail 348 invoked by uid 500); 16 Oct 2008 00:16:11 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 314 invoked by uid 500); 16 Oct 2008 00:16:11 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 303 invoked by uid 99); 16 Oct 2008 00:16:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Oct 2008 17:16:11 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jchris@gmail.com designates 74.125.78.144 as permitted sender) Received: from [74.125.78.144] (HELO ey-out-1920.google.com) (74.125.78.144) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2008 00:15:02 +0000 Received: by ey-out-1920.google.com with SMTP id 4so370733eyg.54 for ; Wed, 15 Oct 2008 17:15:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=Q3KXo0POqTqVZPgJ6WeuaKt5FIXFor+aV8MZ31MFOPU=; b=mUqv83uOrzKbjEuCy29oxgNUusJyfhvh0tomtYjqnLiA5Hwu7NRvJj7buHKfylx7q8 UhqG/eLwGe6zU7FWuyrfGWOqSoMY6wl1I2v9xPceOwiTvsu2gFc9tE4wboPlFsCTurvf sXKez6vnnMIiE+kK/Pq1ZjQy4LsVUoy00D93c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=IzSh/YgO/UgXp/SRkOOmdd/chKuxiB/mruML+7evYHi2/yUBwolxXxaou4+GdERAuG YBDVuq9KIMYWoo/w6Iv1YHWZsD+aMgQnfuLhDI3qsFnGM37HpbPNbodlZmpCRzXyALLZ uY2Xu6mQyBHgIa6+jjUvggUqR2DGnkcP5hqCs= Received: by 10.210.92.8 with SMTP id p8mr1980049ebb.102.1224116139032; Wed, 15 Oct 2008 17:15:39 -0700 (PDT) Received: by 10.210.54.17 with HTTP; Wed, 15 Oct 2008 17:15:39 -0700 (PDT) Message-ID: Date: Wed, 15 Oct 2008 17:15:39 -0700 From: "Chris Anderson" Sender: jchris@gmail.com To: couchdb-user@incubator.apache.org Subject: Re: Document subsets... In-Reply-To: <7db9abd30810151618k3f7a84b4ne93fe7e97ec8a22b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7db9abd30810151618k3f7a84b4ne93fe7e97ec8a22b@mail.gmail.com> X-Google-Sender-Auth: 3911aacabf74f1fb X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Oct 15, 2008 at 4:18 PM, kowsik wrote: > > POST //_slice?id=blah > Content-Type: application/json > Content-Length: ... > > function(doc) { > emit({ key1: doc.key1, key2: doc.key2 }); > } > Once the external patch has been applied, interfaces like this ought to be easy to add. The external patch is lets you run view-server like functions, at query time. -- Chris Anderson http://jchris.mfdz.com