[Neo4j] Neo4j October Events

2011-10-04 Thread Allison Sparrow
*** Hi Everyone, We have a bunch of great events coming up in October. Check it out below. We are adding more events on the regular, so be sure to check back at http://plancast.com/neo4j for updates throughout the month. If you have any questions regarding part

Re: [Neo4j] Gremlin syntax for multiple paths in one call

2011-10-04 Thread KanTube
for now it is not an issue for me to update on my development server but if you could give an idea when the release is due out that would help. i am not in a hurry for the update since current functionality satisfies my business needs. -- View this message in context: http://neo4j-communit

Re: [Neo4j] Gremlin syntax for multiple paths in one call

2011-10-04 Thread Peter Neubauer
Kan, There are incompatible store changes that we are right now QA-in the upgrade process for. If you want to upgrade, i advise to wait for the release with instructions. Otherwise, a new import is the best choice right now. Would that be ok? /peter Sent from my phone. On Oct 4, 2011 10:56 PM, "K

Re: [Neo4j] Gremlin syntax for multiple paths in one call

2011-10-04 Thread KanTube
Peter, i installed 1.5-SNAPSHOT and the call g.v(0).out('Friend', 'Like') does work however, when installed the update the server would not start using my 1.4 data files. is this because of something i did incorrectly during the update? -- View this message in context: http://neo4j-communit

Re: [Neo4j] Add node to index

2011-10-04 Thread Peter Neubauer
Cool, Glad it works out! /peter Sent from my phone. On Oct 4, 2011 10:07 PM, "andrew ton" wrote: > > > Hi Peter, > > I downloaded the SNAPSHOT version and looked into the manual. It is different from the one in the 1.5.M01 version and it looks very nice as well as useful. > I modified my code to

Re: [Neo4j] Add node to index

2011-10-04 Thread andrew ton
Hi Peter, I downloaded the SNAPSHOT version and looked into the manual. It is different from the one in the 1.5.M01 version and it looks very nice as well as useful. I modified my code to Post the Json object to the index and the node was successfully added. Thanks! Regards,

Re: [Neo4j] Meet-up in Zurich

2011-10-04 Thread Andreas Kollegger
Or, with an umlaut... On Tue, Oct 4, 2011 at 10:26 AM, Andreas Kollegger < andreas.kolleg...@neotechnology.com> wrote: > Cheers Zurich, you've earned an official Neo4j Meetup badge! > > Best, > Andreas > > > On Tue, Oct 4, 2011 at 2:33 AM, Peter Neubauer < > peter.neuba...@neotechnology.com> wro

Re: [Neo4j] Meet-up in Zurich

2011-10-04 Thread Andreas Kollegger
Cheers Zurich, you've earned an official Neo4j Meetup badge! Best, Andreas On Tue, Oct 4, 2011 at 2:33 AM, Peter Neubauer < peter.neuba...@neotechnology.com> wrote: > Cool. > Would love to come down for the next time, have at least joined the > group. Great initiative, and send the beer bill An

Re: [Neo4j] Neo4j in GIS Applications

2011-10-04 Thread Andreas Kollegger
Hi Daniel, If you haven't yet, you should check out the work done in the Neo4j Spatial project - https://github.com/neo4j/spatial - which has fairly comprehensive support for GIS. Data locality, as you mention, is exactly a big advantage of using a graph for geospatial data. Take a look at the Ne

[Neo4j] Neo4j in GIS Applications

2011-10-04 Thread danielb
Hello everyone, I am going to write my master thesis about the suitability of graph databases in GIS applications (at least I hope so^^). The database has to provide topological queries, network analysis and the ability to store large amount of mapdata for viewing - all based on OSM-data of Germa

Re: [Neo4j] Gremlin syntax for multiple paths in one call

2011-10-04 Thread Peter Neubauer
Kan, you need the 1.5-SNAPSHOT for this to work. Could you please try this from the download page? 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

Re: [Neo4j] Gremlin syntax for multiple paths in one call

2011-10-04 Thread KanTube
Peter/Marko I tried the following g.v(62).out(‘Friend’, 'Like') but receive the following error javax.script.ScriptException: groovy.lang.MissingMethodException: No signature of method: com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jVertex.out() is applicable for argument types: (java.lang.Stri

Re: [Neo4j] Gremlin syntax for multiple paths in one call

2011-10-04 Thread Peter Neubauer
Laziest wins! /peter Sent from my phone. On Oct 4, 2011 5:38 PM, "Marko Rodriguez" wrote: > Hey, > > Your answer is correct too, though its not lazy. However, I suspect its more > understandable. > > Marko. > > On Oct 4, 2011 8:31 AM, "Peter Neubauer" > wrote: > > Nice one, will change the docs

Re: [Neo4j] Gremlin syntax for multiple paths in one call

2011-10-04 Thread Marko Rodriguez
Hey, Your answer is correct too, though its not lazy. However, I suspect its more understandable. Marko. On Oct 4, 2011 8:31 AM, "Peter Neubauer" wrote: Nice one, will change the docs. /peter Sent from my phone. On Oct 4, 2011 5:20 PM, "Marko Rodriguez" wrote: > Hey, > >> If I want to get.

Re: [Neo4j] Gremlin syntax for multiple paths in one call

2011-10-04 Thread Peter Neubauer
Nice one, will change the docs. /peter Sent from my phone. On Oct 4, 2011 5:20 PM, "Marko Rodriguez" wrote: > Hey, > >> If I want to get the following >> >> g.V(0).out('Friends') >> >> and >> >> g.V(0).in('Likes') > > > This is the world of split and merge. The syntax for this is not the sexiest

Re: [Neo4j] Gremlin syntax for multiple paths in one call

2011-10-04 Thread Marko Rodriguez
Hey, > If I want to get the following > > g.V(0).out('Friends') > > and > > g.V(0).in('Likes') This is the world of split and merge. The syntax for this is not the sexiest, but as it stands: g.v(0)._.copySplit(_().out('Friends'), _().in('Likes')).fairMerge copySplit will take wh

Re: [Neo4j] Add node to index

2011-10-04 Thread Peter Neubauer
Andrew, just downloaded and looked at it. The manual is generated from integration tests, so this code has been running against a server. In the SNAPSHOT version, you have full JSON syntax, see http://docs.neo4j.org/chunked/snapshot/rest-api-indexes.html#rest-api-add-node-to-index I am not sure,

Re: [Neo4j] Spring Data Neo4j 2.0 Roadmap

2011-10-04 Thread Agelos Pikoulas
Hi to all, These all sound great Michael. Towards SDG 2.x, may I suggest the addressing of two issues I've faced with neo4j & SDG a) Inheritance & Polymorphic Queries (as discussed in http://neo4j.org/forums/#nabble-td3332111) In short, having @NodeEntity public class Customer exten

Re: [Neo4j] Add node to index

2011-10-04 Thread andrew ton
Hi Peter, I'm using Neo4J 1.5.M01 and I use the neo4j manual in this package. So I guess the manual is for that version. Cheers, Andrew From: Peter Neubauer To: Neo4j user discussions Sent: Tuesday, October 4, 2011 12:54 AM Subject: Re: [Neo4j] Add node to

Re: [Neo4j] Access Node's property block will happening??

2011-10-04 Thread Peter Neubauer
Yuanlong, any progress on 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               - Your high performance graph

Re: [Neo4j] Add node to index

2011-10-04 Thread andrew ton
Hi Jim, Thank you! I'm using 1.5.M01 version. Just out of curiosity, how did you add a node into the index in the 1.5.M01 version? I'm downloading the SNAPSHOT and will try again. Cheers, Andrew   From: Jim Webber To: Neo4j user discussions Sent: Tuesday, O

Re: [Neo4j] Release 1.2.3 - Multitenancy

2011-10-04 Thread Peter Neubauer
Vivek, Andreas, very interesting design! Let's see how this works out in the longer run - if it proves useful in other scenarios, maybe this is a good pattern to propagate to others, and to pull down into some Java library in order to be usable from other stacks, too! Cheers, /peter neubauer GTa

[Neo4j] Spring Data Neo4j 2.0 Roadmap

2011-10-04 Thread Michael Hunger
Hi, I just wanted to share the news around the next version of the Spring Data Neo4j project with you. First of all - the library will be renamed to Spring Data Neo4j and the next release will be version 2.0 due to the many breaking changes and new approaches. The new github repository can be

Re: [Neo4j] C# REST binding / wrapper

2011-10-04 Thread Peter Neubauer
Very cool! Btw, just added parameters to the Cypher REST Plugin too, since Andres pushed them into the core parser. http://docs.neo4j.org/chunked/snapshot/cypher-plugin.html#rest-api-send-queries-with-parameters which will mean the mode of submission is the same for Gremlin and Cypher. Cheers,

Re: [Neo4j] Gremlin syntax for multiple paths in one call

2011-10-04 Thread Peter Neubauer
Here you go. http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html#rest-api-collect-multiple-traversal-results Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter      http://twitter

Re: [Neo4j] Meet-up in Zurich

2011-10-04 Thread Peter Neubauer
Cool. Would love to come down for the next time, have at least joined the group. Great initiative, and send the beer bill Andreas or my way! Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twi

Re: [Neo4j] Meet-up in Zurich

2011-10-04 Thread Jean-Pierre Bergamin
> let's do a meetup group like http://www.meetup.com/Neo4j-Oresund/ ? I created a meetup group and added the first event: http://www.meetup.com/Neo4j-Zurich/events/36063832/ Feel free to join the group. There will hopefully follow a lot of other meet-ups and events. :-) Best regards, James

Re: [Neo4j] Meet-up in Zurich

2011-10-04 Thread Jean-Pierre Bergamin
Hi Daniel > I’ll try to stop by. My friend and I built a startup using Neo4j and we’ve > had a great experience so far. Is there RSVP list? Just stop by. There is no RSVP. Best regards, James ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo

Re: [Neo4j] Gremlin syntax for multiple paths in one call

2011-10-04 Thread Peter Neubauer
Kan, I also pushed an example for this which should be online under http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html in some hour, when the build is through. If you care, feel free to check it out. Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone     

Re: [Neo4j] Add node to index

2011-10-04 Thread Jim Webber
Hi Andrew, In the latest snapshots the API has changed, see: http://docs.neo4j.org/chunked/snapshot/rest-api-indexes.html So either ensure you're using 1.5M01 if you want the old behaviour, or a snapshot if you want the new behaviour. Jim ___ Neo4j

Re: [Neo4j] Gremlin syntax for multiple paths in one call

2011-10-04 Thread KanTube
Thanks fyi: the syntax for this using my .net client GremlinScript script = new GremlinScript(); script.Append("results = [];") .Append("a = ").gV(ID).Append(";") .Append("a").In(RelationshipType.Like).Filter("!it.getProperty('{0}')", NodeProperty.Delete) .Append(" >> r

Re: [Neo4j] Add node to index

2011-10-04 Thread Peter Neubauer
Andrew, do you have the URL to the documentation you are looking at? Is it the same version as the database version you are using? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter     

[Neo4j] Add node to index

2011-10-04 Thread andrew ton
Hi, In the document (15.7.6) the example of adding a node to index by a POST method to http://localhost:7474/db/data/index/node/favorites/key/the%20value. The service accept JSON. However the example shows the request posts the body as a string "http://localhost:7474/db/data/node/0"; but not

Re: [Neo4j] Gremlin syntax for multiple paths in one call

2011-10-04 Thread Peter Neubauer
Kan, if you need to collect results, just empty the two different traversals into a result List (last statement is for returning it, if you use http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html g.addEdge(g.v(1), g.v(2), 'Friends') ==>e[0][1-Friends->2] gremlin> g.addEdge(g.v(3), g.v(1),'L