You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by GitBox <gi...@apache.org> on 2018/12/10 12:37:29 UTC

[GitHub] spmallette commented on a change in pull request #1011: TINKERPOP-1849 Provide a way to fold() with an index

spmallette commented on a change in pull request #1011: TINKERPOP-1849 Provide a way to fold() with an index
URL: https://github.com/apache/tinkerpop/pull/1011#discussion_r240193616
 
 

 ##########
 File path: docs/src/reference/the-traversal.asciidoc
 ##########
 @@ -1084,6 +1084,42 @@ g.V().identity()
 
 link:++http://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#identity--++[`identity()`]
 
+[[index-step]]
+=== Index Step
+
+The `index()`-step (*map*) indexes each element in the current collection. If the current traverser's value is not a collection, then it's treated as a single-item collection. There two indexers
 
 Review comment:
   I assume that "There two indexers" should be "There are two indexers"

----------------------------------------------------------------
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