Got it Jan, thanks. A
On Tue, Mar 31, 2009 at 11:00 AM, Jan Lehnardt <[email protected]> wrote: > > On 31 Mar 2009, at 19:52, Adam Wolff wrote: > >> Hi everyone, >> We just upgraded to 0.9.0a719015-incubating from the 0.8.x release, >> via mac ports. > > this is an outdated intermediate development version. Can you update to > 0.9.0 proper? > > http://couchdb.apache.org/downloads.html > > The issues you see happened during the development of 0.9 and the wiki > only reflects the 0.9.0 release time. The MacPorts snapshot is simply too > old. > > Cheers > Jan > -- > > >> We found two things that weren't clear from the wiki: >> >> 1) View design documents must be PUT with the slash between _design >> and the document escaped. This isn't what the wiki says: >> http://wiki.apache.org/couchdb/HTTP_view_API >>> >>> You can have / as part of the DocID but if you refer to a document in a >>> URL you must always encode it as %2F. One special case is _design/ >>> documents, those accept either / or %2F for the / after _design, although / >>> is preferred and %2F is still needed for the rest of the DocID. >> >> Shall I update this, or this is a bug in the version that we're running? >> >> 2) The GET urls for views has *not* changed. This wasn't quite what >> we expected. The wiki says that you query views using an URL like >> /_design/designname/_view/viewname, but on the version we're running >> at least, this isn't true. This is how you *PUT* view documents; GET >> is still like this: >> /_view/designname/viewname/ >> >> Hope this helps someone. Please let us know if we've misunderstood >> something. >> A >> > >
