Disabling Indexing Backend


Chris Ruppelt <chris....@...>
 

When initializing the JanusGraph, is there a way to disable indexing backend? The below code always assumes using elasticsearch.

       Configuration c = new BaseConfiguration();

        

        c.setProperty("gremlin.graph", "org.janusgraph.core.JanusGraphFactory");

        c.setProperty("storage.backend", "cassandrathrift");


        Graph graph = GraphFactory.open(c);


Thanks
Chris R


Jason Plurad <plu...@...>
 

Hi Chris,

You likely initialized the default graph previously (Cassandra keyspace named "janusgraph"), and it was initialized with C* + ES.

Set a configuration property for storage.cassandra.keyspace using a non-default keyspace name, otherwise your graph configuration above would connect to the existing default graph.

-- Jason


On Wednesday, June 21, 2017 at 5:26:28 PM UTC-4, Chris Ruppelt wrote:
When initializing the JanusGraph, is there a way to disable indexing backend? The below code always assumes using elasticsearch.

       Configuration c = new BaseConfiguration();

        

        c.setProperty("gremlin.graph", "org.janusgraph.core.JanusGraphFactory");

        c.setProperty("storage.backend", "cassandrathrift");


        Graph graph = GraphFactory.open(c);


Thanks
Chris R