couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Williams <space.ship.travel...@gmail.com>
Subject Re: "ddoc" protocol for query server?
Date Sat, 21 Jul 2012 17:00:00 GMT
Thanks for your help.

On 22 July 2012 04:55, Alexander Shorin <kxepal@gmail.com> wrote:

> > 1/ Does modern 1.2 server use the old map/reduce functions at all?
> Yes. There wasn't serious changes for all time except addition of
> shared library for map functions
>
> > 2/ I noticed that errors in some cases seem to be returned as an array
> (old
> > way?) but in the docs it gives an example using a hash, so I'm assuming
> > this is the modern way?
>
> No: array format is modern one. Errors format of errors was changed in
> 0.11 from:
> {"error": "<<error>>", "reason": "<<reason>>"}
> to
> ["error", "<<error>>", "<<reason>>"]
> However, the "forbidden" error leaved without any changes:
> {"forbidden": "<<reason>>"}
>
> --
> ,,,^..^,,,
>
>
> On Sat, Jul 21, 2012 at 8:48 PM, Samuel Williams
> <space.ship.traveller@gmail.com> wrote:
> > 1/ Does modern 1.2 server use the old map/reduce functions at all?
> >
> > 2/ I noticed that errors in some cases seem to be returned as an array
> (old
> > way?) but in the docs it gives an example using a hash, so I'm assuming
> > this is the modern way?
> >
> > On 22 July 2012 04:36, Alexander Shorin <kxepal@gmail.com> wrote:
> >
> >> On Sat, Jul 21, 2012 at 8:33 PM, Samuel Williams
> >> <space.ship.traveller@gmail.com> wrote:
> >> > Also, does the ["reset"] command reset all design documents?
> >>
> >> No. It only drops cached map functions and query server configuration
> >> that handled reduce overflow option.
> >>
> >> --
> >> ,,,^..^,,,
> >>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message