The design doc in this database,
from http://localhost:5984/database/_design/fabric is:
"doc": {
"language": "javascript",
"version": 1,
"views": {
"seen": {
"map": "function(doc) { if (doc.threadId &&
doc.comments) { emit(doc.threadId.toLowerCase(), doc.comments); } }",
"reduce": "_sum"
}
},
"_rev": "1-682802a943cdabb7a6e51f1757f1d18b",
"_id": "_design/fabric"
},
"id": "_design/fabric",
"key": "_design/fabric",
"value": {
"_conflicts": [],
"rev": "1-682802a943cdabb7a6e51f1757f1d18b"
}
So Im trying to
call http://localhost:5984/database/_design/fabric/_view/seen and get the
error:
{
"error": "not_found",
"reason": "Router unable to route request to
do_GET_DesignDocumentjava.lang.reflect.InvocationTargetException"
}
What am I doing wrong?
--
You received this message because you are subscribed to the Google Groups
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mobile-couchbase/4b03060e-be58-4c79-a93a-b490dc4aea25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.