I have a requirement in which a property key can contain multiple values. How do I store them as property in Neo4j?
Ex: Person node has properties like: 'name', 'age' and 'interests' The 'interests' property can can contain more than one strings(array of strings).
What is the best approach to store 'interests'? I think I don't want to complicate this by adding more nodes. Instead I want to keep all properties in the same Person node.
Also, it will be good if I can search a Person node by any one item in the 'interests' property.
Store as one string separated by some special chars? Store as array of strings for a property? if so how do I do this?
Thanks