I would like to delete the existing index and follow the steps in the documentation so far. At the moment, I do not have a separate indexing database. However, when I go to the step when you need to wait for the index status to change using m.awaitGraphIndexStatus, it waits for the change to forever and expires with the following error:
GraphIndexStatusReport[success=false, indexName='usernameComposite', targetStatus=DISABLED, notConverged={username=INSTALLED}, converged={}, elapsed=PT1M0.092S]
The same thing happens when I try to create a new one. Any ideas what might cause this?
I create indexes using the following code snippet:
graph.tx().rollback()
mgmt = graph.openManagement()
name = mgmt.getPropertyKey('username')
mgmt.buildIndex('username-composite', Vertex.class).addKey(name).unique().buildCompositeIndex()
mgmt.commit()
mgmt.awaitGraphIndexStatus(graph, 'username-composite').call()
source
share