gremlin> graph.tx().rollback()
==>null
gremlin> mgr = graph.openManagement()
==>com.thinkaurelius.titan.graphdb.database.management.ManagementSystem@1ac730cd
gremlin> idxBuilder = mgr.buildIndex('idxAmName',Vertex.class)
==>com.thinkaurelius.titan.graphdb.database.management.ManagementSystem$IndexBuilder@72ce812e
gremlin> paramType = Mapping.TEXTSTRING.asParameter()
==>mapping->TEXTSTRING
gremlin> idxBuilder.addKey(mgr.getPropertyKey('amName'),paramType)
==>com.thinkaurelius.titan.graphdb.database.management.ManagementSystem$IndexBuilder@72ce812e
gremlin> elementLabel = mgr.getVertexLabel('accountManager')
==>accountManager
gremlin> idxBuilder.indexOnly(elementLabel)
==>com.thinkaurelius.titan.graphdb.database.management.ManagementSystem$IndexBuilder@72ce812e
gremlin> idxBuilder.buildMixedIndex('search')
==>idxAmName
gremlin> mgr.commit()
==>null
gremlin> import com.thinkaurelius.titan.graphdb.database.management.ManagementSystem
....
gremlin>ManagementSystem.awaitGraphIndexStatus(graph, "idxAmName").call()
==>GraphIndexStatusReport[success=false, indexName='idxAmName', targetStatus=REGISTERED, notConverged={amName=INSTALLED}, converged={}, elapsed=PT1M0.212S]
gremlin> ManagementSystem.awaitGraphIndexStatus(graph, "idxAmName").call()
==>GraphIndexStatusReport[success=false, indexName='idxAmName', targetStatus=REGISTERED, notConverged={amName=INSTALLED}, converged={}, elapsed=PT1M0.173S]
gremlin> ManagementSystem.awaitGraphIndexStatus(graph, "idxAmName").call()
==>GraphIndexStatusReport[success=false, indexName='idxAmName', targetStatus=REGISTERED, notConverged={amName=INSTALLED}, converged={}, elapsed=PT1M0.125S]
the index is created in ES but it never leaves the INSTALLED state in titan.
I can't disable it and I can't manually force it to register.
For context - the amName property has data in it - but it is a very small number of vertices (under 100)
Can anyone shed some light on what I am doing wrong here and/or how to recover from this?
Thanks,
ch.
thanks,
ch.