3,635 questions
Advice
0
votes
2
replies
34
views
Apache tinkerpop gremlin query with limits question
I'm trying to use Gremlin, but has no idea how to use the following sub-task:
I have vertices like with description, startDate and groupId and I need to find first 10 vertices by startDate, but no ...
2
votes
2
answers
77
views
How to match all possible paths in Tinkerpop gremlin
I am a beginner in Gremlin language and want to create a query which continues looking for matching vertices even after an exit condition in until matches (till more vertices exist)
Consider a ...
0
votes
1
answer
80
views
How to do Gremlin bindings in Gremlinq?
How can I use Gremlin bindings in Gremlinq so that I get the benefits of query compilation/plan caching and injection prevention?
0
votes
1
answer
66
views
How to create an anonymous traversal from a functioning normal traversal?
This is an admittedly naive question but there is a key concept with anonymous traversal that I'm not grasping.
I'm writing gremlin queries against a variety of graph databases. My preference for ...
0
votes
1
answer
40
views
When specifying the mimeType for a Gremlin connecting, what is the significance of 'types=false'?
I am connecting to various implementations of Gremlin using the javascript library and websockets. I am attempting to make my code interoperable with various gremlin servers, all support roughly the ...
1
vote
1
answer
59
views
Long Gremlin Traversal not returning data
I am trying to resolve one case where I want to fetch data from OrientDB database based on some filter.
I have a vertex class named "Vertex_Class". It has 2 attributes "Name" and &...
3
votes
1
answer
71
views
Use BM25 score from Elasticsearch to order gremlin results
How can I get Gremlin search results sorted according to Okapi BM25 relevance score provided by Elasticsearch?
I want to use mixed index with number overtex properties indexed as TEXT in ES and get ...
0
votes
0
answers
49
views
Why does the first Gremlin query take significantly more time in distributed JanusGraph setup on Kubernetes?
Environment Setup
I'm working with a distributed JanusGraph architecture deployed on Azure Kubernetes Service (AKS):
Infrastructure:
AKS Cluster: 2 nodes (16 vCPU, 64 GB RAM each)
Cassandra: 2 ...
0
votes
0
answers
109
views
JanusGraph query slower than Neo4j — same query structure, different Kubernetes cluster & backends (Cassandra/ES)
I'm running two different graph database setups on separate Kubernetes clusters (with the same configuration) and facing performance issues with JanusGraph compared to Neo4j. Here's the detailed setup:...
0
votes
1
answer
50
views
Authenticate to JanusGraph Gremlin Server without Hardcoding Credentials in remote.yaml
I have set up authentication for my JanusGraph Gremlin Server using WebSocket. The authentication works correctly when I specify the username and password in the remote.yaml file. However, I would ...
-1
votes
1
answer
92
views
Gremlin.Net connection problem with User-Agent header [closed]
I'm trying to connect to a Cosmosdb db with Gremlin API. I just install the latest version of the Gremlin.Net library from nuget store, in c# set the connection properties like this:
GremlinClient ...
1
vote
1
answer
234
views
How to handle closed connections in gremlin-python Client's internal pool without full recreation?
I'm using gremlin-python (v3.7.3) in a multi-threaded Python application, sharing a single gremlin_python.driver.client.Client instance across threads. The client is configured with pool_size = 8 by ...
1
vote
2
answers
58
views
Cannot make Gremlin queries to return what I need
I have this test data.
{
"entityCode": "1ae1067d-2590-4f2e-ad74-f888a7ea7193",
"entityName": "Arda",
"childEntities": [
{
&...
2
votes
1
answer
160
views
Issue with Transactions in Local TinkerPop Gremlin Setup
I might be misunderstanding how transactions work in Gremlin. Here’s what I’m trying to test on a local TinkerPop Gremlin setup:
Add a few vertices.
Start a transaction to drop and re-add them.
While ...
0
votes
1
answer
209
views
Understanding Transactions in AWS Neptune and Gremlin
The documentation is a bit confusing regarding transactions in AWS Neptune:
Neptune opens a new transaction at the beginning of each Gremlin traversal and closes the transaction upon the successful ...