incubator-hugegraph
incubator-hugegraph copied to clipboard
请问为了提升load性能,在哪里关闭label-index
在编写schema.groovy时为vertexlabel或edgelabel指定enableLabelIndex(false),比如:
schema.vertexLabel("person")
.properties("name", "age", "city")
.primaryKeys("name")
.nullableKeys("age")
.enableLabelIndex(false)
.ifNotExist()
.create();