JanusGraph/janusgraph

Possible incosistency in chapter 5 documentation

开放

#1,573 创建于 2019年5月12日

 (2 条评论) (0 个反应) (0 位负责人)Java (1,137 个派生)batch import
good first issuehelp wanted

仓库指标

星标
 (4,985 个星标)
PR 合并指标
 (平均合并 3天 18小时) (30 天内合并 12 个 PR)

描述

In Chapter 5. Schema and Data Modeling first there is paragraph:

The default cardinality setting is SINGLE. Note, that property keys used on edges and properties have cardinality SINGLE. Attaching multiple values for a single key on an edge or property is not supported.

and then example:

mgmt = graph.openManagement()
follow = mgmt.makeEdgeLabel('follow').multiplicity(MULTI).make()
name = mgmt.makePropertyKey('name').dataType(String.class).cardinality(Cardinality.SET).make()
mgmt.addProperties(follow, name)
mgmt.commit()

doesn't this example contradict that edges can't have multiple values for a single key?

贡献者指南