Ids (type long) are generated internally and cannot be supplied from outside. However, you can use another arbitrary property key to represent such a user-defined ID... For easy lookup also index that property for each created node and query the index to get the node for a specific ID.
2010/7/22 Hunt <conan...@gmail.com> > How can I self define a new node? eg. define a new node with my own id, can > the node's ID be a string?Have anyone successful deploy neo4j with thrift? > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user