incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <t...@filbert.org>
Subject Re: couchdb filters and function_clause error
Date Fri, 03 Sep 2010 11:10:20 GMT

I´m on Cloudant.com CouchDB 1.0.0. 
I have no server access so i can´t
provide a log. 

Toni 

On Sep 2, 2010, at 9:51 AM,  wrote:

> 
> 
> i have
a problem with couchdb filters. 
> 
> $curl
>
'http://HOST/mydb/_changes?filter=app/important' 
> 
> the response i get
is
> the following error: 
> 
> {"error": "unknown_error", "reason":
>
"function_clause"} 
> 

looks like it should work to me.

what version of
couchdb are you on?

can you provide the log file section corresponding to
the error?

Thanks,
Chris

> and this is my very simple test filter doc: 
>

> {
> 
> "_id": "_design/app",
> "_rev":
"4-51941e89602a03c3ccf3c62858b9051b",
> 
> "filters": {
> "important":
"function(doc, req) { return false; }"
> }
> }
> 
> 
> what´s wrong with
this filter? 
> 
> all other views i created and tried are
> working.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message