Re: how to create index using gremlin scala


yair...@...
 

I suspect that, but I couldn't see how I get to the janusgraph api from the ScalaGraph.

This is my code:

  val conf = new BaseConfiguration()
  conf.setProperty("storage.backend", "cassandra")
  conf.setProperty("storage.hostname", IP)
  conf.setProperty("index.search.hostname", IP)
  val graph = JanusGraphFactory.open(conf).asScala



so from graph instance above - can I get to the java API?


On Tuesday, September 5, 2017 at 5:11:34 PM UTC+3, HadoopMarc wrote:
The janusgraph management API is not part of Tinkerpop, and thus not of gremlin-scala. So, you can just use the janusgraph java API within scala.

Hope this helps,    Marc

Op dinsdag 5 september 2017 13:10:51 UTC+2 schreef ya...@...:
I am using gremlin scala and I can't seem to find the management API so I can create indexes.

Any pointers?


Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.