You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that you need to pass a single variable to "map", the full class name of your JavaView implementation. The "configure" field is optional and allows you to configure your class at run time. Also note that by CouchDB design, the values pointed to by the "map" and "reduce" keys are strings. In the case of "map", we stringify the JSON object that is used to configure "map" (that's why we need to escape the quotes).
54
+
Note that you required to pass an JSON Object to "map" containing the full class name of your JavaView implementation. The "configure" field is optional and allows you to configure your class at run time. Reduce takes a single string with the name of the class containing Java reduce function (or a CouchDB builtin like _count, _sum, etc.)
55
55
56
56
Upload this design doc, either using the command line interface or by saving the file on disk as splittext.json:
57
57
@@ -79,7 +79,7 @@ To use [com.cloudant.indexers.MyCustomSearch][6] for indexing your database, you
0 commit comments