I had the same question a couple weeks ago, Laurent. It still isn't clear
to me why traversals/reads need to be wrapped in a transaction.
-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Laurent Laborde
Sent: Monday, December 28, 200
Michael Kilgore wrote:
> Changing the version to 0.4 results in - 12/28/09 10:10:01 AM PST: Missing
> artifact org.neo4j:apoc:pom:0.4:compile
>
> Has the new version been released?
>
Now it's deployed to the maven repository:
http://m2.neo4j.org/org/neo4j/apoc/0.4/
/anders
_
Hi!
Thanks for the heads up.
I'll fix this now. It was built ... but on the wrong server :-)
/anders
Michael Kilgore wrote:
> Changing the version to 0.4 results in - 12/28/09 10:10:01 AM PST: Missing
> artifact org.neo4j:apoc:pom:0.4:compile
>
> Has the new version been released?
>
> Thanks
>
Changing the version to 0.4 results in - 12/28/09 10:10:01 AM PST: Missing
artifact org.neo4j:apoc:pom:0.4:compile
Has the new version been released?
Thanks
Michael Kilgore
InfoClear Consulting
425.306.6042
___
>
> tx = neo.beginTx();
> for(Node node : traverser) {
> //Some setProperty stuff.
> }
> tx.success(); tx.finish();
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
With 512m ... Bleh :(
--
Laurent "ker2x" Laborde
Sysadmin & DBA at http://www.over-blog.com/
_
Hi again !
I don't understand why i need to being a transaction when reading a
database using a traverser.
The following code throw an error : No transaction found for current thread
tx = neo.beginTx();
Traverser traverser = domainNode.traverse(Traverser.Order.BREADTH_FIRST,
Stop
On Mon, Dec 28, 2009 at 4:46 PM, Peter Neubauer
wrote:
> Hi Laurent,
> you can get the Node and Relationship count by asking the NodeManager
> for the number of IDs in use. Look at
> http://github.com/tinkerpop/gremlin/blob/master/trunk/src/main/java/com/tinkerpop/gremlin/db/neo/NeoGraph.java#L108
Hi Laurent,
you can get the Node and Relationship count by asking the NodeManager
for the number of IDs in use. Look at
http://github.com/tinkerpop/gremlin/blob/master/trunk/src/main/java/com/tinkerpop/gremlin/db/neo/NeoGraph.java#L108
for an example. This is not in the public API, but will end up
On Mon, Dec 28, 2009 at 3:26 PM, Laurent Laborde wrote:
> Hi !
>
> i want to know how many relationship and node i have in my database.
> My bruteforce way is *insanly* slow (at this speed... it will take
> (many?) hours...)
Ho well... it started slowly. But it finally took just a few mn.
Number
Hi !
i want to know how many relationship and node i have in my database.
My bruteforce way is *insanly* slow (at this speed... it will take
(many?) hours...)
Here is the code :
tx = neo.beginTx();
for (Node node : neo.getAllNodes()) {
nodecounter++;
for (Relationship relation :
10 matches
Mail list logo