From couchdb-user-return-660-apmail-incubator-couchdb-user-archive=incubator.apache.org@incubator.apache.org Thu Jul 03 18:29:27 2008 Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 92552 invoked from network); 3 Jul 2008 18:29:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2008 18:29:27 -0000 Received: (qmail 79115 invoked by uid 500); 3 Jul 2008 18:29:27 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 79076 invoked by uid 500); 3 Jul 2008 18:29:27 -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 79065 invoked by uid 99); 3 Jul 2008 18:29:27 -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:29:27 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HS_INDEX_PARAM,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [216.252.111.219] (HELO web57203.mail.re3.yahoo.com) (216.252.111.219) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 03 Jul 2008 18:28:35 +0000 Received: (qmail 7887 invoked by uid 60001); 3 Jul 2008 18:27:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=ULZZ2OMhS6Kcwkx4l+dmOboTm9mx6mu7LkyIMgkuDbdblcGAtiqJlkU2foy6V5FV93JaHLiDgJo6/vw2q06Ch4QLvY8wAhmKKfSbvZD8muSppWww3MIEeFaSNGW5Gkgh+KVpE3y2L5X8JUtFZlRom1w7znI/ao5qYiVrDFDiuNk=; Received: from [216.175.184.4] by web57203.mail.re3.yahoo.com via HTTP; Thu, 03 Jul 2008 11:27:54 PDT X-Mailer: YahooMailRC/1042.33 YahooMailWebService/0.7.199 Date: Thu, 3 Jul 2008 11:27:54 -0700 (PDT) From: Bradford Winfrey Subject: Re: Views using JSON Arrays To: couchdb-user@incubator.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-818193783-1215109674=:7171" Message-ID: <558433.7171.qm@web57203.mail.re3.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-818193783-1215109674=:7171 Content-Type: text/plain; charset=us-ascii If it were possible, I'd throw myself under the bus with Paul to get such a thing working. ----- Original Message ---- From: Paul Bonser To: couchdb-user@incubator.apache.org Sent: Thursday, July 3, 2008 1:07:05 PM Subject: Re: Views using JSON Arrays 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 --0-818193783-1215109674=:7171--