Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-04-01 Thread Rio Eduardo
Thank you so much Michael. it's obviously in the docs. On Wednesday, April 2, 2014 12:50:26 PM UTC+7, Michael Hunger wrote: > > It is also supported via the rest api > > You find it in the docs > > Sent from mobile device > > Am 02.04.2014 um 06:47 schrieb Rio Eduardo > >: > > Oh yeah Michael I'm

Re: [Neo4j] 2.1.0-M01 LOAD CSV support for integer or float conversion?

2014-04-01 Thread Michael Hunger
You almost got it: MERGE (m:Movie { year: toInt(csvLine[3]) }) MERGE (m:Movie { cost: toFloat(csvLine[4]) }) On Wed, Apr 2, 2014 at 4:16 AM, jlegelis wrote: > From > http://docs.neo4j.org/chunked/milestone/import-importing-data-from-a-single-csv-file.html > : > > LOAD CSV FROM > > "file:/j

[Neo4j] 2.1.0-M01 LOAD CSV support for integer or float conversion?

2014-04-01 Thread jlegelis
>From >http://docs.neo4j.org/chunked/milestone/import-importing-data-from-a-single-csv-file.html: LOAD CSV FROM "file:/jenkins/workspace/neo4j-2.1-release-candidate/target/community/cypher/cypher-docs/target/docs/dev/ql/import/csv-files/roles.csv" AS csvLine MERGE (p:Person { name: csvLine[0

Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-04-01 Thread Michael Hunger
It is also supported via the rest api You find it in the docs Sent from mobile device Am 02.04.2014 um 06:47 schrieb Rio Eduardo : > Oh yeah Michael I'm new in traversal api, after I read the doc about > traversal api, should I use it with java? I mean is there others way to use > traversal a

Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-04-01 Thread Rio Eduardo
Oh yeah Michael I'm new in traversal api, after I read the doc about traversal api, should I use it with java? I mean is there others way to use traversal api, ex: I can run the syntax traversal api in neo4j shell or http? if there is, please provide me a reference how to use traversal api not

Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-04-01 Thread Rio Eduardo
Thank you for the checking out my query Michael. yeah i think so and i already tried all possibility and it's getting longer if I put all possible condition to the query. I should find others way. On Tuesday, April 1, 2014 9:08:01 PM UTC+7, Michael Hunger wrote: > > Probably something like this

Re: [Neo4j] Neo4j Java REST Binding vs Neo4j JDBC Driver

2014-04-01 Thread Rickard Öberg
On 4/2/14, 07:07 , Michael Hunger wrote: JDBC is cypher over the wire and towards embedded databases. Java-Rest-Binding mimics the embedded core-api over the wire with many fine grained calls to REST-Endpoints but also supports some old-style cypher + remote traversals. I prefer to use JDBC w/

Re: [Neo4j] Cypher Parms in Neo4j Console?

2014-04-01 Thread Bryan Jones
Many thanks, Michael! That worked like a charm! The only thing I kept messing up was adding either a semi-colon or the "env" after the variable declaration. For anyone else interested: (First Statement - No semi-colon! - Hit enter when done) export eventTitle="Book Fair" (Second Statement) MAT

Re: [Neo4j] Neo4j Java REST Binding vs Neo4j JDBC Driver

2014-04-01 Thread Michael Hunger
SDN can't yet, as it was also created before the introduction of cypher and so would need a full internal rewrite to use cypher instead of the core API do to the object graph mapping operations. And as I don't have enough spare time for a one or two-month rewrite, it didn't change yet. On Wed, A

Re: [Neo4j] May it be an SDN 3.0.0 bug ?

2014-04-01 Thread Michael Hunger
Thanks for the feedback, really appreciated. Glad you like it and looking forward to more suggestions. Cheers, Michael On Wed, Apr 2, 2014 at 12:24 AM, Michael Azerhad wrote: > Thanks Michael :) > > "Sorry, 3.0 was a weird beast" => perhaps but I'm pretty happy with it and > I appreciate the j

Re: [Neo4j] SDN 3.0.x Production Readiness

2014-04-01 Thread Michael Hunger
Great question, that depends on the feedback I get from user. So far there has been very little feedback, so I can't really tell. Some from Michael here on the group. On Wed, Apr 2, 2014 at 12:11 AM, BtySgtMajor wrote: > Michael (or anyone else), > > Has there been any update/timeline as to w

Re: [Neo4j] Neo4j Java REST Binding vs Neo4j JDBC Driver

2014-04-01 Thread Michael Hunger
JDBC is cypher over the wire and towards embedded databases. Java-Rest-Binding mimics the embedded core-api over the wire with many fine grained calls to REST-Endpoints but also supports some old-style cypher + remote traversals. I prefer to use JDBC w/ Cypher these days for remote interaction.

Re: [Neo4j] Neo4j Java REST Binding vs Neo4j JDBC Driver

2014-04-01 Thread BtySgtMajor
Thanks for the detailed answer, Jake! That answers more or less what I was thinking. I was also curious as I believe SDN uses the Java REST binding, does it not? Or has it, too, moved to using the JDBC driver (or another REST wrapper) when dealing with Neo4j non-embedded instances? On Tuesda

Re: [Neo4j] Neo4j Java REST Binding vs Neo4j JDBC Driver

2014-04-01 Thread Jacob Hansson
Duncan, the neo4j-rest-binding was built before Cypher was invented, and before the transactional endpoint was introduced. As such, it generally uses the CRUD operations exposed by Neo4js REST API, and it implements the Core Java API which the original Neo4j Embedded did (and still does). Unfortuna

Re: [Neo4j] May it be an SDN 3.0.0 bug ?

2014-04-01 Thread Michael Azerhad
Thanks Michael :) "Sorry, 3.0 was a weird beast" => perhaps but I'm pretty happy with it and I appreciate the job :) All what I expect it to do is well done, except the workaround, subject of this topic. As long as my acceptance tests pass, no matter what kind of bug could happen in 3.X relea

[Neo4j] SDN 3.0.x Production Readiness

2014-04-01 Thread BtySgtMajor
Michael (or anyone else), Has there been any update/timeline as to when we can expect SDN 3.0.x (or higher) to be prod ready? I know in your blog entry of March 14 that you said you needed a bit of time, so I'm sorry to harp. :) Just curious. Thanks! Cheers, Duncan -- You received this m

[Neo4j] Neo4j Java REST Binding vs Neo4j JDBC Driver

2014-04-01 Thread BtySgtMajor
Hi all, Given that both the Java REST binding and the JDBC drivers are available (both of which can communicate w/ a Neo4j server via REST), besides the usage/familiarity with them, what are the real differences/pros/cons between the two, if any at all? I've been going through both and am c

Re: [Neo4j] Cypher Parms in Neo4j Console?

2014-04-01 Thread Michael Hunger
Bryan, the shell supports cypher params as "environment variables" everything that you see with "env" is passed to cypher as params you can "export" such variables, in your case: export *eventTitle="Book Fair"* *env* MATCH (p:Place)-[]-(e:Event) WHERE e.title = *{eventTitle}* RETURN p.name, e.t

[Neo4j] Cypher Parms in Neo4j Console?

2014-04-01 Thread Bryan Jones
Hello, I'm working out of the *Neo4j 2.0.1 console*(http://localhost:7474/webadmin/#/console/), and I am trying to test cypher parameters. Is there any way to do this solely within the console? For instance, the following two queries should return the same results (The 2nd query is using psu

[Neo4j] Can't start neo4j on debian

2014-04-01 Thread stivstivsti
HI! triptop@konrad:~/neo4j$ java -version java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode) Here is what I get in console: $ ./bin/neo4j console WARNING: Max 1024 open files allowed, minimum of 40 000 reco

Re: [Neo4j] public Cypher server for DBpedia?

2014-04-01 Thread Rich Morin
On Tuesday, April 1, 2014 5:22:43 AM UTC-7, Michael Hunger wrote: > > If they could agree on a graph model, sure we could do that. > My impression is that DBpedia has to track Wikipedia, so the exact connectivity and such aren't really under their control. That said, there is a de facto model

Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-04-01 Thread Michael Hunger
Probably something like this but not sure, to many F's MATCH (U:User)-[F:Friend]->(FU:User)-[:Friend]->(FFU:User) WHERE U.user_id=1 WITH DISTINCT U, FU, FFU WHERE FFU<>U MATCH (FFU:User)-[:Friend]->(FFFU:User) WITH DISTINCT U, FFU, FFFU WHERE FFFU<>FU MATCH (FFFU:User)-[:Friend]->(U:User) WITH

Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-04-01 Thread Rio Eduardo
Thank you. On Tuesday, April 1, 2014 8:31:25 PM UTC+7, Michael Hunger wrote: > > For the traversal framework check out: > http://docs.neo4j.org/chunked/milestone/tutorial-traversal.html > > > On Tue, Apr 1, 2014 at 3:09 PM, Rio Eduardo > > wrote: > >> Hi Michael, >> >> you said "In general if yo

Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-04-01 Thread Michael Hunger
For the traversal framework check out: http://docs.neo4j.org/chunked/milestone/tutorial-traversal.html On Tue, Apr 1, 2014 at 3:09 PM, Rio Eduardo wrote: > Hi Michael, > > you said "In general if you really want to do these deep traversals you > might be better off (in terms of performance) usi

Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-04-01 Thread Michael Hunger
You should be able to test your queries yourself, with a small dataset to look at their results and reason about them. And performance wise, if they are fast enough it's good too. On Mon, Mar 31, 2014 at 4:46 PM, Rio Eduardo wrote: > Hi Michael, > you mean don't use dataset that doesn't make s

Re: [Neo4j] Re: Is it possible to load different graph.db into neo4j at the same time?

2014-04-01 Thread Michael Hunger
How large is your huge dataset? What is your graph model? By what would you shard them? You will probably not be able to query across them directly? If you use Neo4j embedded, there might be a port conflict on the remote shell port, so you can configure it with enable_remote_shell=false On Tue, A

[Neo4j] Re: Is it possible to load different graph.db into neo4j at the same time?

2014-04-01 Thread Philippe Baumard
@黃首翰 , Hi, You can do that. For my web application i created three database(graph). I develop with GWT. At loading i start all the three graphs with each connections grahDB_one, graphDB_two... This work very well. -- You received this message because you are subscribed to the Google Groups

Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-04-01 Thread Rio Eduardo
Hi Michael, you said "In general if you really want to do these deep traversals you might be better off (in terms of performance) using the traversal-API with an appropriate uniqueness constraint, like node-path". Please give me any references so I can learn it. or Does it mean you suggest me t

Re: [Neo4j] public Cypher server for DBpedia?

2014-04-01 Thread Michael Hunger
If they could agree on a graph model, sure we could do that. And we probably just want to store the titles of articles with their URLs, not the full text? Sounds like a great idea. On Tue, Apr 1, 2014 at 9:24 AM, Rich Morin wrote: > A Google search indicates that several folks have imported DB

[Neo4j] public Cypher server for DBpedia?

2014-04-01 Thread Rich Morin
A Google search indicates that several folks have imported DBpedia into Neo4j (or tried to do so :-). I'm curious whether there is (or could be) a public Neo4j site which mirrors DBpedia. I have some queries I'd like to try and I suspect others might also find this to be an interesting and

Re: [Neo4j] May it be an SDN 3.0.0 bug ?

2014-04-01 Thread Michael Hunger
Sorry, 3.0 was a weird beast, as the SD release train was just too fast for me too catch up with all the work needed for upgrading SDN to Neo4j 2.0 I published a blog here: http://blog.neo4j.org/2014/03/spring-data-neo4j-progress-update-sdn-3.html Usually tweets are good. And I would probably hav

Re: [Neo4j] May it be an SDN 3.0.0 bug ?

2014-04-01 Thread Michael Azerhad
Ok good :) Last question: What is the best way to be warned about the future evolution of SDN, releases, and especially those tested for a production environment ? Would you recommend the dedicated site (http://projects.spring.io/spring-data-neo4j/) ? A blog ? A .. tweet? :):) Indeed, what

Re: [Neo4j] May it be an SDN 3.0.0 bug ?

2014-04-01 Thread Michael Hunger
Right, so most probably a bug :) of an too eager implementation. On Tue, Apr 1, 2014 at 11:58 AM, Michael Azerhad wrote: > But.. it seems right to use the ManagedFieldAccessorSet for a Lazy > collection, to fetch on access...so my post above is a nonsense :) > > What I don't figure out is why th

Re: [Neo4j] May it be an SDN 3.0.0 bug ?

2014-04-01 Thread Michael Azerhad
But.. it seems right to use the ManagedFieldAccessorSet for a Lazy collection, to fetch on access...so my post above is a nonsense :) What I don't figure out is why there is the *managed* notion if I don't do anything to work with AspectJ mapping mode. All objects aren't all detached when retrie

Re: [Neo4j] May it be an SDN 3.0.0 bug ?

2014-04-01 Thread Michael Azerhad
Hum...no I don't think :) : @org.springframework.data.neo4j.annotation.RelatedTo(`type` = "KNOWS",direction = Direction.BOTH) var knowledge: java.util.Set[User] = new util.HashSet[User] Here's my real usage and there is not an @Fetch on it. :( On Tuesday, April 1, 2014 11:45:03 AM UTC+2, Mic

Re: [Neo4j] May it be an SDN 3.0.0 bug ?

2014-04-01 Thread Michael Hunger
I rather think that the managed field accessor set is too eager in what it is doing :) There are no transactions over the wire. On Tue, Apr 1, 2014 at 11:24 AM, Michael Azerhad wrote: > Hi Michael, > > Indeed, you're right... the type of the returned collection is managed: * > "org.springframe

Re: [Neo4j] May it be an SDN 3.0.0 bug ?

2014-04-01 Thread Michael Azerhad
Hi Michael, Indeed, you're right... the type of the returned collection is managed: * "org.springframework.data.neo4j.fieldaccess.ManagerFieldAccessorSet..", *explaining so why "clear()" has an impact. Perhaps, it's the usage of java-rest-binding combined spring-data-neo4j-rest that batches fo

[Neo4j] Re: Unable to locate any info for the specified JMX bean.

2014-04-01 Thread Lowatt Pi
Were you using IE ? Try Chrome or Firefox. I'm using 1.9.4 as well and was faced with the same "problem". On Monday, February 25, 2013 9:41:53 PM UTC+8, maken wrote: > > Hello i am trying to install neo4j 1.9M04 on three machines with public > ips to use them as one cluster. > i follow the inst