【发布时间】:2019-06-14 15:59:20
【问题描述】:
我正在关注这个博客: https://developer.ibm.com/dwblog/2018/janusgraph-composite-mixed-indexes-traversals/
代码:
gremlin> graph.tx().rollback()
==>null
gremlin> mgmt = graph.openManagement()
==>org.janusgraph.graphdb.database.management.ManagementSystem@19472803
gremlin> code = mgmt.getPropertyKey('code')
==>code
gremlin> mgmt.buildIndex('byCodeComposite', Vertex.class).addKey(code).buildCompositeIndex()
==>byCodeComposite
gremlin> mgmt.commit()
==>null
gremlin> mgmt.awaitGraphIndexStatus(graph, 'byCodeComposite').call()
==>GraphIndexStatusReport[success=False, indexName='byCodeComposite', targetStatus=[REGISTERED], notConverged={}, converged={code=REGISTERED}, elapsed=PT0.012S]
错误:
But i am getting this:
==>GraphIndexStatusReport[success=false, indexName='byCodeComposite', targetStatus=[REGISTERED], notConverged={code=INSTALLED}, converged={}, elapsed=PT1M0.413S]
版本: 卡桑德拉:3.11.3 弹性搜索:6.5.4 janusgraph:0.3.1-hadoop2
我正在尝试解决这个问题,但它不适合我。
【问题讨论】:
标签: graph-databases janusgraph