I am trying to created a Thinkaurelius titan datastore using:

TitanGraph graph = TitanFactory.open("/tmp/graph") 

The documentation can be found at https://github.com/thinkaurelius/titan/wiki/Using-BerkeleyDB But each time I open the graph a new datastore is being created. I even tryed using the configure object but it did not help. Has any one worked on this before? I wanto create a titan datastore that should be reusable, i.e. it should not create a new datastore each time I open it.

Any suggestions please?

有帮助吗?

解决方案

It sounds like the changes aren't being committed to the database. Look more into how transactions work.

https://github.com/thinkaurelius/titan/wiki/Transaction-Handling

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top