From couchdb-user-return-658-apmail-incubator-couchdb-user-archive=incubator.apache.org@incubator.apache.org Thu Jul 03 18:07:36 2008 Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 76481 invoked from network); 3 Jul 2008 18:07:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2008 18:07:36 -0000 Received: (qmail 51448 invoked by uid 500); 3 Jul 2008 18:07:37 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 51176 invoked by uid 500); 3 Jul 2008 18:07:37 -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 51165 invoked by uid 99); 3 Jul 2008 18:07:37 -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 11:07:37 -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 misterpib@gmail.com designates 64.233.184.239 as permitted sender) Received: from [64.233.184.239] (HELO wr-out-0506.google.com) (64.233.184.239) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 18:06:45 +0000 Received: by wr-out-0506.google.com with SMTP id c53so680842wra.20 for ; Thu, 03 Jul 2008 11:07: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:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=R6Vj1khBaQfVfVKAVlYs1g+47s/sGY9LIISEhQcDqtM=; b=WXxUO5TTYGnxFuEZOOC7kIh44lds/6jR2MoUOUj24Z/GZvBkXlPU1CZgJSaMTjnMRF YeqCzdxbNlV7XvEiJucmHyMzq5VNljiYn5vN1lzuk6Z7RpML6H+h8FyWV16pzp62SRUv VCN+Cz59asekgHYcUWSx5mXSmz6FyKz772dCg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=eBMgbFzUU84eCYOL2deDTTbd2S/f/WlufTnZ46VpXQX/Vs83dI0yGEhcWp0+dlK9+I hqS0xdSFS7VxhWfHTzukLGf6TI79xt5kGaI0D/ybstPwpluu/WOgovf/KemPnJY8cJWQ v7qVoQNEh/iQyjsdqKsPFTcKjxVbyKEPiJWiU= Received: by 10.90.65.14 with SMTP id n14mr376416aga.88.1215108425402; Thu, 03 Jul 2008 11:07:05 -0700 (PDT) Received: by 10.90.75.12 with HTTP; Thu, 3 Jul 2008 11:07:05 -0700 (PDT) Message-ID: Date: Thu, 3 Jul 2008 13:07:05 -0500 From: "Paul Bonser" To: couchdb-user@incubator.apache.org Subject: Re: Views using JSON Arrays In-Reply-To: <377590.28814.qm@web57215.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <377590.28814.qm@web57215.mail.re3.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Jul 3, 2008 at 8:01 AM, Bradford Winfrey wrote: > We would get back each one of our tags as a key, yea? Only if we supplied one at a time. So how does one go about supplying a range, array (not sure what we'd call it here) of keys to be searched on? http://...?key=["octopus","hockey"] maybe? I'm unsure of the plan of attack for such a thing. Maybe I'm just going about it in the wrong direction. Any thoughts? Hey everyone. I've pretty much just been watching the mailing list here myself. This is the second time somebody has asked about this since I've started watching this mailing list. I could see it being a valuable feature. Would it be valuable to add the ability to query a view with multiple keys, getting the results for each of those keys back? Something like http://...?key_list=["octopus","hockey"] If I were interested in investigating how hard it would be to add that feature, where would I start looking in the code? Paul Bonser http://blog.paulbonser.com