couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuuki Takano" <ytak...@jaist.ac.jp>
Subject Re: couchDB gave up building views
Date Mon, 20 Oct 2008 17:20:52 GMT
Thank you very much.

> One, your HTTP request should block until the view returns. If the
> HTTP request times out you can just try again, or notify your user, or
> what ever is appropriate.

OK.
I underdtand, tank you!
I'll try it later.


> The error that you received about the timeout in couch means your map
> functions have a bug that is preventing them from returning data to
> couch. Aftering fixing that issue, things should work smoothly.

My map functions work well when there is a few document.



> I'm guessing you are on an old version of Erlang. Build erlang from the latest source
at erlang.org

Thank you, but I use the earliest version of Erlang (v5.6.4).


2008/10/20 Damien Katz <damien@apache.org>:
> I'm guessing you are on an old version of Erlang. Build erlang from the
> latest source at erlang.org
>
> -Damien
>
>
> On Oct 20, 2008, at 9:07 AM, Yuuki Takano wrote:
>
>> Hi there,
>>
>> I inserted 20,000 documents into couchDB, and looked up views of it.
>> However , couchDB gave up building views because of timed out.
>>
>> The views were quite simple, such as
>>
>> function(doc) {
>>   if (doc.type == 'vote') {
>>       emit([doc.service, doc.user, doc.item], doc);
>>   }
>> }
>>
>> It seems that couchDB does not support many documents at this version
>> (0.8.1).
>> Is that right?
>>
>> Regards,
>>
>> -- Yuuki Takano <ytakano@jaist.ac.jp>
>
>

Mime
View raw message