couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <robert.new...@gmail.com>
Subject Re: external limits
Date Thu, 19 Nov 2009 23:10:23 GMT
Did you emit your JSON response on a single line?

On Thu, Nov 19, 2009 at 10:42 PM, Jim Woodgate <jdwoody@gmail.com> wrote:
> I finally have a basic external program running, but I find that if I
> return 57 ids it works, but if I return 58 ids or more I get an error.
>  Is there a way to tell what the actual error is?  The text that comes
> back says:
>
> {error_info,
>  {exit,
>    {exit_status,0},
>    [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}}
>
> but then it just repeats what my original request looked like.  I
> looked at ids 57 and 58 and nothing jumps out and I even tried
> skipping the first 4 ids which also worked so it's not the actual data
> but the size of it somehow.
>
> I tried returning a couple hundred results using couchdb-lucene and it
> worked fine (and was 14k vs my 3k).
>
> The only header I set is Content-Type: text/plain and my json is
> attached to the "json" key.  I don't believe it's a timing issue, when
> I run the program by hand the output looks fine and it only takes a
> couple hundred milliseconds
>
> --
> Jim Woodgate
> jdwoody@gmail.com
>

Mime
View raw message