couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: view access keeps timing out
Date Fri, 12 Sep 2008 12:08:25 GMT

On Sep 12, 2008, at 5:13 , william kinney wrote:

> i removed the reduce function as well :-\
>
> On Thu, Sep 11, 2008 at 11:09 PM, Chris Anderson <jchris@grabb.it>  
> wrote:
>
>> On Thu, Sep 11, 2008 at 12:31 PM, william kinney
>> <william.kinney@gmail.com> wrote:
>>> I simplified the map function to:
>>>
>>> function(doc) {
>>> emit(doc._id, doc);
>>> }
>>>
>>

What about emit(doc._id, null); as suggested earlier? Actually,
emit(null, null) will do since a doc's _id is always included in the
view result list.

Cheers
Jan
--

Mime
View raw message