Questions tagged [gremlinnet]
37 questions
0
votes
1 answer
Read/save a file with Gremlin.net
I'm new in gremlin, But I have succed to have a janusgraph dockerized database, and to connect to it with Gremlin.Net 3.4.7 (thanks for the tutorials PRACTICAL GREMLIN found on stackoverflow :D).
I try this :
using (GremlinClient client =…

Parashift
- 1
- 4
0
votes
2 answers
Cosmos graph DB RU for Update operation using Gremlin
I have a graph DB and the requirement is to update an attribute in a few vertices. Now let's assume I have to update an attribute value from 0 to 1.
Approach #1 -
run update for each vertex in a loop
foreach(int id in ids) {
…

Anshul Mathur
- 45
- 10
0
votes
1 answer
Connect neo4j from .net using gremlin.net
Am trying to connect neo4j local setup(Windows 10 WSL Ubunutu 18.04) using Gremlin.Net library. Neo4j server is started and its running in http://localhost:8182/. When i try to connect using below code, it throws the error…

Raj
- 319
- 1
- 3
- 18
0
votes
1 answer
Getting request data with Gremlin.Net
I'm working with Gremlin.Net & Neptune and once a while some of the requests fail without much information in the error message (InternalFailureException).
I want to try and send the request through curl to the server's "/gremlin/explain" URL to get…

Avner Levy
- 6,601
- 9
- 53
- 92
-1
votes
1 answer
Gremlin Query to get longest common subsequence for a given source from the Azure Cosmos graph
lets assume I have got list of all longest common paths for given
source say A using below query
g.V().hasLabel('A').repeat(out()).until(__.not(out())).path().by('id')
Result: [ { "objects": [
"k", "B", "C"
] },
{ "objects": [
"A", "B", "E"
]…

place holder
- 13
- 1
-1
votes
1 answer
Exception using client and trying to add vertices
Steps in the code:
1.Declared Azure Cosmos DB Configuration variables(Host , PrimaryKey , Database ,Container)
2.Connection Pool
3.WebSocketConfiguration
4.GremlinServer
After all above steps, when I was using gremlin client and trying to add…

place holder
- 13
- 1
-2
votes
1 answer
Find Proper Longest Common Subsequence
I am trying to find proper longest common subsequence. I used below code and I was expecting 'B' as a result, however I am getting output as {K,B,C} which is not expecting. Can anyone help me correcting this below code to get expected output?
Check…

place holder
- 13
- 1