Unable to create a composite index, stuck at INSTALLED

前端 未结 2 1119
無奈伤痛
無奈伤痛 2021-02-07 08:26

I\'m unable to create an index. My Gremlin code is as follows:

usernameProperty = mgmt.getPropertyKey(\'username\')
usernameIndex = mgmt.buildIndex(\'byUsernameU         


        
2条回答
  •  隐瞒了意图╮
    2021-02-07 08:44

    If you're running multiple Titan instances, you should be aware that they need to coordinate before the index will become available.

    Furthermore, there are various subtleties around transaction management and under what circumstances transactions will be left open; I believe Titan 1.0.0 doesn't have the latest from TinkerPop in that regard. Have you tried creating the index immediately after boot?

    Finally, the index creation process is different depending on whether or not the property keys being indexed have been used before. Are you attempting to index new keys, or existing ones?

提交回复
热议问题