I am working the examples of NEO4J found inside Spring Data's book.
Nodes - Product, Person, Order
Relationships - (Order) Items (Product), (person) Reviewed (product)
I am designing my first Neo4J database and coming to a situation where the Review might be better served as a Node instead of a Relationship.
such that a Review could now have a COVERS relationships
Review COVERED Order , Review COVERED Product
This review would span multiple COVERED relationships in a sense.
Are there any thoughts on creating a Node Entity vs Node Relationship? Neo4J seems very flexible... if I change my mind it seems I could modify this later, yes?
It just seemed strange to be repeating essentially the same review text in a relationship, across multiple nodes... and to instead save computational space and create one review node
Review Node Entity
- String comments
- int stars