dee2xu
dee2xu
Explore posts from servers
JJanusGraph
Created by dee2xu on 4/23/2024 in #questions
JanusGraphManagement from Java client
Is it possible to, from the GraphTraversalSource, get to a JanusGraphManagment instance?
1 replies
JJanusGraph
Created by dee2xu on 3/21/2024 in #questions
Indexing
Is it possible to have both a composite and mixed index for a vertex property. If so, is it ever desirable?
6 replies
ATApache TinkerPop
Created by dee2xu on 10/25/2023 in #questions
Connecting to local gremlin server with websocket address
Hello everyone. I'm looking for help with a client app written in Java that uses Tinkerpop Gremlin to interact with a Janusgraph instance. When developing new features, I run a local Janusgraph with a Gremlin server at localhost. I'm trying demonstrate that I can take a websocket url and establish a connection using that URL. I believe that the default websocket address for a local Gremlin server is ws://127.0.0.1:8182/gremlin. I'm trying to use a Cluster to create the connection and obtain a GraphTraversalSource. Here's what I'm trying. Cluster cluster = Cluster.build("ws://127.0.0.1:8182/gremlin").create(); GraphTraversalSource g = AnonymousTraversalSource.traversal().withRemote(DriverRemoteConnection.using(cluster)); This is throwing -- IllegalArgumentException: No such host is known (ws://127.0.0.1:8182/gremlin). Am I doing something wrong? Any help apprecitated!
6 replies