Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 52160 invoked from network); 6 Jan 2010 18:39:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jan 2010 18:39:37 -0000 Received: (qmail 3326 invoked by uid 500); 6 Jan 2010 18:39:36 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 3258 invoked by uid 500); 6 Jan 2010 18:39:36 -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 3248 invoked by uid 99); 6 Jan 2010 18:39:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 18:39:36 +0000 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 daevaorn@gmail.com designates 72.14.220.159 as permitted sender) Received: from [72.14.220.159] (HELO fg-out-1718.google.com) (72.14.220.159) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 18:39:28 +0000 Received: by fg-out-1718.google.com with SMTP id 19so2537370fgg.5 for ; Wed, 06 Jan 2010 10:39:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=FtODegnA3qEVR2a0v2iRAXBbGtsjcXjhoZFDoVipuvQ=; b=RyCXwUayaAz0CDgTbuOPZBeNzyW6JFPJKwENld1aGv+IfyuXRk+dAz61mZNK2ZxbyF vT/2OJfsfZu+pqFHzlHjZO+Jv8/wINnbLrdYeiEHauqsYgYKdKXU2lwk0HSHfpYP7IHZ mkk9Ru3r22nh43QO43uv+w+g9WXalEJUw6I3U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=f0TGHGczhgkxzdHvH7Opcte5WdXXQx7AHA9u3bO/QuPZqgbknG/3qUylmXDETpUMaK mUafqUKDdnmxZmLOifh7T2pd3ZXFZpnjIUxdc+WOljh0/gAbX97JmLbceM0siB/8lcF/ 66rD2hsEfqQDc14UiRLkxhTJGMZbtQ3dbITtc= MIME-Version: 1.0 Received: by 10.102.7.6 with SMTP id 6mr12734057mug.92.1262803147217; Wed, 06 Jan 2010 10:39:07 -0800 (PST) In-Reply-To: <1687ed841001052337i3e61f29ejaf30f6f800af600b@mail.gmail.com> References: <1687ed841001052337i3e61f29ejaf30f6f800af600b@mail.gmail.com> From: Alex Koshelev Date: Wed, 6 Jan 2010 21:38:47 +0300 Message-ID: Subject: Re: retrieving particular documents in one shot To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=002215b01c4a02dc3b047c8345a1 X-Virus-Checked: Checked by ClamAV on apache.org --002215b01c4a02dc3b047c8345a1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Michal! If you want to get set of keys from view[1] or database[2] you can make POS= T request with body consits of needed keys -- for your example: {'keys': ['a', 'g', 't']} [1]: http://wiki.apache.org/couchdb/HTTP_view_API [2]: http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API --- Alex Koshelev On Wed, Jan 6, 2010 at 10:37 AM, Michal Nowikowski wrote= : > Hello, > > I digging in manuals but cannot find the answer. Is it possible to > retrieve in one view query a list of particular documents. > I'd like to pass a list of keys and retrieve contents of these > documents. I cannot use range of keys using startkey and endkey. > I need to indicate specific documents, something like that: > key=3D'a'&key=3D'g'&key=3D't' > while in db there are documents with keys from 'a' to 'z'. > I need such approach because the documents are too huge to retrieve > them all at once and I also do not want to retrieve them one by one. > Is it possible in CouchDB? > > Thanks in advance > Micha=C5=82 Nowikowski > --002215b01c4a02dc3b047c8345a1--