Closed ChenZhaobin closed 4 years ago
4.And when I use below command to insert data
graph1=ConfiguredGraphFactory.open('testgraph1');
g1=graph1.traversal();
g1.addV(‘company').property('name','testname')
everything is fine when using console terminal ,it only insert one item for testgraph1 ,but when it comes to gremlin.net ,these command can insert 3 same record item for every graph( testgraph1,testgraph2,graph)
finally,I find out that I have used the same keyspace for all the graphs, remove storage.keyspace configuration,can solve the issue 3 and 4. refer
there are a lot issues when using ConfiguredGraphFactory. 1.when config following the wesite docs, when I create a graph using ConfiguredGraphFactory.create("testgraph"); it gives me an error" should first create a template",but when I want to create using mapping ,it always return error:"there is no config :storage.backend“, so I finnally solved it by below command:
2.After I create two graph using command:
there is no traveral named testgraph1_trversal() and testgraph2_trversal() at all 3.After I create schema for testgraph1 using below command:
then the schema is used by all the graphs,meaning that when I assign graph variable to testgraph2,it can also print the same schema with testgraph1,is this normal? It will be very appreciate if guys could help me out ,thanks.