[Neo4j] Getting the latest added node and relationship

2013-12-19 Thread dharmendra pratap singh
Hi Guys, hope your are gr8 there ! I stuck with one small problem, putting in front of you. I have around 1M nodes and 5M relationships in my graph, Now I am trying to add a new node and a relationship in my existing graph, Now I have to find out the recently added(last added node and relations

Re: [Neo4j] Is GraphGist down?

2013-12-19 Thread Wes Freeman
Works on my windows 7 box. 31.0.1650.57 m Wes On Thu, Dec 19, 2013 at 11:00 PM, Luanne Coutinho wrote: > I checked on Chrome 31.0.1650.63 m on Windows 7 Professional (SP1) and > there are no Javascript errors, just the following warnings + log (and the > page loads perfectly): > > event.returnV

Re: [Neo4j] Is GraphGist down?

2013-12-19 Thread Luanne Coutinho
I checked on Chrome 31.0.1650.63 m on Windows 7 Professional (SP1) and there are no Javascript errors, just the following warnings + log (and the page loads perfectly): event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery.js:5374

Re: [Neo4j] Is GraphGist down?

2013-12-19 Thread Michael Hunger
Really weird. No idea what it could be. I have to find a windows machine first to check :) Michael Am 19.12.2013 um 20:11 schrieb Karol Brejna : > Tried Chrome 31.0.1650.63 (no "m" in the version number) on the same machine > but under Ubuntu. > Works perfectly. > > I've also upgraded chrome

[Neo4j] Re: JAXB mapping XML into Neo4j nodes

2013-12-19 Thread Jesús Zazueta
Hello Michael, Matthew. Thanks for your response. So if there are any chances of contacting James to see if he could share some thoughts or recommendations, I'd like to reiterate my interest in learning how to annotate Jaxb/XSD generated classes with Spring Neo4J annotations so that they could

Re: [Neo4j] neo4j-shell not echoing input

2013-12-19 Thread Marc Paterno
I am encountering the same problem (neo4j-shell not echoing commands, although it will execute commands) on Mac OS X "Mountain Lion", with neo4j 2.0.0 installed through Homebrew. I note that neo4j-shell is not creating a .shell_history file in the directory in which I start it. I have started it

[Neo4j] Keeping history of Neo4j changes in another database?

2013-12-19 Thread Michael Boyar
For audit purposes, I'd like to keep the history of property changes. Say I have a property cost_center: 3651 At some point the value changes to cost_center: 4112 Ideally, I would have 2 records somewhere: timestamp1 cost_center: 3651 timestamp2 cost_center: 4112 My use case is: -The older v

[Neo4j] EC2 cluster not doing anything

2013-12-19 Thread Alex Frieden
Hi all, I have a three server autoscaling group on AWS. All Ubuntu 64 bit. All running Sun JDK 7. I have configured the servers what I believe is correctly (done it correctly on my local servers before). I go to run all three and all three console.log give the message: INFO [Cluster] Attem

Re: [Neo4j] Is GraphGist down?

2013-12-19 Thread Karol Brejna
Tried Chrome 31.0.1650.63 (no "m" in the version number) on the same machine but under Ubuntu. Works perfectly. I've also upgraded chrome on Win 7 to 32.0.1700.68 beta-m. Still not working. Karol W dniu czwartek, 19 grudnia 2013 19:18:05 UTC+1 użytkownik Karol Brejna napisał: > > I reproduce

Re: [Neo4j] Is GraphGist down?

2013-12-19 Thread Karol Brejna
I reproduced the error on other Windows 7 machine with chrome 31.0.1650.63 m. Michael, there are no javacript error in the chrome console (development tools) - so, no line numbers here. Just the two warnings I mentioned earlier. (Again, without line numbes.) And the error message at the page.

Re: [Neo4j] Caused by: java.io.IOException: Broken pipe : How can this be fixed?

2013-12-19 Thread Kyle Silvestro
Any update on this issue? On Tuesday, December 17, 2013 4:42:53 PM UTC-8, Michael Hunger wrote: > > Looks as if the client aborts the connection? > > What kind of client are you using? > > Michael > > Am 17.12.2013 um 23:57 schrieb Kyle Silvestro > >: > > Posted > > > On Tue, Dec 17, 2013 at 2:4

Re: [Neo4j] Re: Issue with Spring + Neo4j

2013-12-19 Thread Michael Hunger
They are automatically merged as they point to the same node-id. Labels are supported in SDN 3.0.M1 (based on Neo4j 2.0-M06) but not full support yet. Michael Am 19.12.2013 um 14:30 schrieb Dominic Martino : > Thank you so much, I should of known better as I used hibernate alot. > > Moving on

[Neo4j] Re: Issue with Spring + Neo4j

2013-12-19 Thread Dominic Martino
Thank you so much, I should of known better as I used hibernate alot. Moving on with this now and the next two things I have to tackle... How can I merge nodes when saving them? Is it possible to create lables on nodes using Spring neo4j? On Tuesday, December 17, 2013 3:54:53 PM UTC, Dominic

Re: [Neo4j] Cypher single quote value and 1000 result limit issue

2013-12-19 Thread Puneet Garg
Hi Michael, Thanks for your reply. I guess with jdbc driver, we can't have named params. it should be indexes i.e. 1, 2 .. Please correct me if I am wrong. I tried two executions with params approach: 1. String neo4jQuery = "create (Project{projectId:{1}, projectName:{2}})"; Neo4jPreparedStatemen

Re: [Neo4j] Please help me to solve this error

2013-12-19 Thread Sukaant Chaudhary
Thanks Michael, I've fixed this issue, "" was getting concatenated. -Sukaant Chaudhary On Thu, Dec 19, 2013 at 5:59 PM, Michael Hunger < michael.hun...@neopersistence.com> wrote: > you sent the string "1" you should have sent the number 1 > > { > "query": "START n=node({unode}), m=node(*) M

Re: [Neo4j] Please help me to solve this error

2013-12-19 Thread Sukaant Chaudhary
Hi Michael, Same thing I'm getting in case of integer as well and similar kind of query and parameter worked fine for me earlier. -Sukaant Chaudhary On Thu, Dec 19, 2013 at 5:59 PM, Michael Hunger < michael.hun...@neopersistence.com> wrote: > you sent the string "1" you should have sent the num

Re: [Neo4j] Please help me to solve this error

2013-12-19 Thread Michael Hunger
you sent the string "1" you should have sent the number 1 > { > "query": "START n=node({unode}), m=node(*) MATCH > p=(n)-[r:ADDED_TO_GOOGLE_CALENDAR*]->(m) RETURN m;", > "params": { > "unode": 1 > } > } Also this query doesn't really make sense. You probably wanted to write:

[Neo4j] Please help me to solve this error

2013-12-19 Thread Sukaant Chaudhary
Hi, Please help me to figure out this problem, this query is working fine in console. *Query In Console:* START n=node(1), m=node(*) MATCH p=(n)-[r:ADDED_TO_GOOGLE_CALENDAR*]->(m) RETURN m; *Request To Neo4j:* { "query": "START n=node({unode}), m=node(*) MATCH p=(n)-[r:ADDED_TO_GOOGLE_CAL

Re: [Neo4j] create unique without matching path

2013-12-19 Thread Lasse Westh-Nielsen
Sure; Cypher has this: http://docs.neo4j.org/chunked/stable/query-create-unique.html#_create_unique_nodes That is also backed by an index - how else would it know if there were duplicates. I don't get what you mean by involving a path. You _can_ create single, unattached nodes that are unique acc

Re: [Neo4j] create unique without matching path

2013-12-19 Thread Shahar Taite
ok so if i understand correctly it's not possible via the node path without indexing... but what about plain cypher? can't i create a unique node without mentioning a path? it worked with a path... On Thursday, December 19, 2013 12:10:48 PM UTC+2, Lasse Westh-Nielsen wrote: > > Uniqueness only a

Re: [Neo4j] Re: Need help evaluating the use of Neo4j

2013-12-19 Thread Stefan Armbruster
Hi Hetui, in the past I've discussed such kind of system. We came up with a model at http://i.imgur.com/QprlkJT.png. The basic idea is that you organize schools in a geo-hierarchic way. Degree is a node representing a student appearing in a class at a given school year. grade, schoolYear, lesson

Re: [Neo4j] create unique without matching path

2013-12-19 Thread Lasse Westh-Nielsen
Uniqueness only applies to indexes, so you need to tweak that url: http://docs.neo4j.org/chunked/stable/rest-api-unique-indexes.html#rest-api-get-or-create-unique-node-create On Thu, Dec 19, 2013 at 11:03 AM, Shahar Taite wrote: > I've tried this as well, > however i don't use an ad hoc REST p

Re: [Neo4j] create unique without matching path

2013-12-19 Thread Shahar Taite
I've tried this as well, however i don't use an ad hoc REST path for each node type. i just send it to http://localhost:7474/db/data/node with all of the properties. i've just tried http://localhost:7474/db/data/node?*uniqueness=get_or_create *but this still creates a new node everytime. do

Re: [Neo4j] Is it possible to install Neo4j on FreeBSD VPS?

2013-12-19 Thread Lasse Westh-Nielsen
Nera, The bit about "ERROR! Neo4j cannot be started using java version 1.7.0_25." is misleading, you should disregard that. I recon you are using OpenJDK? We have changed that messaging for the next release. As for the rest: what did you do to end up there? Did you install from the tarball, or us

Re: [Neo4j] Is GraphGist down?

2013-12-19 Thread Michael Hunger
So it is chrome on windows that blows up? Do you get a line-number for that error? Michael Am 19.12.2013 um 10:30 schrieb Karol Brejna : > I've clean the cache, reset browser settings. Nothing. > > The only warnings I get are one from jquery (irrelevant) and one from some > Facebook API (harm

Re: [Neo4j] Is GraphGist down?

2013-12-19 Thread Karol Brejna
I've clean the cache, reset browser settings. Nothing. The only warnings I get are one from jquery (irrelevant) and one from some Facebook API (harmless): "Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must mat

[Neo4j] Is it possible to install Neo4j on FreeBSD VPS?

2013-12-19 Thread nera stanly
Is it possible at all to install Neo4j on FreeBSD VPS? After all my useless efforts i got this: ERROR! Neo4j cannot be started using java version 1.7.0_25. * Please use Oracle(R) Java(TM) 7 to run Neo4j Server. Download "Java Platform (JDK) 7" from: http://www.oracle.com/technetwork/java/javas

Re: [Neo4j] [neo4j-2.0][batch-importer] Low performance of batch importer

2013-12-19 Thread Michael Hunger
# did you provide enough heap to the JVM process too? -> -Xmx3G -Xms3G # Did you configure batch.properties to reflect your target store file sizes ? (# of nodes x 14bytes for nodes and # of rels x 33 bytes for relationships) ? -> the total amount for all stores should be total heap - 500MB -> ot

Re: [Neo4j] How to create new database and use the existing database in neo4j in ubuntu?

2013-12-19 Thread Michael Hunger
Please read up about unix permissions at an appropriate place. Yes chown is for access permissions and "graph.db" was just an example name. You have to configure your neo4j server in conf/neo4j-server.properties to point to the correct directory containing your graph database store files. And th