qfel
ATApache TinkerPop
•Created by qfel on 6/15/2024 in #questions
Setting index in gremlin-python
I was trying to create vote graph from tutorial on loading data in gremlin-python and afaik you can't simply add index from non-JVM languages because for example there is no TinkerGraph that you could
.open()
. I don't know how better is performance when having index on 'userId' but my code simply takes too long go through queries from vote file.
I tried using client functionality
to do it from string query and i'm not sure if with_remote(conn)
uses previously assigned graph
, let me know how to do it correctly. I'm not sure how to assign to g
from client.submit(...)
.
Additionally: how does one speed up those queries, if setting index won't do it?
In my implementation
call to idToNode
for each line takes too long.54 replies