Results 1 to 2 of 2

Thread: [neo4j] Can graph Id be used as unique identifier

  1. #1
    Join Date
    Oct 2012
    Posts
    10

    Default [neo4j] Can graph Id be used as unique identifier

    Hi All,

    Can I safely use GraphId as a unique identifier of the node?

    A particular case, when the nodes gets deleted, does neo4j try to reuse the GraphId of these deleted nodes for creating new nodes later ?

    Thanks in advance
    Faisal

  2. #2
    Join Date
    Jan 2011
    Location
    Dresden, Germany
    Posts
    525

    Default

    #1 only if you don't rely on them to always point to the same node, as
    #2 Neo4j actually does reuse them after deletion (configurable but if you switch it off your store-file will grow indefinitely)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •