An additional question came up.  I added the code from the couchdb wiki
EnableErlangView page and I am getting an error when running a view -
the existing javascript view as well.

    Error: compilation_error

    Expression does not eval to a function. ((new String("fun({Doc}) ->\n
    <<K,_/binary>> = proplists:get_value(<<\"_rev\">>, Doc, null),\n  V =
    proplists:get_value(<<\"_id\">>, Doc, null),\n  Emit(<<K>>,
    V)\nend.\n")))

I have verified the configuration in the configuration page in futon.
[native_query_servers]
erlang = {couch_native_process, start_link, []}


Is there some configuration I have neglected?

Thank you.

--
Regards,
Brian

Reply via email to