All Questions
99
questions
0
votes
0
answers
44
views
Why "Could not locate method: NeptuneGraphTraversal.property()" after addE()?
I'm trying to convert the code from this QA about copying a node from groovy gremlin to nodejs gremlin. One section of that code I've converted like so
this.__.select('source').inE().as('e').
select(...
0
votes
0
answers
16
views
Setting constants for usage in math steps with select in gremlin
I have a working js gremlin query for Haversine distance which I am looking to make more composable by setting constants for usage in the math step in some other way than using withSideEffect.
The ...
0
votes
1
answer
16
views
How is select being used outside a traversal? groovy gremlin vs nodejs gremlin
I found this QA to be very useful, or at least would be if I understood what the heck is going on, and could translate it from groovy gremlin to nodejs gremlin. What's tripping me up is the use of the ...
0
votes
0
answers
55
views
How do i parse the query response I get from aws neptune(using gremlin for query)
I'm working on a Node.js application that interacts with an AWS Neptune graph database using the Gremlin-JavaScript client. My goal is to query the graph for specific vertices based on their labels ...
0
votes
2
answers
41
views
Concurrency error during parallelized creation of edges from one to many
I am getting the following error when trying to concurrently create a few hundred edges from a given vertex to various other unique vertices.
{
"requestId": "b90671d4-d8f0-4cca-b0c3-...
1
vote
1
answer
48
views
Migrating a node label in gremlin tinkerpop
I'm working on migrating a graph from an old naming system to a new one and am looking for an efficient way to effectively re-label a given node label without losing node or edge properties or any ...
1
vote
3
answers
123
views
Running a local tinkerpop gremlin graph for testing in nodejs
I'm looking for a solution to run a gremlin tinkerpop graph locally to use for toy graphs for unit testing with Jest. I saw tinkergraph, but it doesn't appear to have a javascript implementation that ...
0
votes
0
answers
23
views
GremlinJs: How to compare property from vertex earlier in traversal to the property of the vertex at the current traversal loc
I'm trying to run a query on a graph of people that, for a given user, returns all vertices that are a friend of friend of that user AND that have the same last name. I'm having trouble storing an ...
0
votes
1
answer
47
views
Gremlin Client Responses in the Wrong Format
I'm trying to rewrite some code after gremlin.createClient was depreciated but it needs to return the data in the way it's been previously expected.
const gremlin = require('gremlin');
client = new ...
1
vote
1
answer
108
views
Gremlin ConcurrentModificationException terminates Node.js server when writing to AWS Neptune, never reaches 'catch' clauses
node: 16.20.2
gremlin: 3.6.5
ResponseError: Server error:
{
"detailedMessage": "Failed to complete Insert operation for a Vertex due to conflicting concurrent operations. Please ...
0
votes
0
answers
69
views
Connect NodeJS lambda Function to Neptune database
I have Zipped and attached Gremlin pacakage as a layer to Nodejs lambda function.
The code looks like this
import gremlin from 'gremlin';
const { DriverRemoteConnection } = gremlin.driver;
const Graph ...
1
vote
0
answers
79
views
we have recently updated the Neptune Engine to version 1.1.1.Along with that we updated the gremlin to version 3.5.3.Now we are facing websocket error
Initially we faced some issues related to child graph traversal , once we resolved that we are facing the below issue ,
ERROR
WebSocket is not open: readyState 2 (CLOSING)
at WebSocket.send (/var/...
0
votes
0
answers
195
views
InternalFailureException while executing the gemlin query
we have recently updated the Neptune Engine to version 1.1.1 (R7). Along with that we updated the gremlin as well to version 3.5.3. As per this official doc https://docs.aws.amazon.com/neptune/latest/...
1
vote
1
answer
110
views
Project to Tree (looking like JSON) using gremlin
I'm trying to project a JSON-tree with the data that I have in my Tinkerpop 3.5 database (running on local container, aws neptune is used when deployed).
I have tried using .tree() after my repeat, ...
0
votes
1
answer
105
views
valueMap returning empty object with Neptune
First let me say two things: I'm starting with graphDB and I tried this post: Gremlin's valueMap() returns an empty object with JS and Neptune and did not work.
I'm following the same steps as I'm ...