Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 15543 invoked from network); 22 Nov 2009 03:52:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Nov 2009 03:52:56 -0000 Received: (qmail 4523 invoked by uid 500); 22 Nov 2009 03:52:55 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 4342 invoked by uid 500); 22 Nov 2009 03:52:52 -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 4332 invoked by uid 99); 22 Nov 2009 03:52:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Nov 2009 03:52:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of skippy.hammond@gmail.com designates 209.85.210.176 as permitted sender) Received: from [209.85.210.176] (HELO mail-yx0-f176.google.com) (209.85.210.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Nov 2009 03:52:43 +0000 Received: by yxe6 with SMTP id 6so4153942yxe.13 for ; Sat, 21 Nov 2009 19:52:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=W+TKKZamhiak3WLj0p54lKRVoy0ZsWezvWXak7n9COc=; b=thCC91WzF+roqkTt0wscxmqfMER5kfIr7iL8yYq/YhIYVCl5tzDGDrLzByQcrGEjb8 nDiU6DVAhOU8pzqN6vcQxVPA74MAtBx+Kw7X6ReTklCIkTIISVjos+PzPm3cKL2Pf1Ej pupoPaHVuhmCcU9hiUNxzoijP/jJiy7Gw3l5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=M86SXu2R76+gen0lFBYWwtxDbbcrj03XHQIwvsG6T2Ayrdt0cl/ZdRZJf6JpA0HhGc XRdWi5hO3Wh4PsXjPCuOrdu17pMxfok4lo85887+a+0Nh9kbC5I/egSD52JURf/ffzdB h9whilz/gmRsRnFNpp9/Q9Lts3UYeDBAxYwJY= Received: by 10.150.117.9 with SMTP id p9mr5826505ybc.94.1258861941261; Sat, 21 Nov 2009 19:52:21 -0800 (PST) Received: from ?192.168.0.9? (ppp118-209-159-7.lns20.mel6.internode.on.net [118.209.159.7]) by mx.google.com with ESMTPS id 8sm1067345ywg.19.2009.11.21.19.52.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 21 Nov 2009 19:52:19 -0800 (PST) Message-ID: <4B08B530.3090000@gmail.com> Date: Sun, 22 Nov 2009 14:51:12 +1100 From: Mark Hammond Reply-To: mhammond@skippinet.com.au User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091117 Thunderbird/3.0 MIME-Version: 1.0 To: user@couchdb.apache.org CC: Senthilkumar Peelikkampatti Subject: Re: retrieving list of document References: <45d8e23d0911211845x70c181cfv828e5682ba0b60f9@mail.gmail.com> In-Reply-To: <45d8e23d0911211845x70c181cfv828e5682ba0b60f9@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 22/11/2009 1:45 PM, Senthilkumar Peelikkampatti wrote: > But CouchDb lacks API which > accepts lists of document ids and return only those document somthing > similar to "in" clause in SQL. Considering couchdb lacks specific list type > api I am going with step 1 in oder to avoid multiple round trip. Am I > missing something? It sounds like you are looking for the _all_docs view with keys= in a post body? See http://wiki.apache.org/couchdb/HTTP_view_API for more info. Cheers, Mark