Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 60200 invoked from network); 12 Feb 2009 15:28:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2009 15:28:07 -0000 Received: (qmail 60177 invoked by uid 500); 12 Feb 2009 15:27:54 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 60150 invoked by uid 500); 12 Feb 2009 15:27:54 -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 60137 invoked by uid 99); 12 Feb 2009 15:27:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 07:27:54 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jwall@google.com designates 216.239.33.17 as permitted sender) Received: from [216.239.33.17] (HELO smtp-out.google.com) (216.239.33.17) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 15:27:45 +0000 Received: from zps77.corp.google.com (zps77.corp.google.com [172.25.146.77]) by smtp-out.google.com with ESMTP id n1CFRNSl026123 for ; Thu, 12 Feb 2009 15:27:24 GMT DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1234452444; bh=tv1dG2fP2C7zzNZgNigyTj7C8ok=; h=DomainKey-Signature:MIME-Version:In-Reply-To:References:Date: Message-ID:Subject:From:To:Content-Type:X-System-Of-Record; b=thT5 n9xMDJSytQPYiYby51VwmiffwtDxz/2duEHSK0RHnNJOAvG6Y6X8b+Q+pr8nyh0A8xL ZSaQbcobYHSEkrQ== DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: content-type:x-system-of-record; b=BRfqOejut+i2etqQKQpMxIDF591Ts+uZz99tJr5KlfiYB31ToePo2z7oFMy6iTq9z mBYzmPBOC95xYkL6P0Sig== Received: from el-out-1112.google.com (elfb25.prod.google.com [10.126.179.25]) by zps77.corp.google.com with ESMTP id n1CFRLRq012248 for ; Thu, 12 Feb 2009 07:27:22 -0800 Received: by el-out-1112.google.com with SMTP id b25so493792elf.1 for ; Thu, 12 Feb 2009 07:27:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.90.35.9 with SMTP id i9mr528984agi.59.1234452439463; Thu, 12 Feb 2009 07:27:19 -0800 (PST) In-Reply-To: References: <4b307fd10902120242v3bbbc93fs92c88503eb632fe9@mail.gmail.com> <4b307fd10902120322o7d6e8a59u4abba87049509da9@mail.gmail.com> Date: Thu, 12 Feb 2009 09:27:19 -0600 Message-ID: <7c40ded80902120727i35d5b3e9i3833e6ebcd2211a6@mail.gmail.com> Subject: Re: playing with tags From: Jeremy Wall To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=0016e64f51ae2579620462ba5b90 X-System-Of-Record: true X-Virus-Checked: Checked by ClamAV on apache.org --0016e64f51ae2579620462ba5b90 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Map functions can't see the requested keys. They emit the keys for an index that couch builds. Sent from my G1 google phone On Feb 12, 2009 9:22 AM, "Michal Frackowiak" wrote: I think you could create a separate view for selecting articles by multiple tags. 1. Pass keys as a single string, e.g. ...?key="python,couchdb" 2. Explode the string in the view map function and return doc only if all tags match. Would it work? Michal On Feb 12, 2009, at 12:22 PM, Nicolas Clairon wrote: > Thanks for your quick response. > > the l... --------------- Michal Frackowiak http://michalfrackowiak.com --0016e64f51ae2579620462ba5b90--