Date
1 - 2 of 2
How to list properties from gremlin console
Jason Plurad <plu...@...>
Hi Gene,
Never tried to do it before seeing your post, but this seems workable:
-- Jason
Never tried to do it before seeing your post, but this seems workable:
gremlin> import static org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.*
==>groovy.grape.Grape, org.apache.commons.configuration.*, ...
gremlin> graph = JanusGraphFactory.open('conf/janusgraph-cassandra-es.properties')
==>standardjanusgraph[cassandrathrift:[127.0.0.1]]
gremlin> graph.getConfiguration().getConfiguration().getSubset(STORAGE_NS)
==>lock.local-mediator-group=CassandraThriftStoreManagerjanusgraph
==>hostname=127.0.0.1
==>backend=cassandrathrift
gremlin> graph.getConfiguration().getConfiguration().getSubset(INDEX_NS)
==>search.elasticsearch.client-only=true
==>search.backend=elasticsearch
==>search.hostname=127.0.0.1
-- Jason
On Tuesday, June 6, 2017 at 5:46:09 PM UTC-4, Gene Fojtik wrote:
Is there a way to list the current graph properties from the gremlin console? Looking for the properties set in the *.properties file that have been sourced on start-up.-gene