Apache TinkerPop
Join the Apache TinkerPop server to ask questions!
Join ServerApache TinkerPop
Join the community to ask questions about Apache TinkerPop and get answers from other members.
Join ServerChannels
search for vertices where multiple properties
repeat and until methods in Javascript Gremlin:
const org = await g.V().until((r) => r.hasLabel('')).repeat({...}).path().by('name').next()
const org = await g.V().until((r) => r.hasLabel('')).repeat({...}).path().by('name').next()
Gremlin driver setup for Amazon Neptune behind a Load balancer
Gremlin (with Python + Neptune) Out of Memory Error with .toList()[0], .next() Fixes It. But Why?
path_v
is a single well defined V. I am expecting it is returning a single V....AWS Neptune and gremlin-javascript versions
option()
is being called with two Map
arguments, but your example does not seem to indicate that you are doing that. It's interesting that 3.7.0 "fixes" it because I can't think of any reason why that would matter. Perhaps you could try 3.6.5 to see if there were somehow changes after 3.6.2 that solved this problem?
Regarding your more general question of:
My question is: does the version of the javascript client match the version of the server (or should it)? Or should I always strive to use the latest client?Generally speaking you should follow the version table here https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-gremlin-client.html - While it is possible that versions outside of those ranges in that table will work with one another, those are the versions that Neptune tests against and that are supported....
Docker Janusgraph Custom ID Values
Reusing connections
Can I surpress gremlin console's warnings?
gremlin -l ERROR
```
% gremlin
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/usr/local/apache-tinkerpop-gremlin-console-3.6.2/lib/groovy-2.5.15-indy.jar) to method java.lang.Object.finalize()...export JDK_JAVA_OPTIONS="$JDK_JAVA_OPTIONS --illegal-access=deny"
produces the following
```
% export JDK_JAVA_OPTIONS="$JDK_JAVA_OPTIONS --illegal-access=deny"
% gremlin
NOTE: Picked up JDK_JAVA_OPTIONS: --illegal-access=deny...Sequential IDs in Neptune?
vertexNumber
, which will store the numeric sequential ID for each vertex. Then, before saving a vertex to the database, I run a simple query to retrieve the current highest vertex number, increment it, and store the new vertexNumber
to that vertex. Pseudo-code examples found below.
```...Gremlin console vs REST API
Queries sent over HTTP will return the response using GraphSON (GraphSONv3, be default with Neptune) which includes all of the extra type information....
Cryptic Neptune Gremlin Error Rate Creeping - What Would You Recommend?
kubehound


Help with visualizing in the graph-notebook
Gremlin browser code editor
Connecting to local gremlin server with websocket address
Clarification on Kerberos configuration for Gremlin Driver
Gremlin Driver and frequently changing servers
Cluster
object and updating the contact points. Neptune has a special client that wraps the TinkerPop driver to do just that: https://aws.amazon.com/blogs/database/load-balance-graph-queries-using-the-amazon-neptune-gremlin-client/ i've always thought it would be nice if...Global Search
GraphSON mapper
.drop() behavior confussion

drop()
. The terminal step actually executes the traversal...drop()
is not such a step. You would likely use iterate()
in this case as your terminal step. https://tinkerpop.apache.org/docs/current/reference/#terminal-steps