You definitely want to POST the keys to the view. Looping over the entire view in a list function slows down noticeably for a large number of documents. To get the docs with the 3 keys mentioned in your example, you could do something like this. curl -X POST -d '{"keys": ["asdf", "powsf", "aaaa"]}' -H 'Content-Type: application/json' 'http://localhost:5984/db/_design/app/_view/view_name' Justin On Thu, Feb 24, 2011 at 6: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 >