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
<p>For the JanusGraph Server, JanusGraph uses <ahref="https://tinkerpop.apache.org/docs/3.7.2/reference/#gremlin-server">Gremlin Server</a> of the <ahref="https://tinkerpop.apache.org/">Apache TinkerPop</a> stack to service client requests. JanusGraph provides an out-of-the-box configuration for a quick start with JanusGraph Server, but the configuration can be changed to provide a wide range of server capabilities.</p>
2376
+
<p>For the JanusGraph Server, JanusGraph uses <ahref="https://tinkerpop.apache.org/docs/3.7.3/reference/#gremlin-server">Gremlin Server</a> of the <ahref="https://tinkerpop.apache.org/">Apache TinkerPop</a> stack to service client requests. JanusGraph provides an out-of-the-box configuration for a quick start with JanusGraph Server, but the configuration can be changed to provide a wide range of server capabilities.</p>
2377
2377
<p>Configuring JanusGraph Server is accomplished through a JanusGraph
2378
2378
Server yaml configuration file located in the ./conf/gremlin-server
2379
2379
directory in the JanusGraph distribution. To configure JanusGraph Server
<p><ahref="https://kelvinlawrence.net/book/Gremlin-Graph-Guide.html">Practical Gremlin</a>: An online book by Kelvin R. Lawrence providing an in-depth overview of Gremlin and it's interaction with JanusGraph.</p>
2060
2060
</li>
2061
2061
<li>
2062
-
<p><ahref="https://tinkerpop.apache.org/docs/3.7.2/reference/">Complete Gremlin Manual</a>: Reference manual for all of the Gremlin steps.</p>
2062
+
<p><ahref="https://tinkerpop.apache.org/docs/3.7.3/reference/">Complete Gremlin Manual</a>: Reference manual for all of the Gremlin steps.</p>
2063
2063
</li>
2064
2064
<li>
2065
-
<p><ahref="https://tinkerpop.apache.org/docs/3.7.2/tutorials/the-gremlin-console/">Gremlin Console Tutorial</a>: Learn how to use the Gremlin Console effectively to traverse and analyze a graph interactively.</p>
2065
+
<p><ahref="https://tinkerpop.apache.org/docs/3.7.3/tutorials/the-gremlin-console/">Gremlin Console Tutorial</a>: Learn how to use the Gremlin Console effectively to traverse and analyze a graph interactively.</p>
2066
2066
</li>
2067
2067
<li>
2068
-
<p><ahref="https://tinkerpop.apache.org/docs/3.7.2/recipes/">Gremlin Recipes</a>: A collection of best practices and common traversal patterns for Gremlin.</p>
2068
+
<p><ahref="https://tinkerpop.apache.org/docs/3.7.3/recipes/">Gremlin Recipes</a>: A collection of best practices and common traversal patterns for Gremlin.</p>
2069
2069
</li>
2070
2070
<li>
2071
2071
<p><ahref="https://tinkerpop.apache.org/index.html#language-drivers">Gremlin Language Drivers</a>:
<p><ahref="https://tinkerpop.apache.org/docs/3.7.2/tutorials/gremlin-language-variants/">Gremlin Language Variants</a>: Learn how to embed Gremlin in a host programming language.</p>
2077
+
<p><ahref="https://tinkerpop.apache.org/docs/3.7.3/tutorials/gremlin-language-variants/">Gremlin Language Variants</a>: Learn how to embed Gremlin in a host programming language.</p>
2078
2078
</li>
2079
2079
<li>
2080
2080
<p><ahref="http://sql2gremlin.com">Gremlin for SQL developers</a>: Learn Gremlin
Each step (denoted by a separating .) is a function that operates on the objects emitted from the previous step. There are numerous steps in the Gremlin language (see <ahref="https://tinkerpop.apache.org/docs/3.7.2/reference/#graph-traversal-steps">Gremlin Steps</a>). By simply changing a step or order of the steps, different traversal semantics are enacted. The example below returns the name of all the people that have battled the same monsters as Hercules who themselves are not Hercules (i.e. "co-battlers" or perhaps, "allies").</p>
2151
+
Each step (denoted by a separating .) is a function that operates on the objects emitted from the previous step. There are numerous steps in the Gremlin language (see <ahref="https://tinkerpop.apache.org/docs/3.7.3/reference/#graph-traversal-steps">Gremlin Steps</a>). By simply changing a step or order of the steps, different traversal semantics are enacted. The example below returns the name of all the people that have battled the same monsters as Hercules who themselves are not Hercules (i.e. "co-battlers" or perhaps, "allies").</p>
2152
2152
<p>Given that <em>The Graph of the Gods</em> only has one battler (Hercules),
2153
2153
another battler (for the sake of example) is added to the graph with
2154
2154
Gremlin showcasing how vertices and edges are added to the graph.
<h2id="iterating-the-traversal">Iterating the Traversal</h2>
2196
-
<p>One convenient feature of the Gremlin Console is that it automatically iterates all results from a query executed from the gremlin> prompt. This works well within the <ahref="https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop">REPL</a> environment as it shows you the results as a String. As you transition towards writing a Gremlin application, it is important to understand how to iterate a traversal explicitly because your application’s traversals will not iterate automatically. These are some of the common ways to iterate the <ahref="https://tinkerpop.apache.org/javadocs/3.7.2/full/org/apache/tinkerpop/gremlin/process/traversal/Traversal.html">Traversal</a>:</p>
2196
+
<p>One convenient feature of the Gremlin Console is that it automatically iterates all results from a query executed from the gremlin> prompt. This works well within the <ahref="https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop">REPL</a> environment as it shows you the results as a String. As you transition towards writing a Gremlin application, it is important to understand how to iterate a traversal explicitly because your application’s traversals will not iterate automatically. These are some of the common ways to iterate the <ahref="https://tinkerpop.apache.org/javadocs/3.7.3/full/org/apache/tinkerpop/gremlin/process/traversal/Traversal.html">Traversal</a>:</p>
2197
2197
<ul>
2198
2198
<li><code>iterate()</code> - Zero results are expected or can be ignored.</li>
2199
2199
<li><code>next()</code> - Get one result. Make sure to check <code>hasNext()</code> first.</li>
It does not forward the following commands to the server by default!
2207
2207
As a result, further commands will still be executed locally unless preceeded by <code>:></code>.</p>
2208
2208
<p>To forward every command to the remote server, use the <code>:remote console</code> command.
2209
-
Further documentation can be found in the <ahref="https://tinkerpop.apache.org/docs/3.7.2/reference/#console-remote-console">TinkerPop reference docs</a></p>
2209
+
Further documentation can be found in the <ahref="https://tinkerpop.apache.org/docs/3.7.3/reference/#console-remote-console">TinkerPop reference docs</a></p>
2210
2210
</div>
2211
2211
<h3id="running-gremlin-console-on-bare-metal">Running Gremlin Console on Bare-metal</h3>
2212
2212
<p>We can also run the Gremlin Console on our bare-metal machine. To make the server able to communicate with the gremlin
0 commit comments