Changeset 375 for Dev/branches/rest-dojo-ui/client/config/docs.json
- Timestamp:
- 07/25/12 10:56:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/config/docs.json
r362 r375 76 76 "map": "function(doc){ if ( doc.type === 'Question' ) { for (var i = 0; i < doc.categories.length; i++) { emit([doc.categories[i],doc.topic],1); } } }", 77 77 "reduce": "function(keys,values) { return sum(values); }" 78 }, 79 "topics": { 80 "map": "function(doc){ if ( doc.type === 'Question' ) { emit(doc.topic, 1); } }", 81 "reduce": "function(keys, values) { return null; }" 78 82 } 79 83 }
Note: See TracChangeset
for help on using the changeset viewer.