Hi, Michal!
If you want to get set of keys from view[1] or database[2] you can make POST
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 <[email protected]>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='a'&key='g'&key='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Ć Nowikowski
>