same thing w/ emit(null, null) or emit(doc._id, null).
I just tried repopulating the database slowly, and made sure to not store
the IDs as URLs (in fact there no field contains a URL), and with 500
records, the view works fine with emit(null, null). 1000, works fine. I hit
about 4000 records, and the couchjs no longer exists in ps, and it seems to
be timing out again. I may be running into some low-level bug.
I guess I'll try a brand new vm image and fresh compile.
Will
On Fri, Sep 12, 2008 at 8:08 AM, Jan Lehnardt <[EMAIL PROTECTED]> wrote:
>
> 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 <[EMAIL PROTECTED]> wrote:
>>
>> On Thu, Sep 11, 2008 at 12:31 PM, william kinney
>>> <[EMAIL PROTECTED]> 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
> --
>