0

我定义了一个如下属性:

"attributeDefs": [
    {
      "name": "hobbies",
      "typeName": "array<string>",
      "isOptional": false,
      "cardinality": "SET",
      "valuesMinCount": 2,
      "valuesMaxCount": 5,
      "isUnique": false,
      "isIndexable": true,
      "includeInNotification": false,
      "searchWeight": -1
    }
  ],

当我尝试用一​​个值定义 hobbies 属性时(我将 valuesMinCount 设置为 2),它仍然允许我创建一个实体。我是否需要明确配置某些内容以启用约束?

4

0 回答 0