Re: [Neo4j] Feedback after evaluation

2011-12-08 Thread Dmytrii Nagirniak
On 09/12/2011, at 2:44 PM, Vivek Prahlad wrote: > I would like to point out that spork does actually work with JRuby. From > what I can see, guard and guard-spork are now supported with JRuby as well. Obviously, it doesn't. I don't even get to guard. And of course not with neo4j. This video shows

Re: [Neo4j] Cypher - variable length relationships that *aren't* of a type

2011-12-08 Thread Matt Luongo
Andrés, You are not the first one to run into this. "g" is an iterable of > relationships, and not a single relationship. Maybe we should make this a > valid query... > > Anyway, with Cypher as it works today, you have to do this: > START a = node(2) > MATCH p = (a -[g*0..5]->b) > WHERE ALL(r in

Re: [Neo4j] Feedback after evaluation

2011-12-08 Thread Vivek Prahlad
Hi Dmytrii, I would like to point out that spork does actually work with JRuby. From what I can see, guard and guard-spork are now supported with JRuby as well. Please take a look at the supported platform list here: https://github.com/guard/guard-spork and here: https://github.com/guard/guard He

Re: [Neo4j] Using AStar Algorithm with neo4j REST API

2011-12-08 Thread Israel Ekpo
Hi Jim, I was just wondering how I can query the REST API for the shortest path b/w 2 nodes using Astar instead of Dijkstra ___ NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register and consider posting at https://groups.google.

Re: [Neo4j] Using AStar Algorithm with neo4j REST API

2011-12-08 Thread Jim Webber
Hi Israel, Neo4j doesn't have an "in-memory" mode as you allude to - it's the same database whether you run it remotely or in your app (or container). Is your reasoning because the app itself has a large footprint such that it contends with Neo4j within the same process? Jim

[Neo4j] Using AStar Algorithm with neo4j REST API

2011-12-08 Thread Israel Ekpo
Hi All, I am new to neo4j and I really like it. I love the fact that I am able to use Astar for my search when running with org.neo4j.kernel.EmbeddedGraphDatabase in-memory. With A-star, I am able to use dynamic values in the computation of the shortest path at run time. The in-memory version i

Re: [Neo4j] Cypher - variable length relationships that *aren't* of a type

2011-12-08 Thread Andres Taylor
On Fri, Dec 9, 2011 at 12:12 AM, Matt Luongo wrote: > Hey everybody, > > I'm trying to write a query that returns a small subgraph around a type > system's sub-reference node, excluding relationships used to > define the in-graph type hierarchy. > > Eg, given a graph > > (0)-[:TYPE]->(1)-[:INSTAN

Re: [Neo4j] Feedback after evaluation

2011-12-08 Thread Dmytrii Nagirniak
On 09/12/2011, at 9:22 AM, Max De Marzi Jr. wrote: > Is HTTP as a protocol the problem? Maybe, it does have some advantages though. Yes. Definitely. There are always pros/cons for everything. > I think we all agree the REST API is not finished yet. > We talked last week about Batch operations

Re: [Neo4j] Feedback after evaluation

2011-12-08 Thread Dmytrii Nagirniak
On 09/12/2011, at 7:43 AM, Michael Hunger wrote: > What happens if your run the 1400 rpec tests several times? I don't get the point of running it several times. I need to run one/couple of spec as soon as possible and see the feedback. > Which older gems were problematic for you? It's not ab

Re: [Neo4j] Feedback after evaluation

2011-12-08 Thread Dmytrii Nagirniak
On 09/12/2011, at 8:15 AM, Andreas Ronge wrote: > Yes there is - nailgun. > Charles has already been involved in many of the problems that Dmytrii > had with JRuby. > For a good summery of Dmytrii's problem, check his twitter feed. > For RSpec JRuby performance and Charles response, see > https:/

[Neo4j] Cypher - variable length relationships that *aren't* of a type

2011-12-08 Thread Matt Luongo
Hey everybody, I'm trying to write a query that returns a small subgraph around a type system's sub-reference node, excluding relationships used to define the in-graph type hierarchy. Eg, given a graph (0)-[:TYPE]->(1)-[:INSTANCE]->(2)-[:SOMETYPE1]->(3) (2)-[:SOMETYPE2]->(4)-[:SOMETYPE5]->(5)-[:

Re: [Neo4j] Feedback after evaluation

2011-12-08 Thread Max De Marzi Jr.
Is HTTP as a protocol the problem? Maybe, it does have some advantages though. I think we all agree the REST API is not finished yet. We talked last week about Batch operations as a poor-man's replacement for Transactions and the concerns that brought up. I think the REST API will get there e

[Neo4j] [FOSDEM 2012-Graph Processing Room] Call for participations

2011-12-08 Thread Pere Urbón Bayes
Call for paper reminder, if you think on sending something, hurry up deadline coming soon: Important dates (all GMT+1): Submission deadline: 23-12-2011 Notification of accepted speakers: 28-12-2011 Publication of the final schedule: 4-01-2012 Meetup: 5 of February 2012, Brussels, Belgium. Co-loca

[Neo4j] TransactionDataImpl.deletedNodes not an ordered set

2011-12-08 Thread tcolar
Hi, We use the Neo4JCommitListener to synchronize some neo4j data back to a database. I have an issue when trying to deal with the delete events. I delete nodes in a particular order in neo4j (it's a nested set, so down-up ), but when getting the events in the commitListener the order is not res

Re: [Neo4j] Feedback after evaluation

2011-12-08 Thread Andreas Ronge
Yes there is - nailgun. Charles has already been involved in many of the problems that Dmytrii had with JRuby. For a good summery of Dmytrii's problem, check his twitter feed. For RSpec JRuby performance and Charles response, see https://gist.github.com/1423288 /Andreas On Thu, Dec 8, 2011 at 9:4

Re: [Neo4j] Feedback after evaluation

2011-12-08 Thread Michael Hunger
Isn't there something like the background jvm thingy that exists for groovy, scala and other languages? A server that the current process connects to, sends code over and runs it in the JVM? What happens if your run the 1400 rpec tests several times? Perhaps we should ask Charles Nutter for his

Re: [Neo4j] [neo4j] Running the web admin inside Tomcat

2011-12-08 Thread Peter Neubauer
Mmh, thanks for the feedback! This sounds like a note in the docs, or some example project setup to make sure this is documented somewhere. Care to set up a maven project with a testcase that we could pull into the main build system to avoid further problems? I would like to have a WAR based projec

Re: [Neo4j] Feedback after evaluation

2011-12-08 Thread Andreas Ronge
Hi Thanks for your great feedback ! The tooling support for JRuby has worked well for me and would probably still use JRuby even if there was a good native MRI neo4j wrapper. But I have a java background and might not be spoiled with that instant feedback loop of doing behaviour driven development

Re: [Neo4j] [neo4j] Running the web admin inside Tomcat

2011-12-08 Thread Ian Forsey
It's ok, I figured a work around for this. Maven was creating a WAR with the web admin JARs in WEB-INF/lib. If I instead extracted the web admin static JAR so the contents were directly in the WAR, it worked. I had to first tell maven not to package the JAR by specifying provided as the scope

Re: [Neo4j] TinkerPop Stack Release

2011-12-08 Thread Peter Neubauer
Thanks Marko, will try to get Gremlin 1.4 into Neo4j ASAP, hopefully after the weekend. Good work! 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

[Neo4j] TinkerPop Stack Release

2011-12-08 Thread Marko Rodriguez
Hello, Yesterday TinkerPop did another stable release. This release depends on Neo4j 1.5. Here are the notes for those that are interested: New homepage design: http://tinkerpop.com Blueprints 1.1 (Blueberry): https://github.com/tinkerpop/blueprints/wiki/Release-

Re: [Neo4j] Neo4jClient - Query optmised

2011-12-08 Thread Marko Rodriguez
Nice! BTW: Great work on the Neo4j .Net Client. Marko. http://markorodriguez.com On Dec 7, 2011, at 9:14 PM, Romiko Derbynew wrote: > Finally thanks to Peter and Marko, the .Net Neo4jClient code has been > optimised to use short hand version of in('') and out(''). > ChangeSet is http://hg.re

[Neo4j] [neo4j] Running the web admin inside Tomcat

2011-12-08 Thread Ian Forsey
Is anybody using the neo4j webadmin in embedded mode via the WrappingNeoServerBootstrapper in Tomcat 6? I have it successfully running within jetty and I just tried deploying to Tomcat. The web admin loads up sometimes in tomcat, but if I keep refreshing I get the following errors about half of th

Re: [Neo4j] Graph algorithms

2011-12-08 Thread Michael Hunger
I recently saw the apache commons graph library but haven't looked into that. http://commons.apache.org/sandbox/graph/ Probably just missing a neo4j adaptor. Cheers, Michael Am 08.12.2011 um 13:54 schrieb Prajakta Kalmegh: > I was searching for community/cluster detection or maybe finding bet

Re: [Neo4j] Facetted search in neo4j

2011-12-08 Thread Rick Bullotta
Hi, Nils. We've implemented something like this here at ThingWorx, but we had to do so at a layer above Neo4J since there, of course, were no built-in faceting capabilities. One of the major challenges we faced was the "opaque" connection from the Neo4J API to the underlying Lucene engine. The

Re: [Neo4j] Graph algorithms

2011-12-08 Thread Prajakta Kalmegh
I was searching for community/cluster detection or maybe finding betweenness centrality support. Is it there already? Can you please point me to classes which I can use in writing my own code for the same. -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Gr

Re: [Neo4j] println and Table Projections

2011-12-08 Thread Peter Neubauer
Started to set it up here: https://github.com/neo4j/gremlin-plugin/issues/5 Feel free to add stuff to it. Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter      http://twitter.com/peter

[Neo4j] Facetted search in neo4j

2011-12-08 Thread Nils Kaiser
Hi, I'm new to neo4j and graph databases and currently experimenting with a video sharing application. One thing I don't see mention on the neo4j list a lot is facetted search. Is it because it is trivial to implement using graphs? I've used solr before, where I can return both search results

Re: [Neo4j] Neo4jClient - Query optmised

2011-12-08 Thread Peter Neubauer
nice, thanks! Will prepare the testcases for the other case you were asking about. 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 brew install n

Re: [Neo4j] Cypher <3 Trees

2011-12-08 Thread Andres Taylor
On Thu, Dec 8, 2011 at 10:32 AM, Rickard Öberg < rickard.ob...@neotechnology.com> wrote: > Ok, so with: > >> start ou=node(1234) > >> match (ou)-[:CHILD_OU*0..100]->(child_ou)<-[:OWNER]-(case) > >> where case.status = "CLOSED" > >> return avg(case.completionTime) > > that would give me what I

Re: [Neo4j] Cypher <3 Trees

2011-12-08 Thread Rickard Öberg
On 12/8/11 17:19 , Andres Taylor wrote: >> I'm guessing something like this: >> start ou=node(1234) >> match (ou)-[:CHILD_OU*..100]->(child_ou)<-[:OWNER]-(case) >> where case.status = "CLOSED" >> return avg(case.completionTime) >> >> Question is, will the OU itself be included? Or does this imply t

Re: [Neo4j] I need help with this cypher query

2011-12-08 Thread Andres Taylor
On Thu, Dec 8, 2011 at 12:49 AM, Michael Hunger < michael.hun...@neotechnology.com> wrote: > start shop=node(123), me=node(321) > match shop-[:sell]->item<-[:like]-user,item<-[r1?:like]-me > where r1 is null > return item > > the missing part was the optional relationship for r1, which allows it

Re: [Neo4j] Cypher <3 Trees

2011-12-08 Thread Andres Taylor
On Thu, Dec 8, 2011 at 9:56 AM, Rickard Öberg < rickard.ob...@neotechnology.com> wrote: > Here's a problem I had recently: I have an organizational structure > defined as a tree. On each level there might be cases assigned for > completion. > > Given a OU I want to find all OU's that has the given

Re: [Neo4j] Cypher <3 Trees

2011-12-08 Thread Rickard Öberg
On 12/7/11 21:53 , Andres Taylor wrote: > A subset of the graphs are trees, and they have a few problems that are > specific for them. I'm right now planning what needs to be added to Cypher > to make it play nice with your tree structures. > > I'd love to know if you have hierarchical data, and wh

[Neo4j] Feedback after evaluation

2011-12-08 Thread Dmytrii Nagirniak
Hi Guys, Just want to quickly give some feedback on the neo4j after some evaluation. Overall, I like the neo4j a lot, but have decided not to use it. Probably the primary reason is the tooling around Ruby. Don't get me wrong. The neo4j.rb is just amazing. It really is. I even contributed couple

Re: [Neo4j] Cypher <3 Trees

2011-12-08 Thread cporte
Hello, We're building an application using mainly tree, more then real graphs, but with sometimes some specific relationships between nodes of different trees. We're kind of trying to use Neo4j for extended OLAP things (like including an external dimension (i.e. a tree) inside another dimension (i

Re: [Neo4j] Graph algorithms

2011-12-08 Thread Andres Taylor
On Tue, Dec 6, 2011 at 11:23 AM, ajinkyar wrote: > Although this is a graph based db, why is the range of graph algorithms in > GraphAlgoFactory so narrow currently ? Is there a focus on this aspect in > future releases ? Is there anything in particular you are missing? Andrés