Re: [Neo4j] Neo Distributions Including Source

2011-06-18 Thread Michael Hunger
Also, Jim just pointed you to the top-level metadata directory in maven: An example for a lower level one, that actually contains the sources is: http://m2.neo4j.org/org/neo4j/neo4j-kernel/1.4-SNAPSHOT/ The milestones and releases are on maven-central (including the sources - btw. if you set

Re: [Neo4j] Neo Distributions Including Source

2011-06-18 Thread Anders Nawroth
Hi! You can get the sources from github as zip/tarballs. Just use: https://github.com/neo4j/community/zipball/1.4.M04 and similar. The tags contain the exact source the release was built from. /anders 2011-06-18 18:11, Rick Bullotta skrev: > I think I asked this before, but can the Neo team p

Re: [Neo4j] Choosing frontend language with neo4j as backend

2011-06-18 Thread Josh Adell
Hey Manav, There is a PHP REST client available on github at https://github.com/jakewins/Neo4j.php . I'm also in the process of building my own at https://github.com/jadell/Neo4jPHP, though that one is not ready for production yet. All-in-all, I've found the REST API very responsive and easy to

Re: [Neo4j] Can I model a Graph data structure without persisting it in DB using Neo4j ?

2011-06-18 Thread Michael Hunger
Right now this works only with the getElements().add method. But then you don't get all the graph methods (traversals and such). We discussed some time ago writing a virtual graph layer on top of the real nodes and relationships for SDG. (That should be then used to have a simpler handling of at

Re: [Neo4j] Generating suggestions in a Neo4j db

2011-06-18 Thread Andres Taylor
Are you referring to what the implementation looks like? This is the source. I haven't grokked it yet, so I can't give you a TL;DR;, sorry. https://github.com/neo4j/community/tree/master/graph-matching Cypher allows you to do graph-matching (internally, it uses the above module), but adds a few m

Re: [Neo4j] Generating suggestions in a Neo4j db

2011-06-18 Thread Aman
Jim, I was going through Cypher and a question came into my mind regarding pattern matching... How is pattern matching done in neo4j? I mean, how are nodes and relationships matched in case of large data-sets? On 6/18/11, Aman wrote: > Jim, > Thanks for the valuable input... The use case I mentio

Re: [Neo4j] Generating suggestions in a Neo4j db

2011-06-18 Thread Aman
Jim, Thanks for the valuable input... The use case I mentioned here (using only visited places) was a simplistic version of the real one, because, just as you said, I'd be getting large number of results in that case... I'd check out pattern matching and Cypher to ease me in my project... Neo4j tea

Re: [Neo4j] Choosing frontend language with neo4j as backend

2011-06-18 Thread Jim Webber
Hello Manav, > Thanks for the reply. Can u elaborate more on how much slow is this > Rest api so that I can get the idea of how to manage my traversals and > interactions. The cost per interaction is the network cost + transaction cost. You can make this super expensive by, for example, cre

Re: [Neo4j] Neo Distributions Including Source

2011-06-18 Thread Rick Bullotta
Awesome! Thanks. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Jim Webber Sent: Saturday, June 18, 2011 12:48 PM To: Neo4j user discussions Subject: Re: [Neo4j] Neo Distributions Including Source Gah! That Maven stuff gets ever

Re: [Neo4j] Neo Distributions Including Source

2011-06-18 Thread Jim Webber
Gah! That Maven stuff gets everywhere. It's like treading in dog poop. Actually no, it's worse than that. OK, I'll add to our build backlog that we will emit binary and source + binary editions per numbered build (the sensible way of publishing every green build we get, quite unlike that silly

Re: [Neo4j] Neo Distributions Including Source

2011-06-18 Thread Rick Bullotta
Also, no actual source is in those jars. Just Maven stuff. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Jim Webber Sent: Saturday, June 18, 2011 12:20 PM To: Neo4j user discussions Subject: Re: [Neo4j] Neo Distributions Includin

Re: [Neo4j] Choosing frontend language with neo4j as backend

2011-06-18 Thread Manav Goel
Hey Thanks for the reply. Can u elaborate more on how much slow is this Rest api so that I can get the idea of how to manage my traversals and interactions. Moreover using javascript will there be any security issues? I checked out groovy after suggestion of Marko.It looks gud. So groovy can

Re: [Neo4j] Neo Distributions Including Source

2011-06-18 Thread Rick Bullotta
Hi, Jim. It would, if they were for the released and milestone builds. ;-) I think those are snapshots from the automatic nightly builds. Rick -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Jim Webber Sent: Saturday, June 18, 20

Re: [Neo4j] Neo Distributions Including Source

2011-06-18 Thread Jim Webber
Hi Rick, I can see a bunch of source jars in the Neo maven repository: http://m2.neo4j.org/org/neo4j/neo4j/1.4-SNAPSHOT/ Does that help? Jim PS - We're doing some internal build work to try to rid ourselves of our *internal* dependency on Maven. Once that's done, a better build world will op

[Neo4j] Neo Distributions Including Source

2011-06-18 Thread Rick Bullotta
I think I asked this before, but can the Neo team provide builds with the appropriate source included in the distribution? Two main reasons: 1) Don't want/need to have Git stuff installed 2) Want to make sure the source associated with a specific Neo build is the exact source used t

Re: [Neo4j] Choosing frontend language with neo4j as backend

2011-06-18 Thread Jim Webber
Hi Manav, Although the REST API isn't as flexible as the native JVM API, it's still suitable for large projects. You just have to be even more careful about your design. This means it is suitable for PHP, and I've seen the a lot of PHP activity on the neo4j twitter stream in the last few days.

Re: [Neo4j] Auto Indexing for Neo4j

2011-06-18 Thread Craig Taverner
I am using only one relationship type in my index tree, and made traversal decisions based on properties of the tree nodes, but have considered an 'optimization' based on embedding the index keys into the relationship types, which I think is what you did. However, I am not convinced it will work we

Re: [Neo4j] Choosing frontend language with neo4j as backend

2011-06-18 Thread Marko Rodriguez
Hi Manav, You may want to consider Groovy (http://groovy.codehaus.org/). Why? 1. It is an easy to learn scripting language with constructs nearly analogous to Ruby. 2. It is a superset of Java so you can do Java programming if you wish. 3. You can use it as a REPL or thro

[Neo4j] Choosing frontend language with neo4j as backend

2011-06-18 Thread Manav Goel
Hi I am working on neo4j for past 2 months and found it everything which I needed. But the problem coming is integrating it with php.I was looking into php-java bridge and it looks a headache. Python binding of neo4j are old and there is not much on net to work with it. My teammates dont wan

Re: [Neo4j] Generating suggestions in a Neo4j db

2011-06-18 Thread Jim Webber
That's a great point. In Neo4j you can add properties to your relationships so that: Jim --VISITED (numberOfTimes: 20) --> Melbourne Then you can use the "numberOfTimes" property to determine whether or not you'd like to include the person/city in the recommendations you're making. In this cas

Re: [Neo4j] Generating suggestions in a Neo4j db

2011-06-18 Thread Jim Webber
Hi Aman, This is the classic friends-of-friends problem recast as friends-of-places. The hard thing about places (as opposed to most normal friends) is that they tend to be popular. While I might only reach hundreds of friends-of-friends (if I'm lucky!), being recommended people that have visit

Re: [Neo4j] User Digest, Vol 51, Issue 110

2011-06-18 Thread Mattias Persson
Sorry, disregard my question, I read your example in another mail now. 2011/6/18 Mattias Persson > Have you got any use case where this would be a necessary thing to have and > where the current model wouldn't suffice? Just curious. > > 2011/6/17 Aniceto Pérez y Madrid > >> I agree,a Node is so

Re: [Neo4j] Integer cost property

2011-06-18 Thread Mattias Persson
Yes a more robust solution would be to cast to a Number: return ((Number)relationship.getProperty( costpropertyName )).doubleValue(); I'm assuming that's what you meant in the first place, no? 2011/6/18 Jim Webber > Hi Josh, > > I'm just wiring up a bunch of code that implements REST pagin

Re: [Neo4j] User Digest, Vol 51, Issue 110

2011-06-18 Thread Mattias Persson
Have you got any use case where this would be a necessary thing to have and where the current model wouldn't suffice? Just curious. 2011/6/17 Aniceto Pérez y Madrid > I agree,a Node is something that has 2 (user managed) fields: > Relationship[] > Property[] > > and a Relationship is something t

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

2011-06-18 Thread Andreas Wilhelm
Hi, This week I implemented basic insert and delete capability for Neo4j Spatial type functions, added ST_GeomFromText as a new spatial function and at the moment I prepare everything to be able to commit it to the main repository of Neo4j Spatial, this means testing, documentation, etc... Bes