tonysun83 commented on a change in pull request #1423: Mango to nodes
URL: https://github.com/apache/couchdb/pull/1423#discussion_r200887609
 
 

 ##########
 File path: src/mango/src/mango_cursor_view.erl
 ##########
 @@ -209,22 +213,66 @@ choose_best_index(_DbName, IndexRanges) ->
     {SelectedIndex, SelectedIndexRanges}.
 
 
+baseViewRow(Row) ->
+    #view_row{
+        id = couch_util:get_value(id, Row),
+        key = couch_util:get_value(key, Row),
+        doc = couch_util:get_value(doc, Row)
+    }.
+
+
+view_cb({meta, Meta}, Acc) ->
+    % Map function starting
+    put(mango_docs_examined, 0),
 
 Review comment:
   having trouble figuring out why we need this

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to