문제

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