Date
1 - 3 of 3
unable to use lucene with cassandra
shrikant pachauri <sk.pa...@...>
Hi I am trying to use the lucene as the index backend but I am unable to use it. Here is what I am trying to do graph = JanusGraphFactory.open('conf/janusgraph-cassandra.properties') g = graph.traversal() mgmt= graph.openManagement() open = mgmt.getOpenInstances() // all active instances for (String inst : open) { if (!inst.endsWith("(current)")) //close instance except current mgmt.forceCloseInstance(inst) } mgmt.commit() mgmt = graph.openManagement() mgmt.set('index.search.backend', 'lucene') mgmt.commit() now when I am trying to call openMangement again it is giving me error : Unable to re-open management log does anybody has an insights about he problem |
|
Robert Dale <rob...@...>
It looks like 'index.*.backend' can be configured only via properties files since the configuration option is GLOBAL_OFFLINE - can only be changed for the entire database cluster at once when all instances are shut down. Additionally for Lucene, I believe it is also required to set 'index.search.directory'. See also http://docs.janusgraph.org/latest/lucene.html http://docs.janusgraph.org/latest/config-ref.html#_index Robert Dale On Thu, Nov 23, 2017 at 9:16 AM, shrikant pachauri <sk.pa...@...> wrote:
|
|
Robert Dale <rob...@...>
Correction, GLOBAL_OFFLINE can be changed in other ways. See http://docs.janusgraph.org/latest/configuration.html#_changing_offline_options Robert Dale On Fri, Nov 24, 2017 at 3:57 PM, Robert Dale <rob...@...> wrote:
|
|