incubator-hugegraph icon indicating copy to clipboard operation
incubator-hugegraph copied to clipboard

请问为了提升load性能,在哪里关闭label-index

Open minilop opened this issue 7 years ago • 1 comments

minilop avatar Apr 17 '19 09:04 minilop

在编写schema.groovy时为vertexlabel或edgelabel指定enableLabelIndex(false),比如:

schema.vertexLabel("person")
              .properties("name", "age", "city")
              .primaryKeys("name")
              .nullableKeys("age")
              .enableLabelIndex(false)
              .ifNotExist()
              .create();

Linary avatar Apr 17 '19 14:04 Linary