Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 50906 invoked from network); 3 Jul 2008 16:42:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2008 16:42:38 -0000 Received: (qmail 22464 invoked by uid 500); 3 Jul 2008 16:42:38 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 22362 invoked by uid 500); 3 Jul 2008 16:42:38 -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 22351 invoked by uid 99); 3 Jul 2008 16:42:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 09:42:38 -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 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO py-out-1112.google.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 16:41:44 +0000 Received: by py-out-1112.google.com with SMTP id u52so642455pyb.13 for ; Thu, 03 Jul 2008 09:42:05 -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=gLzXOdqq4aR0+AtKV6rqMGheJjP+0tK0FuCntquwm2w=; b=AZk/C1JfHUzB4+PnigsiLPuxcWzMvpJFsqHO9fkLVUELFQOrC3U3C87pWRiRPGiCh1 msNk/5mMDPVf+ButteNq1ZWqcI5RvSnz5KOL63+AGKR3tgZEXtiYaHhdBVeY2q2HK8By nwY+jaQOip8RcDibT6EKQWLol678btSU9QWvg= 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=CPy6Fhj/Oejtq9rpiGbBI1sxSrZbmp+IlzIAd9DpLbGUM7suurEJLOt8g8gFJo1OU2 tcEiNNNmmeXmA4NtCZ1Drgcg2bV46okGE0i9WtNIWwSLf+HKs4o5cjUdBfbBylRkc/Mm dD/tzf2J5WH/cK0ANmAiAmLVwlZ322aGvPu0s= Received: by 10.114.25.19 with SMTP id 19mr797096way.225.1215103323730; Thu, 03 Jul 2008 09:42:03 -0700 (PDT) Received: by 10.114.78.7 with HTTP; Thu, 3 Jul 2008 09:42:03 -0700 (PDT) Message-ID: Date: Thu, 3 Jul 2008 09:42:03 -0700 From: "Chris Anderson" Sender: jchris@gmail.com To: couchdb-user@incubator.apache.org Subject: Re: Views using JSON Arrays In-Reply-To: <19934.4345.qm@web57210.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <19934.4345.qm@web57210.mail.re3.yahoo.com> X-Google-Sender-Auth: bd6c689e5bfd06db X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Jul 3, 2008 at 7:29 AM, Bradford Winfrey wrote: > Is there a way to get the key parameter (or any of the parameters) from within a view? For instance... That can't work because the view is computed once per document, and queried as many times as you like. In your case the best option involves one query per key. You'll only have a few tags per query so it doesn't seem so bad. I'm currently running queries that involve the joining of hundreds of discontinuous keys, and they still only take a few seconds. -- Chris Anderson http://jchris.mfdz.com