【发布时间】:2018-04-25 16:22:28
【问题描述】:
我关闭了 dse 图的自动扫描并为顶点和边的属性添加索引。我的所有查询都失败并显示以下错误消息,
g.V().hasLabel("PERMISSIONS").valueMap()
产量,
Could not find an index on vertices labelled 'PERMISSIONS' to answer the condition: '((label = PERMISSIONS))'. Current indexes are: byName(Secondary)->name. Alternatively if in development enable graph scan by using graph.allow_scan. Graph scan is NOT suitable for anything other than toy graphs.
如何为标签添加索引?
【问题讨论】:
标签: datastax datastax-enterprise-graph