Open sorryya opened 6 years ago
Do you mean something like this:
UniGraph graph1 = UniGraph.open(conf1);
UniGraph graph2 = UniGraph.open(conf2);
@seanbarzilay This is unipop-console and JVM way, But unipop-server how to configure?
You can simply add
graphs: {
graph: path/to/properties/file,
graph2: path/to/properties/file2
}
to your gremlin-server.yaml file.
@seanbarzilay Hi,Appreciate for your help. It worked when I booting tinkerpop-server by thie configure. But I have another question: I try to dynamically create UniGraph instead of loading UniGraph at boot time. First I booting the tinkerpop-server ,and then I :remote the tinkerpop-server by tinkerpop-console(session way). The command like this:
:remote connect tinkerpop.server conf/remote.yaml session (1) :> conf = new BaseConfiguration() (2) :> conf.addProperty("providers","/company/tinkerpop-server/groovy") (3) :>graph3=UniGraph.open(conf) (4)
In the (4) step,It shows me this message:
No such property: UniGraph for class: Script8
I have already configure the org.unipop.plugin.UnipopPlugin:{} in gremlin-server.yaml and install unipop-elastic plugin in tinkerpop-server,but why can't find UniGraph?
I don't know if this is possible but try importing import org.unipop.structure.UniGraph
before creating a graph with the remote console.
Can unipop support multi mappings for different graph models running at the same time? If yes, how should I configure? If no, will you plan to support it?