Re: [Neo4j] Primary Like ID Across Class Types

2011-10-28 Thread Ramon Buckland
Thanks Tatham, That is helpful. I do recall now the old SQL way was also to operate in batch selection to reduce locking. Nice, I'll make changes this weekend. Regards Ramon On Fri, Oct 28, 2011 at 1:45 AM, Tatham Oddie tat...@oddie.com.au wrote: Hi Ramon, We faced a similar problem on our

Re: [Neo4j] WebAdmin - incorrect data

2011-10-28 Thread Mattias Persson
Those numbers are the highest id in use minus any known deleted ids. The problem is if there's a non-clean shutdown where deleted ids are lost and those numbers will skew from reality. There's no easy fix for it though. 2011/10/22 sometime dons...@gmail.com In the database is constantly adding

Re: [Neo4j] [SOLVED] Traversing graph after adding node

2011-10-28 Thread Mattias Persson
You don't have to commit a transaction in order to see the changes in it. You can add a node and a relationship and within that same transaction find it via a traversal. And then after doing several of those commit and that's completely fine. 2011/10/24 Rubicon dj__d...@hotmail.com Realized,

Re: [Neo4j] Batch Inserter, Node Property error

2011-10-28 Thread Mattias Persson
Thanks Christopher for the fix, it will be included in the upcoming 1.5 release 2011/10/24 Christopher Schmidt fakod...@googlemail.com Send a pull request (https://github.com/neo4j/community/pull/73) On Mon, Oct 24, 2011 at 6:38 AM, Christopher Schmidt fakod...@googlemail.com wrote: Hi

[Neo4j] REST traverse deprecation

2011-10-28 Thread Peter Neubauer
Hi all, I think that the whole concept of http://docs.neo4j.org/chunked/snapshot/rest-api-traverse.html is broken, since it tries to emulate the embedded traversal logic in REST, which is just broken. With Cypher and Gremlin being MUCH better suited to do declarative and scripted traversals, I

Re: [Neo4j] Function to check whether two nodes are connected?

2011-10-28 Thread Mattias Persson
Just a heads up here: if (r.getType().equals(rel.getType())) isn't accurate. If you read the javadocs you can see that you cannot compare RelationshipType instances, but rather their names or use the short-hand method on Relationship: if (r.isType(rel.getType())) 2011/10/27 Bruno Paiva

Re: [Neo4j] 1.5M02 failed to start on reboot

2011-10-28 Thread Mattias Persson
Is this still an issue for you, or have you sent the logs to anyone? 2011/10/27 KanTube mich...@mkanner.com Chris, my servers are not in HA, i have two dev servers and one uat server all running the community edition with one dev server running two services at the same time. the issue was

Re: [Neo4j] REST traverse deprecation

2011-10-28 Thread Mattias Persson
I think it's probably a good thing to deprecate it because: a) it's inferior to native traversals b) cypher and gremlin does these things much better 2011/10/28 Peter Neubauer peter.neuba...@neotechnology.com Hi all, I think that the whole concept of

Re: [Neo4j] REST traverse deprecation

2011-10-28 Thread Jim Webber
From the high church of REST, I have no objections. Blessed be the Roy, for he hath delivered us from RPC. Or something. Jim ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] REST traverse deprecation

2011-10-28 Thread Peter Neubauer
Also, If we do that, I propose that we move the Cypher and Gremlin plugins into server. WDYT? On Oct 28, 2011 12:03 PM, Jim Webber j...@neotechnology.com wrote: From the high church of REST, I have no objections. Blessed be the Roy, for he hath delivered us from RPC. Or something. Jim

Re: [Neo4j] REST traverse deprecation

2011-10-28 Thread Jim Webber
If we do that, I propose that we move the Cypher and Gremlin plugins into server. WDYT? I'm ambivalent about that. What end-user benefits are there versus shipping them as plugins? Jim ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] REST traverse deprecation

2011-10-28 Thread Rick Bullotta
...but maybe offer different install bundles. The other danger of forcing them into the server distro is that it increases the likelihood of dependency conflicts. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Rick Bullotta

[Neo4j] Cypher column order now respected

2011-10-28 Thread Andres Taylor
A number of people have asked for it, so herehttps://github.com/neo4j/community/commit/95072e34baeca97c16fc65fe021e5a2981c5305bit is. Column ordering in the execution result is the same as appears on the return list. Andrés ___ Neo4j mailing list

Re: [Neo4j] Cypher column order now respected

2011-10-28 Thread Peter Neubauer
I like! On Oct 28, 2011 2:08 PM, Andres Taylor andres.tay...@neotechnology.com wrote: A number of people have asked for it, so here https://github.com/neo4j/community/commit/95072e34baeca97c16fc65fe021e5a2981c5305b it is. Column ordering in the execution result is the same as appears on the

Re: [Neo4j] 1.5M02 failed to start on reboot

2011-10-28 Thread KanTube
This is not an issue for me anymore - i replaced the data files that were causing me an issue with another set of data files. i included the data files with the previous post. if you are not able to get them let me know and i will send them again. thanks -- View this message in context:

[Neo4j] some questions

2011-10-28 Thread andrew ton
Hello, I have 2 questions: 1. Is there any way to customize the Admin page of the Neo4J Rest server? For instance, I'd like to add a title of the project on the page. 2. Assume I have a big graph in the REST server, what is the best way to remove the whole graph? Of course deleting each

Re: [Neo4j] some questions

2011-10-28 Thread Marko Rodriguez
Hi, 2. Assume I have a big graph in the REST server, what is the best way to remove the whole graph? Of course deleting each node and its relationships and its index is not convenient. Via Gremlin Plugin, you can call g.clear(). HTH, Marko. http://markorodriguez.com

Re: [Neo4j] some questions

2011-10-28 Thread Linan Wang
to clear the full db, stop the server and delete the files in data folder :) On Fri, Oct 28, 2011 at 3:57 PM, Marko Rodriguez okramma...@gmail.com wrote: Hi, 2. Assume I have a big graph in the REST server, what is the best way to remove the whole graph? Of course deleting each node and its

Re: [Neo4j] some questions

2011-10-28 Thread andrew ton
Yes, that's what I have been doing :) However what if I have 2 graphs under a root node and I just want to remove 1 graph and leave the other alone. Any suggestions? Thanks, From: Linan Wang tali.w...@gmail.com To: Neo4j user discussions

Re: [Neo4j] some questions

2011-10-28 Thread Peter Neubauer
Andrew, that sounds like a traversal you need to do to find exactly the nodes you need and remove them. As Marko mentioned - either script it in Gremlin/Groovy, or implement a REST endpoint in Java, giving you full static powaah: http://docs.neo4j.org/chunked/snapshot/server-plugins.html Does

Re: [Neo4j] some questions

2011-10-28 Thread andrew ton
Hi Peter, I think I go to the direction of implementing a REST endpoint in Java. How about my first question about customizing the Admin page?  Thanks, Andrew From: Peter Neubauer peter.neuba...@neotechnology.com To: Neo4j user discussions

Re: [Neo4j] some questions

2011-10-28 Thread Peter Neubauer
Mmh, I think Jake is best to answer this... Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter      http://twitter.com/peterneubauer http://www.neo4j.org              - NOSQL for the

Re: [Neo4j] REST traverse deprecation

2011-10-28 Thread Peter Neubauer
Thank you Max! The AREL for Cypher sounds very interesting! Do you think the traversal rest api us doing its job for you given the power of hhe häva version? I can even think if having a query method on the embedded api so it fits... On Oct 29, 2011 12:19 AM, maxdemarzi maxdema...@gmail.com