Replies: 1 comment
-
Good point. Indeed, it would not hurt to have a section in the ref docs pointing at the availability of TinkerPop graph.io / g.io() with such janusgraph-specific details! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is a very simple point, but I think it may help someone save a little time.
Please note that before using graph.io to import data, you need to define the cardinality of a multi-valued property as LIST through mgmt. Otherwise the schema with cardinality as SINGLE will be automatically created when importing, causing multi-values to be overwritten into single values.
Sample:
{"id":4320,"label":"feature","properties":{"multi_code": [{"id": 1,"value": "A"},{"id": 2,"value": "B"}]}}
Beta Was this translation helpful? Give feedback.
All reactions