incubator-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 15:33:44 GMT
Let me guess, you are on Erlang R11B and not R12B?
Do update to the laste Erlang (R12B-4).

Cheers
Jan
--

On Sep 12, 2008, at 16:41 , william kinney wrote:

> 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 <jan@apache.org> 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 <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