incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <t...@filbert.org>
Subject couchdb filters and function_clause error
Date Thu, 02 Sep 2010 16:51:58 GMT


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"} 

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