Re: [Neo4j] Set property on node in Neo4j REST server
Hi Peter, For the specific case of updating a single property then: PUT node/{node_id}/property/{property_key} with an entity body like: some text or 27 would be OK I think But not until the 1.6 M01 release :-) Jim ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Graph Data Corruption?
Thanks John, on what platform and file system do you run this? 2011/10/17 Tatham Oddie tat...@oddie.com.au As a sidenote, relationships are traversed in either direction with equal performance. Having reciprocal relationships is unnecessary. (Unless you can have person A support server B *without* server B being supported by person A ... but that just sounds broken.) I agree, server X supported by person Y can (and should) be inferred from person Y supports server X. It's more expensive to have duplicated relationships. -- Tatham -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of John Howard Sent: Sunday, 16 October 2011 12:00 PM To: Neo4j user discussions Subject: Re: [Neo4j] Graph Data Corruption? Thanks Mattias for the response. Yes, these nodes are consistently getting the same exceptions. Initially I thought shutting down the graph gracefully and starting it would solve the issue, but it didn't. We inserted node/relationships/properties with the regular create operations and NOT using the BatchInserter. Our dataset has 6 domains, one of them is People which has relationships to all other domains. Each node and relationships have about 8-12 properties. Our typical graph looks something like this: Person1 (node1) ---Supports(Rel1)--Server1(node2) ---Supported By(Rel2) -- On Sat, Oct 15, 2011 at 11:05 AM, Mattias Persson matt...@neotechnology.com wrote: Hi John, So it seems to be related to loading of node/relationship properties. Are those nodes/relationships consistently getting this exception or do you see this randomly during brief moments throughout the graph? Would it also be possible to have a look at your dataset somehow? 2011/10/14 John Howard johnyho...@gmail.com Hello, We have started getting some strange exceptions(stack trace below) while accessing node relationships. It happened on a node's relationship and we deleted that relationship and related node, so we were able to access the node and all its relationships. Then it started happening to some other nodes and their relationships. And we do not know how many node relationships are corrupted in the graph. We are using 1.4.1 version. We have around 50k nodes and 100k relationships. Appreciate your help. org.neo4j.kernel.impl.nioneo.store.InvalidRecordException: Not in use, blockId[1977868] at org.neo4j.kernel.impl.nioneo.store.AbstractDynamicStore.getRecord(AbstractDynamicStore.java:472) at org.neo4j.kernel.impl.nioneo.store.AbstractDynamicStore.getLightRecords(AbstractDynamicStore.java:429) at org.neo4j.kernel.impl.nioneo.store.PropertyStore.getRecord(PropertyStore.java:374) at org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.loadPropertyValue(ReadTransaction.java:208) at org.neo4j.kernel.impl.persistence.PersistenceManager.loadPropertyValue(PersistenceManager.java:87) at org.neo4j.kernel.impl.core.NodeManager.loadPropertyValue(NodeManager.java:593) at org.neo4j.kernel.impl.core.Primitive.getPropertyValue(Primitive.java:543) at org.neo4j.kernel.impl.core.Primitive.getProperty(Primitive.java:159) at org.neo4j.kernel.impl.core.RelationshipProxy.getProperty(RelationshipProxy.java:90) ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] jQuery - Ajax - Gremlin Access to neo4j
Hello, I'm using *Gremlin* (very powerful) to query and manupulate my neo4j - database. *via Javascript and jQuery (Ajax)*: Here is the javascript: *to start the Script:* *HTML-Code:* In my Linux - System I put the html - Code with Script in /var/www/... with Apache Server running. It work's fine. Without Apache? *Now the Question:* Is it possible to run this without Apache. If the answer is positiv where must i put my script?? -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/jQuery-Ajax-Gremlin-Access-to-neo4j-tp3427603p3427603.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] jQuery - Ajax - Gremlin Access to neo4j
Hi there, have you had a look at http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html ? This is how you can execute Gremlin against the Neo4j Server. Does that help? 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 - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Mon, Oct 17, 2011 at 10:37 AM, himmel24 heckoli...@yahoo.de wrote: Hello, I'm using *Gremlin* (very powerful) to query and manupulate my neo4j - database. *via Javascript and jQuery (Ajax)*: Here is the javascript: *to start the Script:* *HTML-Code:* In my Linux - System I put the html - Code with Script in /var/www/... with Apache Server running. It work's fine. Without Apache? *Now the Question:* Is it possible to run this without Apache. If the answer is positiv where must i put my script?? -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/jQuery-Ajax-Gremlin-Access-to-neo4j-tp3427603p3427603.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Set property on node in Neo4j REST server
raised https://github.com/neo4j/community/issues/65 for further comments. Thanks! 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 - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Mon, Oct 17, 2011 at 8:39 AM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Yes, Agreed. However, jslint not liking that warrants an issue for 1.6 me thinks? /peter Sent from my phone. On Oct 17, 2011 8:05 AM, Jim Webber j...@neotechnology.com wrote: Hi Peter, For the specific case of updating a single property then: PUT node/{node_id}/property/{property_key} with an entity body like: some text or 27 would be OK I think But not until the 1.6 M01 release :-) Jim ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] jQuery - Ajax - Gremlin Access to neo4j
Thank's Peter for responding. I know this page. My answer was wether it's possible to talk with neo4j as Web-Server. CouchDB has a integrated Web-Server What about with neo4j ? Thanks Oliver -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/jQuery-Ajax-Gremlin-Access-to-neo4j-tp3427603p3427639.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] jQuery - Ajax - Gremlin Access to neo4j
Well, yes, that is what Neo4j Server is. Under the hood, it currently runs Jetty, see http://www.eclipse.org/jetty/about.php 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 - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Mon, Oct 17, 2011 at 10:57 AM, himmel24 heckoli...@yahoo.de wrote: Thank's Peter for responding. I know this page. My answer was wether it's possible to talk with neo4j as Web-Server. CouchDB has a integrated Web-Server What about with neo4j ? Thanks Oliver -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/jQuery-Ajax-Gremlin-Access-to-neo4j-tp3427603p3427639.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] jQuery - Ajax - Gremlin Access to neo4j
Thank's Peter It's new for my I will study this page. Thank's again -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/jQuery-Ajax-Gremlin-Access-to-neo4j-tp3427603p3427688.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] WebAdmin visualization tool for large DB ?
Hi Pablo, I don't think if there are any hard limits in the webadmin visualizer, It mostly depends on your computer and browser (what with the implementation of web workers and all) I'd say. 2011/10/13 Pablo Pareja ppar...@era7.com Hi, I was looking for a way to visualize and interact with small subsets of large Neo4j databases, *(somehow* *navigating through the data in order to have a general idea of how things are organized at specific parts* *of my DB)*. So before starting to create my own solution to that, I'd like to know which are the limits/constraints of the new WebAdmin tool ?* (in terms of number of rels/nodes in the neighborhood/ total DB)* Thanks, Pablo -- Pablo Pareja Tobes My site http://about.me/pablopareja LinkedInhttp://www.linkedin.com/in/pabloparejatobes Twitter http://www.twitter.com/pablopareja Creator of Bio4j -- http://www.bio4j.com http://www.ohnosequences.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] WebAdmin visualization tool for large DB ?
Hi Mattias, what about the hypothetical scenario where there are ~ 1.000.000 relationships going out from a node, would the visualization tool try to plot all theses relationships? If not, would it first fetch them all and then plot a 1.000.000 group node? Or would it rather plot something like* more than 'x' relationships coming out from here*? Cheers, Pablo On Mon, Oct 17, 2011 at 12:38 PM, Mattias Persson matt...@neotechnology.com wrote: Hi Pablo, I don't think if there are any hard limits in the webadmin visualizer, It mostly depends on your computer and browser (what with the implementation of web workers and all) I'd say. 2011/10/13 Pablo Pareja ppar...@era7.com Hi, I was looking for a way to visualize and interact with small subsets of large Neo4j databases, *(somehow* *navigating through the data in order to have a general idea of how things are organized at specific parts* *of my DB)*. So before starting to create my own solution to that, I'd like to know which are the limits/constraints of the new WebAdmin tool ?* (in terms of number of rels/nodes in the neighborhood/ total DB)* Thanks, Pablo -- Pablo Pareja Tobes My site http://about.me/pablopareja LinkedInhttp://www.linkedin.com/in/pabloparejatobes Twitter http://www.twitter.com/pablopareja Creator of Bio4j -- http://www.bio4j.com http://www.ohnosequences.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Pablo Pareja Tobes My site http://about.me/pablopareja LinkedInhttp://www.linkedin.com/in/pabloparejatobes Twitter http://www.twitter.com/pablopareja Creator of Bio4j -- http://www.bio4j.com http://www.ohnosequences.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] WebAdmin visualization tool for large DB ?
I thoroughly agree with Rick. Pablo On Mon, Oct 17, 2011 at 12:49 PM, Rick Bullotta rick.bullo...@thingworx.com wrote: I think that both Neo4J and webadmin should have the option of specifying first N relationships as a limiter. This limit should be on a per-relationship basis (e.g. the first N of each type, rather than simply the first N relationships). This way, you would be able to visualize all of the relationship types that go in/out of the node, but not be overwhelmed with one specific relationship type. Also, it would be ideal if some visual cue that there were more relationships of a given type could be provided (e.g. a relationship line to a box labeled ...and 10,679 more From: user-boun...@lists.neo4j.org [user-boun...@lists.neo4j.org] On Behalf Of Pablo Pareja [ppar...@era7.com] Sent: Monday, October 17, 2011 6:44 AM To: Neo4j user discussions Subject: Re: [Neo4j] WebAdmin visualization tool for large DB ? Hi Mattias, what about the hypothetical scenario where there are ~ 1.000.000 relationships going out from a node, would the visualization tool try to plot all theses relationships? If not, would it first fetch them all and then plot a 1.000.000 group node? Or would it rather plot something like* more than 'x' relationships coming out from here*? Cheers, Pablo On Mon, Oct 17, 2011 at 12:38 PM, Mattias Persson matt...@neotechnology.com wrote: Hi Pablo, I don't think if there are any hard limits in the webadmin visualizer, It mostly depends on your computer and browser (what with the implementation of web workers and all) I'd say. 2011/10/13 Pablo Pareja ppar...@era7.com Hi, I was looking for a way to visualize and interact with small subsets of large Neo4j databases, *(somehow* *navigating through the data in order to have a general idea of how things are organized at specific parts* *of my DB)*. So before starting to create my own solution to that, I'd like to know which are the limits/constraints of the new WebAdmin tool ?* (in terms of number of rels/nodes in the neighborhood/ total DB)* Thanks, Pablo -- Pablo Pareja Tobes My site http://about.me/pablopareja LinkedInhttp://www.linkedin.com/in/pabloparejatobes Twitter http://www.twitter.com/pablopareja Creator of Bio4j -- http://www.bio4j.com http://www.ohnosequences.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Pablo Pareja Tobes My site http://about.me/pablopareja LinkedInhttp://www.linkedin.com/in/pabloparejatobes Twitter http://www.twitter.com/pablopareja Creator of Bio4j -- http://www.bio4j.com http://www.ohnosequences.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Pablo Pareja Tobes My site http://about.me/pablopareja LinkedInhttp://www.linkedin.com/in/pabloparejatobes Twitter http://www.twitter.com/pablopareja Creator of Bio4j -- http://www.bio4j.com http://www.ohnosequences.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] WebAdmin visualization tool for large DB ?
We're doing something similar as part of a visual search engine for ThingWorx. Our UX designers might be able to provide some recommendations/input on Neo4J DB visualization also. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Jacob Hansson Sent: Monday, October 17, 2011 8:30 AM To: Neo4j user discussions Subject: Re: [Neo4j] WebAdmin visualization tool for large DB ? On Mon, Oct 17, 2011 at 12:49 PM, Rick Bullotta rick.bullo...@thingworx.com wrote: I think that both Neo4J and webadmin should have the option of specifying first N relationships as a limiter. This limit should be on a per-relationship basis (e.g. the first N of each type, rather than simply the first N relationships). This way, you would be able to visualize all of the relationship types that go in/out of the node, but not be overwhelmed with one specific relationship type. Also, it would be ideal if some visual cue that there were more relationships of a given type could be provided (e.g. a relationship line to a box labeled ...and 10,679 more From: user-boun...@lists.neo4j.org [user-boun...@lists.neo4j.org] On Behalf Of Pablo Pareja [ppar...@era7.com] Sent: Monday, October 17, 2011 6:44 AM To: Neo4j user discussions Subject: Re: [Neo4j] WebAdmin visualization tool for large DB ? Hi Mattias, what about the hypothetical scenario where there are ~ 1.000.000 relationships going out from a node, would the visualization tool try to plot all theses relationships? If not, would it first fetch them all and then plot a 1.000.000 group node? Or would it rather plot something like* more than 'x' relationships coming out from here*? Currently, it would pull down all relationships, and render a group. Since we've added support for paging traversals since that code was written, we could do something like what Rick is suggesting. It would be fun to sketch a bit on how a UI like that could work.. There is quite a bit of stuff in the webadmin backlog, so this won't get done right now, but it will eventually bubble to the top of the list :) Cheers, Pablo On Mon, Oct 17, 2011 at 12:38 PM, Mattias Persson matt...@neotechnology.com wrote: Hi Pablo, I don't think if there are any hard limits in the webadmin visualizer, It mostly depends on your computer and browser (what with the implementation of web workers and all) I'd say. 2011/10/13 Pablo Pareja ppar...@era7.com Hi, I was looking for a way to visualize and interact with small subsets of large Neo4j databases, *(somehow* *navigating through the data in order to have a general idea of how things are organized at specific parts* *of my DB)*. So before starting to create my own solution to that, I'd like to know which are the limits/constraints of the new WebAdmin tool ?* (in terms of number of rels/nodes in the neighborhood/ total DB)* Thanks, Pablo -- Pablo Pareja Tobes My site http://about.me/pablopareja LinkedInhttp://www.linkedin.com/in/pabloparejatobes Twitter http://www.twitter.com/pablopareja Creator of Bio4j -- http://www.bio4j.com http://www.ohnosequences.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Pablo Pareja Tobes My site http://about.me/pablopareja LinkedInhttp://www.linkedin.com/in/pabloparejatobes Twitter http://www.twitter.com/pablopareja Creator of Bio4j -- http://www.bio4j.com http://www.ohnosequences.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Jacob Hansson Phone: +46 (0) 763503395 Twitter: @jakewins ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] WebAdmin visualization tool for large DB ?
Of course! -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Jacob Hansson Sent: Monday, October 17, 2011 8:53 AM To: Neo4j user discussions Subject: Re: [Neo4j] WebAdmin visualization tool for large DB ? That would be really interesting! I'll make a note of it and ping you when this gets up to the top of the backlog, if that's ok with you? /Jake On Mon, Oct 17, 2011 at 2:50 PM, Rick Bullotta rick.bullo...@thingworx.comwrote: We're doing something similar as part of a visual search engine for ThingWorx. Our UX designers might be able to provide some recommendations/input on Neo4J DB visualization also. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Jacob Hansson Sent: Monday, October 17, 2011 8:30 AM To: Neo4j user discussions Subject: Re: [Neo4j] WebAdmin visualization tool for large DB ? On Mon, Oct 17, 2011 at 12:49 PM, Rick Bullotta rick.bullo...@thingworx.com wrote: I think that both Neo4J and webadmin should have the option of specifying first N relationships as a limiter. This limit should be on a per-relationship basis (e.g. the first N of each type, rather than simply the first N relationships). This way, you would be able to visualize all of the relationship types that go in/out of the node, but not be overwhelmed with one specific relationship type. Also, it would be ideal if some visual cue that there were more relationships of a given type could be provided (e.g. a relationship line to a box labeled ...and 10,679 more From: user-boun...@lists.neo4j.org [user-boun...@lists.neo4j.org] On Behalf Of Pablo Pareja [ppar...@era7.com] Sent: Monday, October 17, 2011 6:44 AM To: Neo4j user discussions Subject: Re: [Neo4j] WebAdmin visualization tool for large DB ? Hi Mattias, what about the hypothetical scenario where there are ~ 1.000.000 relationships going out from a node, would the visualization tool try to plot all theses relationships? If not, would it first fetch them all and then plot a 1.000.000 group node? Or would it rather plot something like* more than 'x' relationships coming out from here*? Currently, it would pull down all relationships, and render a group. Since we've added support for paging traversals since that code was written, we could do something like what Rick is suggesting. It would be fun to sketch a bit on how a UI like that could work.. There is quite a bit of stuff in the webadmin backlog, so this won't get done right now, but it will eventually bubble to the top of the list :) Cheers, Pablo On Mon, Oct 17, 2011 at 12:38 PM, Mattias Persson matt...@neotechnology.com wrote: Hi Pablo, I don't think if there are any hard limits in the webadmin visualizer, It mostly depends on your computer and browser (what with the implementation of web workers and all) I'd say. 2011/10/13 Pablo Pareja ppar...@era7.com Hi, I was looking for a way to visualize and interact with small subsets of large Neo4j databases, *(somehow* *navigating through the data in order to have a general idea of how things are organized at specific parts* *of my DB)*. So before starting to create my own solution to that, I'd like to know which are the limits/constraints of the new WebAdmin tool ?* (in terms of number of rels/nodes in the neighborhood/ total DB)* Thanks, Pablo -- Pablo Pareja Tobes My site http://about.me/pablopareja LinkedInhttp://www.linkedin.com/in/pabloparejatobes Twitter http://www.twitter.com/pablopareja Creator of Bio4j -- http://www.bio4j.com http://www.ohnosequences.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Pablo Pareja Tobes My site http://about.me/pablopareja LinkedInhttp://www.linkedin.com/in/pabloparejatobes Twitter http://www.twitter.com/pablopareja Creator of Bio4j -- http://www.bio4j.com http://www.ohnosequences.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Jacob Hansson Phone: +46 (0) 763503395 Twitter: @jakewins ___ Neo4j mailing list
Re: [Neo4j] Set property on node in Neo4j REST server
On Mon, Oct 17, 2011 at 8:05 AM, Jim Webber j...@neotechnology.com wrote: Hi Peter, For the specific case of updating a single property then: PUT node/{node_id}/property/{property_key} with an entity body like: some text or 27 would be OK I think But not until the 1.6 M01 release :-) But this is exactly what we do today, no? Jim ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Jacob Hansson Phone: +46 (0) 763503395 Twitter: @jakewins ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Python embedded and Java batch inserter
Hi all, I'm trying to work with Neo4j embedded with Python, but, if I try to open a database created with the Java batch inserter (neo4j 1.4) by using Python-embedded, I get the error described here https://trac.neo4j.org/ticket/275 The database works correctly when opened in Neoclipse or with neo4j stand-alone server (by replacing the data folder), and if I create a new database directly with Python embedded it works too. Is there a way to solve this problem? Then, how much is fast the neo4j-REST traverser compared with the Java embedded traverser on a 3 million nodes graph? Cheers! Jacopo Farina ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Set property on node in Neo4j REST server
Then I declare from the High Church of REST that what we do today is correct. Amen :-) Jim On 17 Oct 2011, at 15:34, Jacob Hansson wrote: On Mon, Oct 17, 2011 at 8:05 AM, Jim Webber j...@neotechnology.com wrote: Hi Peter, For the specific case of updating a single property then: PUT node/{node_id}/property/{property_key} with an entity body like: some text or 27 would be OK I think But not until the 1.6 M01 release :-) But this is exactly what we do today, no? Jim ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Jacob Hansson Phone: +46 (0) 763503395 Twitter: @jakewins ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Index Creation via REST API
Hello, trying to work RESTfully with Neo4j via Standalone Server (1.5.M01) I'm about to become desperate. I'm sending an POST-Request to http://localhost:7474/db/data/index/node/, getting status-code 500 with the response-text java.lang.Boolean cannot be cast to java.lang.String. The indexes I've wanted to create are the following one: {name:address,config:{provider:lucene,type:fulltext}} {name:user,config:{provider:lucene,type:fulltext}} Neo4j log contains the following line: 17.10.2011 16:56:10 org.mortbay.log.Slf4jLog warn FATAL: /db/data/index/node/ java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String at org.neo4j.index.impl.lucene.LuceneIndexImplementation.match(LuceneIndexI mplementation.java:165) at org.neo4j.index.impl.lucene.LuceneIndexImplementation.configMatches(Luce neIndexImplementation.java:156) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java: 128) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImp l.java:183) at org.neo4j.kernel.IndexManagerImpl.getOrCreateNodeIndex(IndexManagerImpl. java:272) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:260) at org.neo4j.server.rest.web.DatabaseActions.createNodeIndex(DatabaseAction s.java:338) at org.neo4j.server.rest.web.RestfulGraphDatabase.jsonCreateNodeIndex(Restf ulGraphDatabase.java:589) [...] Whats wrong with this requests and in case this is an known bug at the REST server-component when will it be fixed? Greets, Christian Scharr ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Index Creation via REST API
This looks right. Can you create the error with a curl call so I can recreate it? /peter Sent from my phone. On Oct 17, 2011 5:58 PM, Christian Scharr christian.sch...@hsh-berlin.com wrote: Hello, trying to work RESTfully with Neo4j via Standalone Server (1.5.M01) I'm about to become desperate. I'm sending an POST-Request to http://localhost:7474/db/data/index/node/, getting status-code 500 with the response-text java.lang.Boolean cannot be cast to java.lang.String. The indexes I've wanted to create are the following one: {name:address,config:{provider:lucene,type:fulltext}} {name:user,config:{provider:lucene,type:fulltext}} Neo4j log contains the following line: 17.10.2011 16:56:10 org.mortbay.log.Slf4jLog warn FATAL: /db/data/index/node/ java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String at org.neo4j.index.impl.lucene.LuceneIndexImplementation.match(LuceneIndexI mplementation.java:165) at org.neo4j.index.impl.lucene.LuceneIndexImplementation.configMatches(Luce neIndexImplementation.java:156) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java: 128) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImp l.java:183) at org.neo4j.kernel.IndexManagerImpl.getOrCreateNodeIndex(IndexManagerImpl. java:272) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:260) at org.neo4j.server.rest.web.DatabaseActions.createNodeIndex(DatabaseAction s.java:338) at org.neo4j.server.rest.web.RestfulGraphDatabase.jsonCreateNodeIndex(Restf ulGraphDatabase.java:589) [...] Whats wrong with this requests and in case this is an known bug at the REST server-component when will it be fixed? Greets, Christian Scharr ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Configuring Neo4J via Python bindings
Hey Jake, Awesome! Thanks so much for making this happen! On my end, it doesn't look like the docs are up yet. I'll check back... Thanks again, Chris On Mon, Oct 17, 2011 at 4:12 AM, Jacob Hansson jacob.hans...@neotechnology.com wrote: Hey Chris, I've just added support for passing in extra JVM args, it's available as of this commit: https://github.com/neo4j/python-embedded/commit/d41950f8c7e6c65d67f60868976e1864a496a2ea Documentation will pop up in an hour or so here: http://docs.neo4j.org/chunked/snapshot/python-embedded-reference-core.html This feature will be available as of the 1.5 release, due later this week. If you want to get access to it right away, you can build neo4j-embedded directly from source, the code is available here: https://github.com/neo4j/python-embedded See the readme for how to build from source. Thanks for bringing this up! Jake On Fri, Oct 14, 2011 at 7:47 PM, Chris Diehl di...@alumni.cmu.edu wrote: Hi Michael, I added a print statement to my code to output how many nodes have been inserted. The script zips along until it gets up around 18.6K nodes. Then the program halts when a Java exception is thrown, as shown below. Inserting user 18629 Inserting user 18630 Inserting user 18631 Inserting user 18632 Inserting user 18633 Inserting user 18634 Inserting user 18635 Traceback (most recent call last): File jive_app_db_graph_construction.py, line 53, in module node_idx['userid'][user_node['userid']] = user_node File /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/contextlib.py, line 34, in __exit__ self.gen.throw(type, value, traceback) File string, line 11, in transaction RuntimeError: An unknown error occured while handling a Java Exception Strangely enough, the script returned a more explicit Out of Heap Memory error once when I reran the script. It's bizarre that the failure output is not consistent, given I start with a clean DB each time. Increasing the amount of available heap memory seems like the reasonable place to start. If you can let me know how to specify the amount of heap memory for the JVM instantiated by the bindings, that'd be great. I'm running on a MacBook Pro with 8 gigs of memory running OSX 10.6.8. Here's the contents of the messages.log file. 2011-10-14 10:34:17.336-0700: Creating new db @ /Users/chris.diehl/Graphs/ JiveCommunityV5.0.ng/neostore 2011-10-14 10:34:17.419-0700: Opened [/Users/chris.diehl/Graphs/ JiveCommunityV5.0.ng/nioneo_logical.log.1] clean empty log, version=0, lastTxId=1 2011-10-14 10:34:17.441-0700: Opened [/Users/chris.diehl/Graphs/ JiveCommunityV5.0.ng/index/lucene.log.1] clean empty log, version=0, lastTxId=1 2011-10-14 10:34:17.443-0700: TM new log: tm_tx_log.1 2011-10-14 10:34:17.451-0700: --- CONFIGURATION START --- 2011-10-14 10:34:17.451-0700: Physical mem: 8192MB, Heap size: 123MB 2011-10-14 10:34:17.452-0700: Kernel version: Neo4j - Graph Database Kernel 1.5-SNAPSHOT (revision: 1.5.M02-4-g3d1e9d8) 2011-10-14 10:34:17.453-0700: Neo4j - Graph Database Kernel 1.5-SNAPSHOT (revision: 1.5.M02-4-g3d1e9d8) 2011-10-14 10:34:17.456-0700: Operating System: Mac OS X; version: 10.6.8; arch: x86_64; cpus: 8 2011-10-14 10:34:17.456-0700: VM Name: Java HotSpot(TM) 64-Bit Server VM 2011-10-14 10:34:17.456-0700: VM Vendor: Apple Inc. 2011-10-14 10:34:17.456-0700: VM Version: 20.1-b02-384 2011-10-14 10:34:17.456-0700: Boot Class Path: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar 2011-10-14 10:34:17.457-0700: Class Path:
Re: [Neo4j] Graph Data Corruption?
We use Linux platform and am not sure about the file system, I guess it's the regular one! On Mon, Oct 17, 2011 at 3:26 AM, Mattias Persson matt...@neotechnology.comwrote: Thanks John, on what platform and file system do you run this? 2011/10/17 Tatham Oddie tat...@oddie.com.au As a sidenote, relationships are traversed in either direction with equal performance. Having reciprocal relationships is unnecessary. (Unless you can have person A support server B *without* server B being supported by person A ... but that just sounds broken.) I agree, server X supported by person Y can (and should) be inferred from person Y supports server X. It's more expensive to have duplicated relationships. -- Tatham -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of John Howard Sent: Sunday, 16 October 2011 12:00 PM To: Neo4j user discussions Subject: Re: [Neo4j] Graph Data Corruption? Thanks Mattias for the response. Yes, these nodes are consistently getting the same exceptions. Initially I thought shutting down the graph gracefully and starting it would solve the issue, but it didn't. We inserted node/relationships/properties with the regular create operations and NOT using the BatchInserter. Our dataset has 6 domains, one of them is People which has relationships to all other domains. Each node and relationships have about 8-12 properties. Our typical graph looks something like this: Person1 (node1) ---Supports(Rel1)--Server1(node2) ---Supported By(Rel2) -- On Sat, Oct 15, 2011 at 11:05 AM, Mattias Persson matt...@neotechnology.com wrote: Hi John, So it seems to be related to loading of node/relationship properties. Are those nodes/relationships consistently getting this exception or do you see this randomly during brief moments throughout the graph? Would it also be possible to have a look at your dataset somehow? 2011/10/14 John Howard johnyho...@gmail.com Hello, We have started getting some strange exceptions(stack trace below) while accessing node relationships. It happened on a node's relationship and we deleted that relationship and related node, so we were able to access the node and all its relationships. Then it started happening to some other nodes and their relationships. And we do not know how many node relationships are corrupted in the graph. We are using 1.4.1 version. We have around 50k nodes and 100k relationships. Appreciate your help. org.neo4j.kernel.impl.nioneo.store.InvalidRecordException: Not in use, blockId[1977868] at org.neo4j.kernel.impl.nioneo.store.AbstractDynamicStore.getRecord(AbstractDynamicStore.java:472) at org.neo4j.kernel.impl.nioneo.store.AbstractDynamicStore.getLightRecords(AbstractDynamicStore.java:429) at org.neo4j.kernel.impl.nioneo.store.PropertyStore.getRecord(PropertyStore.java:374) at org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.loadPropertyValue(ReadTransaction.java:208) at org.neo4j.kernel.impl.persistence.PersistenceManager.loadPropertyValue(PersistenceManager.java:87) at org.neo4j.kernel.impl.core.NodeManager.loadPropertyValue(NodeManager.java:593) at org.neo4j.kernel.impl.core.Primitive.getPropertyValue(Primitive.java:543) at org.neo4j.kernel.impl.core.Primitive.getProperty(Primitive.java:159) at org.neo4j.kernel.impl.core.RelationshipProxy.getProperty(RelationshipProxy.java:90) ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] How to build neo4j projects from GitHub
Hi! AFAIK, this is an Eclipse Indigo annoyance. Does sound a bit strange, as we already told Eclipse/m2e how to handle that execution by the configuration over here: https://github.com/neo4j/parent-central/blob/master/pom.xml#L357 Maybe you just need to do (project) - Maven - Update Project Configuration? Sometimes that is needed after an import in order to get Eclipse properly configured. /anders 2011-10-15 13:09, Brendan cheng skrev: I was using the import from eclipse GUI so...no log message but a screen shot which I attached. Date: Sat, 15 Oct 2011 12:41:28 +0200 From: peter.neuba...@neotechnology.com To: user@lists.neo4j.org Subject: Re: [Neo4j] How to build neo4j projects from GitHub That sounds ok. Would like to see the full log... /peter Sent from my phone. On Oct 15, 2011 12:36 PM, Brendan chengccp...@hotmail.com wrote: Peter,It is from Maven 3.0.2. What version shall we use? Brendan Date: Sat, 15 Oct 2011 12:32:07 +0200 From: peter.neuba...@neotechnology.com To: user@lists.neo4j.org Subject: Re: [Neo4j] How to build neo4j projects from GitHub Brendan, What maven version, could you submit the whole maven log? Sounds like some mvn3 stuff ... /peter On Saturday, October 15, 2011, Brendan chengccp...@hotmail.com wrote: After adding neo4j maven repository, no more artifacts missing but have this: No marketplace entries found to handle Execution check-licenses, in server-enterprise/pom.xml in Eclipse. Please see Help for more information. Any tips for that? From: ccp...@hotmail.com To: user@lists.neo4j.org Subject: How to build neo4j projects from GitHub Date: Fri, 14 Oct 2011 06:29:45 + Hi, I was trying to clone Neo4j enterprise from Github to a local directory and import it to Eclipse.There were so many artifacts missing, parent path not found...etc. is there any way to solve the problems? Brendan ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- 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 - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user [Neo4j] How to build neo4j projects from GitHub http://skydrive.live.com/redir.aspx?cid=b63b5ad3a690c14fpage=browseresid=B63B5AD3A690C14F!474type=5Bpub=SDX.PhotosBsrc=Photomailauthkey=66Hwj2qLGtw%24 ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] How to build neo4j projects from GitHub
I'm building the community project which I can successfully done through command line, mvn clean install. The problem is only when importing to eclipse. something class files are missing. they are all in Cypher project like org.neo4j.cypher.SyntaxException, org.neo4j.cypher.commands.Query. in the Cypher project, there are only org.neo4j.cypher.javacompat package. does the pom link to a wrong cypher project? Brendan Date: Tue, 18 Oct 2011 01:20:20 +0200 From: and...@neotechnology.com To: user@lists.neo4j.org Subject: Re: [Neo4j] How to build neo4j projects from GitHub Hi! AFAIK, this is an Eclipse Indigo annoyance. Does sound a bit strange, as we already told Eclipse/m2e how to handle that execution by the configuration over here: https://github.com/neo4j/parent-central/blob/master/pom.xml#L357 Maybe you just need to do (project) - Maven - Update Project Configuration? Sometimes that is needed after an import in order to get Eclipse properly configured. /anders 2011-10-15 13:09, Brendan cheng skrev: I was using the import from eclipse GUI so...no log message but a screen shot which I attached. Date: Sat, 15 Oct 2011 12:41:28 +0200 From: peter.neuba...@neotechnology.com To: user@lists.neo4j.org Subject: Re: [Neo4j] How to build neo4j projects from GitHub That sounds ok. Would like to see the full log... /peter Sent from my phone. On Oct 15, 2011 12:36 PM, Brendan chengccp...@hotmail.com wrote: Peter,It is from Maven 3.0.2. What version shall we use? Brendan Date: Sat, 15 Oct 2011 12:32:07 +0200 From: peter.neuba...@neotechnology.com To: user@lists.neo4j.org Subject: Re: [Neo4j] How to build neo4j projects from GitHub Brendan, What maven version, could you submit the whole maven log? Sounds like some mvn3 stuff ... /peter On Saturday, October 15, 2011, Brendan chengccp...@hotmail.com wrote: After adding neo4j maven repository, no more artifacts missing but have this: No marketplace entries found to handle Execution check-licenses, in server-enterprise/pom.xml in Eclipse. Please see Help for more information. Any tips for that? From: ccp...@hotmail.com To: user@lists.neo4j.org Subject: How to build neo4j projects from GitHub Date: Fri, 14 Oct 2011 06:29:45 + Hi, I was trying to clone Neo4j enterprise from Github to a local directory and import it to Eclipse.There were so many artifacts missing, parent path not found...etc. is there any way to solve the problems? Brendan ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- 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 - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user [Neo4j] How to build neo4j projects from GitHub http://skydrive.live.com/redir.aspx?cid=b63b5ad3a690c14fpage=browseresid=B63B5AD3A690C14F!474type=5Bpub=SDX.PhotosBsrc=Photomailauthkey=66Hwj2qLGtw%24 ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user