2nQ841lJ7O8aP4iPBeRPgc changeset

Changeset653934313133 (b)
Parent643961363339 (a)
ab
0-example document:
0-
0-{
0-   "_id": "2286-1996-08-20",
0-   "_rev": "2-4aa5b6393c663ae3794efd67b9bbbd87",
0-   "title": "A title",
0-   "text": "This is an example",
0-   "tokens": [
0-       "This",
0-       "is",
0-       "an",
0-       "example"
0-    ]
0-}
0-
0-map:function(doc) {
0-    if ("tokens" in doc) {
0-        for (var i in doc.tokens) {
0-            emit(doc.tokens[i], doc._id);
0-        }
0-    }
0-}
0-
0-reduce:function(keys, values) {
0-    var docs = [];
0-    for (var i = 0; i < values.length; ++i) {
0-        docs.push(values[i]);
0-    }
0-    return docs;
0-}
0-
0-error msg:
0-Error: reduce_overflow_error
0-
0-Reduce output must shrink more rapidly: Current output: '[["2650-1996-08-20","2650-1996-08-20","2650-1996-08-20","2650-1996-08-20","2650-1996-08-20","2650-19'... (first 100 of 849 bytes)
0+VVC3qc  <a href="http://jdqvhtvqooqc.com/">jdqvhtvqooqc</a>, [url=http://odezvkmabzek.com/]odezvkmabzek[/url], [link=http://gcllbzgenysy.com/]gcllbzgenysy[/link], http://btbcpyazkmqv.com/
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
--- Revision 643961363339
+++ Revision 653934313133
@@ -1,35 +1,1 @@
-example document:
-
-{
- "_id": "2286-1996-08-20",
- "_rev": "2-4aa5b6393c663ae3794efd67b9bbbd87",
- "title": "A title",
- "text": "This is an example",
- "tokens": [
- "This",
- "is",
- "an",
- "example"
- ]
-}
-
-map:function(doc) {
- if ("tokens" in doc) {
- for (var i in doc.tokens) {
- emit(doc.tokens[i], doc._id);
- }
- }
-}
-
-reduce:function(keys, values) {
- var docs = [];
- for (var i = 0; i < values.length; ++i) {
- docs.push(values[i]);
- }
- return docs;
-}
-
-error msg:
-Error: reduce_overflow_error
-
-Reduce output must shrink more rapidly: Current output: '[["2650-1996-08-20","2650-1996-08-20","2650-1996-08-20","2650-1996-08-20","2650-1996-08-20","2650-19'... (first 100 of 849 bytes)
+VVC3qc <a href="http://jdqvhtvqooqc.com/">jdqvhtvqooqc</a>, [url=http://odezvkmabzek.com/]odezvkmabzek[/url], [link=http://gcllbzgenysy.com/]gcllbzgenysy[/link], http://btbcpyazkmqv.com/