Re: [Neo4j] help: got NotInTransactionException

2010-06-20 Thread Tobias Ivarsson
Hi, All operations in Neo4j need to be performed within the context of a transaction. This includes both read and write operations, and getting a property value is a read operation. You thus need to wrap the code that gets the property value in graphDb.beginTx() try { ... tx.success(); } finally {

Re: [Neo4j] Neo4j spatial within distance query

2010-06-20 Thread Paddy
I have uploaded some example code i used with sample data containing 1000 Bus Stop/Coordinate data from Dublin in case anyone is interested here: http://drop.io/neo4jspatialexample thanks again to Davide for providing me with the initial examples It finds Bus Stops within 200m from the point (53.3

[Neo4j] help: got NotInTransactionException

2010-06-20 Thread go canal
Hello, Newbie question: I got an exception for this code: public final String getNotes () { if (underlyingNode != null) return (String) underlyingNode.getProperty(Constants.PERSON_NOTES, null); else return null; } I would expect this code can handle the retrieving of the Notes property correctly

[Neo4j] (no subject)

2010-06-20 Thread bryan webb
http://gtmd.allew.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

[Neo4j] deleting index

2010-06-20 Thread Alexander Viefhues
Hello, for my graphalgorithm I create a new index, this index is only used in one iteration of the algorithm. After that I delete the index from all nodes. But after deleting the index there still is an folder with the indexname in the lucene folder, the size of each folder is always ca. 60kb. I