Reset Index in neo4j using Python -
is there possibility reset indices once deleted nodes if deleted whole folder manually?
i deleting whole database node.delete() , relation.delete() , want indices start @ 1 again , not had stopped...
i assume referring node , relationship ids rather indexes?
quick answer: cannot explicitly force counter reset.
slightly longer answer: speaking, these ids should not carry relevance within application. there have been number of discussions within neo4j mailing list , stack overflow id internal artifact , should not used primary key. it's purpose more akin in-memory address , if require unique identifiers, better off considering uuid.
Comments
Post a Comment