DSE Gremlin 控制台:无法修改架构
DSE Gremlin Console: Cannot modify schema
我已经安装了 DSE 5.0 和 DSE Graph 引擎,我正在尝试按照 docs 获取图表并 运行ning,但是我已经 运行定义图形模式的问题。
当我尝试引用 schema
时,例如通过执行 schema.propertyKey('test').Text().create()
,我收到以下错误:
No such property: schema for class: Script2
我曾尝试挖掘与 DSE Graph 相关的各种配置文件,但没有找到任何有用的东西。之前有其他人遇到过这个错误吗?
以下是 运行 入门所需的命令:
system.graph('test_graph').create()
:remote config alias g test_graph.g
schema.config().option('graph.schema_mode').set('Development') //Not having this was probably giving you the error.
schema.propertyKey('testProperty').Text().create()
"First, set the schema mode to Development. Development is a more
lenient mode that allows schema to be added at any time during
testing. For production, Production schema mode should be set to
prevent interactive schema changes that can lead to anomalous
behavior."
我已经安装了 DSE 5.0 和 DSE Graph 引擎,我正在尝试按照 docs 获取图表并 运行ning,但是我已经 运行定义图形模式的问题。
当我尝试引用 schema
时,例如通过执行 schema.propertyKey('test').Text().create()
,我收到以下错误:
No such property: schema for class: Script2
我曾尝试挖掘与 DSE Graph 相关的各种配置文件,但没有找到任何有用的东西。之前有其他人遇到过这个错误吗?
以下是 运行 入门所需的命令:
system.graph('test_graph').create()
:remote config alias g test_graph.g
schema.config().option('graph.schema_mode').set('Development') //Not having this was probably giving you the error.
schema.propertyKey('testProperty').Text().create()
"First, set the schema mode to Development. Development is a more lenient mode that allows schema to be added at any time during testing. For production, Production schema mode should be set to prevent interactive schema changes that can lead to anomalous behavior."