Re: [Neo4j] Clear database over REST

2011-12-06 Thread Krzysztof Raczyński
Hello Michael, I glanced through plugin's source code, and spank me if i'm wrong, but is the plugging limited to removing only 1k nodes at a time? https://github.com/jexp/neo4j-clean-remote-db-addon/blob/master/src/main/java/org/neo4j/server/extension/test/delete/DeleteDatabaseResource.java#L58

[Neo4j] REST Traversal and prune evaluators

2011-12-02 Thread Krzysztof Raczyński
Hello folks, i've been trying to prune based on number of outgoing relationships, but so far i am stumped, since org.neo4j.graphdb.Node interface doesn't expose any way to count outgoing relationships. Traversal is for tree visualisation, and i want to avoid creating too much of a clutter, hence

Re: [Neo4j] CQL find by name

2011-12-01 Thread Krzysztof Raczyński
In my opinion, the current syntax reminds me of SQL, which is a good thing. All the newbies like me can easily wrap their head around the concepts, without much problem. Since you can't do an actual assignment in Cypher (please correct me if i am wrong), an equal sign clearly means comparison

Re: [Neo4j] Cypher Query Optimizing

2011-11-30 Thread Krzysztof Raczyński
START n=node(119) MATCH n-[:CO_S]-m, n-[:CO_S]- t, m-[r:CO_S]- t return m.w_id, t.w_id, r.sig, r.freq took: 644ms (average of 100 runs after 10 warmups) Can you try using shortestPath cypher function for m-t ? ___ Neo4j mailing list

Re: [Neo4j] Scalability Roadmap

2011-11-19 Thread Krzysztof Raczyński
On Sat, Nov 19, 2011 at 11:20 AM, Mattias Persson matt...@neotechnology.com wrote: 2011/11/18 serge s.fedoro...@gmail.com Specifically what's bad about how they are handled is that to get any relationship from a node they all have to be loaded once first into cache, regardless of which type

Re: [Neo4j] Scalability Roadmap

2011-11-19 Thread Krzysztof Raczyński
Great, since my schema is a tree (1 incoming, up to hundred of outcoming) i was worried about that. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Batch Insert : poooor performance

2011-11-18 Thread Krzysztof Raczyński
Of course providing some more context would be poor too? How are we supposed to know what's the problem? ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Batch Insert : poooor performance

2011-11-18 Thread Krzysztof Raczyński
Btw, inserting 600k nodes over REST with about 8 properties in batches of 100 takes 20-30minutes for me. It's not awesomely fast, but it's not slow either. What settings are affecting insertion speeds, Peter? ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] Record not in use problem and solution

2011-11-17 Thread Krzysztof Raczyński
Does this problem occur with automatic node indexing? ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Traversing performance

2011-11-16 Thread Krzysztof Raczyński
It all depends on task at hand. Personally, i've had most success with REST API, which allows you to define your own prune evaluators and filters. With prune evaluators you an easily exclude nodes from traversing, based on your rules. Although my graph is small (600k nodes, 1.8M properties), i've

Re: [Neo4j] py2neo 0.982

2011-11-15 Thread Krzysztof Raczyński
First off, thanks for py2neo. I think i found a bug that prevents from using javascript filters when traversing over rest: http://py2neo.org/docs/api/py2neo.neo4j-pysrc.html#TraversalDescription.filter Instead of body, key is named name. Since you're on vacation i've taken justice of sending you

Re: [Neo4j] py2neo 0.982

2011-11-15 Thread Krzysztof Raczyński
No problem, on the other hand the name parameter is still valid, since there are two named filters: all and all_but_start_node, and whatever filters someone may add themselves. I also have one issue with Node class, i really like the way original JPype bindings work - i.e. i can use

Re: [Neo4j] py2neo 0.982

2011-11-15 Thread Krzysztof Raczyński
No need to, i submitted a pull request with that change. I will also submit my proposed index syntax changes. I'm no good at git, so i may or may not screw this up. As far as changes you wrote about, i think we should move it to one method, and rely on arguments supplied by user to know which

Re: [Neo4j] Neo4J 1.4.2 on Ubuntu 11.04

2011-10-20 Thread Krzysztof Raczyński
What is your memory mapped files configuration? Are you sure you aren't running out of memory? On Thu, Oct 20, 2011 at 11:14 PM, fernandobr fvdmagalh...@gmail.com wrote: Hi, I'm having some trouble using Neo4J in Ubuntu 11.04 Linux OS. The program I've writen works fine under Windows 7 but when

Re: [Neo4j] Neo4J 1.4.2 on Ubuntu 11.04

2011-10-20 Thread Krzysztof Raczyński
It is worth a try. Remember that on linux, memory mapped files are allocated outside of JVM heap, so when calculating total memory usage add whatever you configured to the JVM heap. Database size on hdd doesn't mean much, mine is 80megs, but when all nodes are cached (and usually they are) it can