Is it ok if we create self-referential nodes in neo4j? I need to use it in a big data environment so the performance really matters. I found an example here but need to know more opinions about this. Generally which one is better ? to use self reference nodes or to break them down to separate nodes with different labels and relations? My scenario is to create ecommerce tag groups and tags. A TAG_GROUP has TAGs , this is clear. However some Tags might have subtags. So there can be 2 solutions for this :
1) To use TAG-[has]-TAG self-referencial tag with some properties like {parentID,isSubTag,...}, the good thing about this is that I can go more than one sub-Tag level. However I am not sure how the performance will be.
2)To use TAH-[has]-SUB_TAG. Well maybe this one is simpler and easier to understand. But what if the SUB_TAG has a SUB_SUB tag itself?
Any help would be appreciated.
P.S.I am going to use neo4j 3.0.1 standalone server and Spring-Data-neo4j 4.1.1