Re: [Neo4j] Recent Experience with RingoJS (Rhino) and Neo4j

2011-06-10 Thread Emil Eifrem
On Tue, Jun 7, 2011 at 06:36, McKinley mckinley1...@gmail.com wrote: I will release a RingoJS package for Neo4j soon. Please let me know if you have any questions. If you would like to arrange a demonstration of Neo4j and RingoJS at your local meetup in San Francisco, Orange County or San

Re: [Neo4j] JAXRS Server Extensions

2011-06-10 Thread Kiss, Miklós
Great! I'm looking forward to test the new version. Hi Miklós, Batch updates through the REST API will be supported from 1.4 M4 which should be released today - so no need to roll your own. Jim ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] Speeding up initial import of graph

2011-06-10 Thread Paul Bandler
On 9 Jun 2011, at 22:12, Michael Hunger wrote: Please keep in mind that the HashMap of 10M strings - longs will take a substantial amount of heap memory. That's not the fault of Neo4j :) On my system it alone takes 1.8 G of memory (distributed across the strings, the hashmap-entries and

Re: [Neo4j] Gremlin

2011-06-10 Thread Peter Neubauer
Yeah, I think you should try maven 2, mine is Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter     

Re: [Neo4j] Gremlin

2011-06-10 Thread Marko Rodriguez
Not to be difficult, but its not hard to make it both Maven2 and Maven3 compliant. Basically, Maven3 provides nice information on what to do with the pom.xml. Given your info, remove the legacy tag. See ya, Marko. http://markorodriguez.com On Jun 10, 2011, at 1:11 AM, Peter Neubauer wrote:

Re: [Neo4j] Speeding up initial import of graph

2011-06-10 Thread Michael Hunger
You're right the lucene based import shouldn't fail for memory problems, I will look into that. My suggestion is valid if you want to use an in memory map to speed up the import. And if you're able to perhaps analyze / partition your data that might be a viable solution. Will get back to you

Re: [Neo4j] How to embed neo4j to OSGI env without spring?

2011-06-10 Thread Nicolas Jouanin
Hi, I'll try this during the weekend if you agree and I'll let you know. 2011/6/9 Peter Neubauer peter.neuba...@neotechnology.com Nicolas, I have now a failing testcase (albeit using snapshot versions of PAX stuff, trying to relax that ASAP) at https://github.com/neo4j/neo4j-osgi-examples

Re: [Neo4j] How to embed neo4j to OSGI env without spring?

2011-06-10 Thread Peter Neubauer
Yeah, that would be great Nicolas! The only thing is that you will need to build Pax Tinybundles, g...@github.com:ops4j/org.ops4j.pax.tinybundles.git since I am using SNAPSHOT dep there. Lemme know if you need help! Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer

Re: [Neo4j] unique indexes

2011-06-10 Thread Peter Neubauer
Matt, what do you mean by unique indexes? 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

Re: [Neo4j] Lake Constance Hackathon (South of Germany)

2011-06-10 Thread Peter Neubauer
Cool, let us know what you come up with - there were a lot good ideas coming up yesterday in Tallinn at http://geekout.ee/programme/ too! Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer

[Neo4j] Which version of neo4j does spring data graph project use ?

2011-06-10 Thread Vipul Gupta
Please let me know.. I want to use the latest version of neo4j say  Neo4j 1.4 M03 “Kiruna with spring data graph. WHat do I do ? ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Which version of neo4j does spring data graph project use ?

2011-06-10 Thread Michael Hunger
Wait for our spring data graph 1.1.0.M1 release on Monday :) it will be updated to Neo4j 1.4.M04 Cheers Michael Am 10.06.2011 um 11:55 schrieb Vipul Gupta: Please let me know.. I want to use the latest version of neo4j say Neo4j 1.4 M03 “Kiruna with spring data graph. WHat do I do ?

Re: [Neo4j] Which version of neo4j does spring data graph project use ?

2011-06-10 Thread Vipul Gupta
Cool. thanks Michael. On Fri, Jun 10, 2011 at 3:40 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Wait for our spring data graph 1.1.0.M1 release on Monday :) it will be updated to Neo4j 1.4.M04 Cheers Michael Am 10.06.2011 um 11:55 schrieb Vipul Gupta: Please let me

Re: [Neo4j] Design question: Del.icio.us

2011-06-10 Thread Josef Holy
+1 against over engineering and for fulfilling concrete scenarios One can definitely implement cool and 'function-rich' tagging systems satisfying 99% of the usual use cases by using pretty much any db - RDBMS, GraphDBs or even KV store. I have just learned from others in the past, that

Re: [Neo4j] No index provider 'lucene' found

2011-06-10 Thread Ian Bussières
GWT 2.3 and Eclipse Helios. I can't share too much information from the project itself, I suppose I could share the config stuff. What config are you referring to? -- Ian Bussières Étudiant en Génie des Technologies de l'Information École de technologie supérieure [514] 814-0136 On Fri, Jun

Re: [Neo4j] No index provider 'lucene' found

2011-06-10 Thread Michael Hunger
Eclipse .project and .classpath files. In general if you copy the project and remove all *.java files, that would be sufficient. Thanks so much Michael Am 10.06.2011 um 13:11 schrieb Ian Bussières: GWT 2.3 and Eclipse Helios. I can't share too much information from the project itself, I

Re: [Neo4j] No index provider 'lucene' found

2011-06-10 Thread Ian Bussières
Here you go, took out src, war, lib, test, test-classes and also cleaned some of the stuff in the war folder. Oh and took out all the .jar files there too, otherwise this was just way to huge to share. Hope this will shine some light on the problem :S On Fri, Jun 10, 2011 at 07:18, Michael

Re: [Neo4j] Gremlin

2011-06-10 Thread Peter Neubauer
Yeah, probably a task for the next milestone. Will see :) 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               -

Re: [Neo4j] basic design question

2011-06-10 Thread Peter Neubauer
Boris, as for the common nodes in between, you could take a look at the graph algos in http://components.neo4j.org/neo4j/1.4.M03/apidocs/ . In short, i think a AllPaths would be good for finding this out. Alternatively, you could use Cypher to do this, see

Re: [Neo4j] unique indexes

2011-06-10 Thread Matt C
An index that would enforce every value added to it be unique. I don't even see support for that in Lucene, so, nevermind. Just something I'm used to SQL handling for me. On Fri, Jun 10, 2011 at 1:05 AM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Matt, what do you mean by unique

[Neo4j] Announcing Neo4j 1.4 M04 “Kiruna Stol”

2011-06-10 Thread Peter Neubauer
Hello graphistas, today brings us the (hopefully) latest milestone towards the “Kiruna Stol” 1.4 release of Neo4j. You will find it contains two new major features that are meant to make your interaction with the database easier and more efficient as well as the usual range of minor bug fixes.

Re: [Neo4j] unique indexes

2011-06-10 Thread Rick Bullotta
If you need to, you could check the existence of a match prior to every attempted add/insert/update. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Matt C Sent: Friday, June 10, 2011 10:25 AM To: Neo4j user discussions Subject:

Re: [Neo4j] JAXRS Server Extensions

2011-06-10 Thread Jim Webber
And here is the announcement that you are looking for: http://feedproxy.google.com/~r/Neo4jBlog/~3/Q80BYTE2rnw/kiruna-stol-14-milestone-4.html Jim On 10 Jun 2011, at 07:58, Kiss, Miklós wrote: Great! I'm looking forward to test the new version. Hi Miklós, Batch updates through the REST

[Neo4j] How do I get the server plugin examples to work?

2011-06-10 Thread Boris Kizelshteyn
I have a running server v1.3, I would like to add the community examples as plugins: *$/neo4j-community-1.3/examples/java/server/examples/org/neo4j/examples/server/plugins$ ls DepthTwo.java GetAll.java ShortestPath.java* How do I do it? Many thanks!

Re: [Neo4j] unique indexes

2011-06-10 Thread Alexander Smirnov
Check befor update could not help there, because Neo4j does not show uncommited changes to other transactions, so it's possible to store the same value in concurrent transactions. I also tried to figure out how to avoid duplicated values in database. Seems that it needed some locks on database

[Neo4j] lucene index / shards

2011-06-10 Thread MyD
Is it possible to use the luncene indexing with neo4j sharding or can it be only used with neo4j embedded? Thanks in advance! Cheers, MyD ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] unique indexes

2011-06-10 Thread Rick Bullotta
Good point. Same would apply to relationship-based indexing, I suppose. In our use case, all of the entities that must be unique are maintained in a domain model that is managed by an in-memory hash, so we can enforce it prior to persistence. I suppose that one brute force way would be to

Re: [Neo4j] lucene index / shards

2011-06-10 Thread Michael Hunger
If you mean Neo4j-Server (and High Availability), yes, the indexing is available regardless it is part of the graph database infrastructure. Cheers Michael Am 10.06.2011 um 18:51 schrieb MyD: Is it possible to use the luncene indexing with neo4j sharding or can it be only used with neo4j

Re: [Neo4j] unique indexes

2011-06-10 Thread Michael Hunger
Another idea is a merge after the fact, so either in a nightly batch or during a get operation duplicates are discovered they are merged. Cheers Michael Am 10.06.2011 um 18:55 schrieb Rick Bullotta: Good point. Same would apply to relationship-based indexing, I suppose. In our use case,

[Neo4j] Does direction matter?

2011-06-10 Thread Aseem Kishore
If I have a relationship from node A to node B, does the direction I make the relationship matter? It doesn't seem to affect *what* I can do (e.g. regardless of the direction, I can retrieve that relationship from both A and B in queries, and I can retrieve both A and B from each other in a

Re: [Neo4j] Does direction matter?

2011-06-10 Thread McKinley
Aseem, Even though all relationships have a direction they are equally well traversed in both directions so there's no need to create duplicate relationships in the opposite direction (with regard to traversal or performance). http://api.neo4j.org/current/org/neo4j/graphdb/Relationship.html Use

Re: [Neo4j] Does direction matter?

2011-06-10 Thread Aseem Kishore
Thanks McKinley! For what it's worth, we use Neo4j only via the REST API, so I tend not to look at the Javadocs. It would be great to move some of this sort of documentation into a general Neo4j documentation area, since one would think to go to the Javadocs mainly only if they were using the

Re: [Neo4j] Building neo4jpy for JCC in windows

2011-06-10 Thread oguerrer
Has anyone been successful in installing the python bindings for JCC in windows? All the instructions indicate that it has been tested for Mac OS. I would use OS, however, the project that I am working on forces me to work in a windows machine. I would really appreciate your help because I am

Re: [Neo4j] unique indexes

2011-06-10 Thread yougotrooted
The only way I know of is to synchronize writes to the DB. This shouldn't be a problem for me actually, even with a cluster, since what I really need is for each node with a particular relationship to have a unique name property, like how good parents would ensure their children all have

Re: [Neo4j] unique indexes

2011-06-10 Thread Rick Bullotta
Not sure it applies, but also remember that the node id itself is essentially a unique key across the entire set of nodes. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of yougotroo...@gmail.com Sent: Friday, June 10, 2011 3:10 PM

Re: [Neo4j] unique indexes

2011-06-10 Thread yougotrooted
Right, I can leverage that. I could have a ConncurrentSkipListSetLong or something with the nodes unique Id in it. If I add() the nodes unique Id to the Set and it returns true, I know I can safely add children. If it returns false then I know another thread beat me to it, and I can requeue

Re: [Neo4j] How to combine both traversing and index queries?

2011-06-10 Thread McKinley
Mattias, Is this now possible as of today's milestone release? Thanks to you and the rest of the team for adding this! http://docs.neo4j.org/chunked/snapshot/query-start.html Every query describes a pattern, and in that pattern one can have *multiple bound points*. A bound point is a

[Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #3

2011-06-10 Thread Andreas Wilhelm
Hi, This week I did some documentation and add capability for spatial type queries with restriction and nested queries (still in the process). Best Regards Andreas ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] Is Neo4j's New Cypher Query Language Related to Gremlin?

2011-06-10 Thread Peter Neubauer
Marcelo, On Fri, Jun 10, 2011 at 9:39 PM, Marcelo Barbudas nos...@gmail.com wrote: No, It's not based on Gremlin a first experiment on lowering the learning curve to pattern searching for graphs. Feel free to give it a swing and report back! A couple more questions about cypher: * Is it

Re: [Neo4j] How do I get the server plugin examples to work?

2011-06-10 Thread Peter Neubauer
Boris, they are included and prepackaged in examples/java/server/lib/neo4j-server-examples-1.4.M04.jar so if you copy this file (source code packaged and at https://github.com/neo4j/community/tree/master/server-examples) into plugins/ and restart, you should see the plugins. Cheers, /peter

Re: [Neo4j] Recent Experience with RingoJS (Rhino) and Neo4j

2011-06-10 Thread Andreas Kollegger
Hey Michael, Very interesting stuff. I would certainly be interested in having you present at a Neo4j meetup in the bay area[1]. We're having our kick-offs later this month, one in San Francisco and another in the South Bay. What does the end of July look like for you? It'd be great to hear

Re: [Neo4j] lucene index / shards

2011-06-10 Thread MyD
Hi Michael, Thanks for your reply. If I understand you correctly that means with the neo4j-server (enterprise license) it is possible to use shards and build a distributed graph + use the lucene indexing for a node - am I right? I am wondering how the final scoring / ranking will be done for the

Re: [Neo4j] lucene index / shards

2011-06-10 Thread Michael Hunger
No, sorry. As of now Neo4j doesn't support sharding the graph. I just wanted to clarify what you were referring to. You might refer to this blog post with regard to cache sharding: http://jim.webber.name/2011/02/23/abe72f61-27fb-4c1b-8ce1-d0db7583497b.aspx Cheers Michael Am 11.06.2011 um