couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <jch...@grabb.it>
Subject Re: nested objects in views?
Date Tue, 02 Sep 2008 21:51:00 GMT
Please include a link to http://friendpaste.com/ with an example
document and view function. There are some constraints on
view-generation which aren't immediately obvious. (Should probably be
documented if they aren't already.)

Chris

On Tue, Sep 2, 2008 at 2:46 PM, Arjun Guha <arjun@cs.brown.edu> wrote:
> I'm having trouble with documents that contain nested objects.  I can access
> such documents just fine, but when I try to define views over databases
> containing such documents, I get errors such as:
>
> {{nocatch,{map_process_error,{exit_status,0}}},
>  [{couch_query_servers,readline,2},
>  {couch_query_servers,read_json,1},
>  {couch_query_servers,prompt,2},
>  {couch_query_servers,'-map_docs/2-fun-0-',2},
>  {lists,map,2},
>  {couch_query_servers,map_docs,2},
>  {couch_view,view_compute,2},
>  {couch_view,update_group,1}]}
>
> Any ideas?  I'm on CouchDB 0.8.0, Mac OS X and Debian Lenny.
>
> Arjun
>



-- 
Chris Anderson
http://jchris.mfdz.com

Mime
View raw message