Re: [Neo] Cost limit option in Dijkstra Algorithm

2010-01-26 Thread Peter Neubauer
Nabeel, you are right, this is not going to work. I am prepared to take out the cost evaluation again since I don't want to have non-working code in there, and have no time to figure this out right now. Is that ok with you, or would you like to figure out a better place to put the cost evaluation,

Re: [Neo] Neo transactions

2010-01-26 Thread Johan Svensson
Hi, This sounds like a scala wrapper issue. Short lived write transactions together with long lived reads should be no problem. By default no locks are taken during reads instead each read operation behaves as if it took a snapshot of the graph (committed state) at point of invocation. So to answ

Re: [Neo] Lucene full text indexing service: searching multiple node keys

2010-01-26 Thread Jonny Wray
Well yes, compass provides search capabilities on top of a large number of other projects (Hibernate, JPA, XML, JSON etc) and also provides integration with a number of distributed cache implementations. As such the dependencies are required to build compass, However, if you aren't using those spe

Re: [Neo] Sharding

2010-01-26 Thread Rick Whitesel (rwhitese)
Hi: The corner stone of this data will be an identity to which we will want to associate information about that identity. The problem is sometimes we want to see what is related to the identity and other times we want to see what identities are related to some identity attribute, kind of Linked

Re: [Neo] Lucene full text indexing service: searching multiple node keys

2010-01-26 Thread Rick Bullotta
I took a quick look at Compass, and it looked really interesting and promising, until I dl'd the distribution with dependencies - seems like every single open source Java project is included as a dependency/JAR library... :( -Original Message- From: user-boun...@lists.neo4j.org [mailto:us

Re: [Neo] Sharding

2010-01-26 Thread Emil Eifrem
On Tue, Jan 26, 2010 at 20:32, Rick Whitesel (rwhitese) wrote: > Hi: > > Potentially stupid questions follow: In looking at how to add sharding > to Neo4j, I was wondering if it made any sense to put Neo4j on top of > Cassandra or maybe a distributed BTree+ system? I love the relationship > modeli

Re: [Neo] Possible causes for: org.apache.lucene.index.MergePolicy$MergeException

2010-01-26 Thread Symeon (Akis) Papadopoulos
Mattias Persson wrote: > Ah, do you make sure you call IndexHits#close() on your results from > getNodes(), alternatively iterating over the whole result (in which > case it's automatically closed)? > Actually I'm calling the getSingleNode, thus I have no access on the IndexHits object. > See

[Neo] Sharding

2010-01-26 Thread Rick Whitesel (rwhitese)
Hi: Potentially stupid questions follow: In looking at how to add sharding to Neo4j, I was wondering if it made any sense to put Neo4j on top of Cassandra or maybe a distributed BTree+ system? I love the relationship modeling in Neo4j but I need the scalability of sharding; preferable not done

Re: [Neo] Lucene full text indexing service: searching multiple node keys

2010-01-26 Thread Jonny Wray
Yeah, it worked pretty well. I'd used compass in a more normal situation (RDMBS and Hibernate) and my experience with it took me that direction. It's a very nice project. I'll dig the code out and look, but I have a feeling I could be embarrassed by it - it was very much a prototype. Jonny On Mo

Re: [Neo] Possible causes for: org.apache.lucene.index.MergePolicy$MergeException

2010-01-26 Thread Mattias Persson
Ah, do you make sure you call IndexHits#close() on your results from getNodes(), alternatively iterating over the whole result (in which case it's automatically closed)? See more information at http://components.neo4j.org/neo4j-index/apidocs/index.html Are you using the "index" component btw (art

[Neo] Possible causes for: org.apache.lucene.index.MergePolicy$MergeException

2010-01-26 Thread Symeon (Akis) Papadopoulos
Hi all While populating a Neo graph, I got the attached exception (org.apache.lucene.index.MergePolicy$MergeException. See file for details: I replaced a local path with [some-local-path]). My setup is like this: I want to benchmark Neo4j for some operations, amongst which is graph loading. So

[Neo] Neo transactions

2010-01-26 Thread Tim Langley
hi guys and girls I'm currently running Neo as a web-service - exposed through a SCALA based REST API The web service essentially does two tasks a) transactional - allowing the creation and modification of nodes - these require read write locks but each one is relatively short in duration b)

Re: [Neo] Cost limit option in Dijkstra Algorithm

2010-01-26 Thread Mattias Persson
Well noticed... Peter, will you have a look? 2010/1/26 Nabeel Siddiqui : > Hi all > Thanks Peter for adding a cost limit option to the Dijkstra algorithm in the > graph algo package. However for some reason I could not make it to work as I > expected. > I see you have added some tests in FindPat

[Neo] Cost limit option in Dijkstra Algorithm

2010-01-26 Thread Nabeel Siddiqui
Hi all Thanks Peter for adding a cost limit option to the Dijkstra algorithm in the graph algo package. However for some reason I could not make it to work as I expected. I see you have added some tests in FindPathTest#testMaxCost method (which is given below): public void testMaxCost()

Re: [Neo] Lucene full text indexing service: searching multiple node keys

2010-01-26 Thread Mattias Persson
Yep very nice, maybe we could see if it could be a good "core" component of neo4j. So if someone feels like writing a CompassIndexService and see how it works out it's totally fine by me :) 2010/1/26 Peter Neubauer : > Hi Jonny, > sounds like compass could be a good component integration to add. D