JanusGraph/janusgraph

Possible incosistency in chapter 5 documentation

Open

#1 573 ouverte le 12 mai 2019

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)Java (1 137 forks)batch import
good first issuehelp wanted

Métriques du dépôt

Stars
 (4 985 stars)
Métriques de merge PR
 (Merge moyen 3j 18h) (12 PRs mergées en 30 j)

Description

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?

Guide contributeur