> 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
<[email protected]> 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 <[email protected]> wrote:
>
>> On Sat, Jul 21, 2012 at 8:33 PM, Samuel Williams
>> <[email protected]> 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.
>>
>> --
>> ,,,^..^,,,
>>