[Neo4j] Server log file for HA

2011-10-28 Thread Brendan cheng
Hi, I could not find any log message for unmanaged extension when a 500 error respond generated in HA configuration.Does neo4j rest server generate any message for unmanaged extension? I was trying to use JAXB for JSON respond of an object but get the 500 error respond.  But I can successfully

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" wrote: > This change wi

Re: [Neo4j] REST traverse deprecation

2011-10-28 Thread maxdemarzi
This change will kill "phase 2" (the part that tries to mimic the Neo4j.rb API) of Neography since I use it to provide idiomatic access to neo4j. For example: def suggestions_for(node) node.incoming(:friends).order("breadth first").uniqueness("node global").filter("position.length() == 2;").de

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 Ent

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 To: Neo4j user discussions Sent: Friday, October 28, 2011 8:05 AM Subject: Re

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 tha

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 To: Neo4j user discussions Sent: Friday, October 28, 2011 7:59 AM

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 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 relationships

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 ___

[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 node

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: htt

Re: [Neo4j] Cypher column order now respected

2011-10-28 Thread Peter Neubauer
I like! On Oct 28, 2011 2:08 PM, "Andres Taylor" 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 > return list. > > An

[Neo4j] Cypher column order now respected

2011-10-28 Thread Andres Taylor
A number of people have asked for it, so hereit is. Column ordering in the execution result is the same as appears on the return list. Andrés ___ Neo4j mailing list User@

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 S

Re: [Neo4j] REST traverse deprecation

2011-10-28 Thread Rick Bullotta
"Don't Bloat". This also allows the plug-ins and language bindings to evolve at a difference pace/cycle than the server. I'd say keep them separate. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Jim Webber Sent: Friday, October

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 https://lists.neo4

[Neo4j] Cypher syntax feedback wanted

2011-10-28 Thread Andres Taylor
Hi all! I'm looking to make Cypher more consistent, and so less surprising. Cypher today has two places where predicates are used, the WHERE clause, and for the ALL/ANY/NONE/SINGLE functions. It looks like: WHERE ALL( in : ) etc Now I'm thinking about adding preciates to the MATCH clause, e.g

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" 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
>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 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 > Hi all, > I think that the whole concept of > http://docs.neo4j.org/chunked/snapshot/rest-api-traverse.html is > brok

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 > 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 on the uat serv

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

[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 thi

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 > 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 all, > > > > I a

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 > Realized, that I've to give the

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 > In the database is constantly adding / deleting relati

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 wrote: > Hi Ramon, > > We faced a similar problem on our current project u