You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/07/09 06:02:01 UTC

[GitHub] tonysun83 commented on a change in pull request #1423: Mango to nodes

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:
users@infra.apache.org


With regards,
Apache Git Services