Maintain unique nodes with same id

I am pushing my database to neo4j and I find that if Node ID matches they merge into 1 node. I don't always want it. So I have ID, type, properties. For my task, only certain types -> nodes with same id should merge in the graph db while any other node type should not merge as these can be details on a person's personal information. And at times properties might be empty so I cannot ask to keep nodes separate if properties are unique.

Basically given Node Type, nodes should merge by same Node ID as they currently do. Given other Node Types they should not merge by same Node ID which is not happening.

I tried generating unique id but I can't do it for every Node Type for my use case.

I don’t understand your question. Is there something specific we can help with?

On the subject of ‘merging’ nodes. The merge behavior is that a merge will try to match based on the property and values you provide in the merge clause. If a match is not found, then one will be created with these properties. You should create a unique identifier for each node so you can query quickly for a specific node.