JanusGraph/janusgraph
GitHub で見るPossible incosistency in chapter 5 documentation
Open
#1,573 opened on 2019年5月12日
good first issuehelp wanted
Repository metrics
- Stars
- (4,985 stars)
- PR merge metrics
- (平均マージ 3d 18h) (30d で 12 merged PRs)
説明
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?