Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 11564 invoked from network); 24 Feb 2011 12:36:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Feb 2011 12:36:10 -0000 Received: (qmail 25578 invoked by uid 500); 24 Feb 2011 12:36:08 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 25414 invoked by uid 500); 24 Feb 2011 12:36:06 -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 25406 invoked by uid 99); 24 Feb 2011 12:36:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 12:36:05 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.216.52] (HELO mail-qw0-f52.google.com) (209.85.216.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 12:36:00 +0000 Received: by qwf6 with SMTP id 6so427113qwf.11 for ; Thu, 24 Feb 2011 04:35:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.31.15 with SMTP id w15mr604135qcc.22.1298550938332; Thu, 24 Feb 2011 04:35:38 -0800 (PST) Received: by 10.229.229.1 with HTTP; Thu, 24 Feb 2011 04:35:38 -0800 (PST) In-Reply-To: <87AEBE6D-D363-46D1-8213-0D69C8EC8E26@thenoi.se> References: <87AEBE6D-D363-46D1-8213-0D69C8EC8E26@thenoi.se> Date: Thu, 24 Feb 2011 09:35:38 -0300 Message-ID: Subject: Re: View for multiple IDs From: Fabio Batalha Cunha dos Santos To: user@couchdb.apache.org Cc: Martin Hewitt Content-Type: multipart/alternative; boundary=001636833f8c66ee25049d0673dd --001636833f8c66ee25049d0673dd Content-Type: text/plain; charset=ISO-8859-1 Hi Martin, You can create a list function that will filter only the desired ID's. Than you informe you listfunction what id's you desire to fetch using parameter on the querystring. *Fabio Batalha C. Santos* Colegiado SciELO www.scielo.org FAPESP - CNPq - BIREME - FapUNIFESP On Thu, Feb 24, 2011 at 8:41 AM, Martin Hewitt wrote: > Hi all, > > How would I create a view to retrieve documents with the IDs (i.e. > non-numeric, non-sequential): > > ["asdf", "powsf", "aaaa"] > > I would like the three documents that match these IDs, is this doable > in one view or should I just retrieve them individually? > > Thanks, > > Martin > --001636833f8c66ee25049d0673dd--