Re: [Neo4j] Different build errors

2011-03-07 Thread Anders Nawroth
Hi! 2011-03-08 00:13, Nolan Darilek: > Now I'm getting errors resolving org.neo4j.neo4j-spatial 0.5-SNAPSHOT. > Is it not published to the snapshots repository? It's here: http://m2.neo4j.org/snapshots/org/neo4j/neo4j-spatial/0.5-SNAPSHOT/ (and BTW here as well: http://m2.neo4j.org/org/neo4j/neo

Re: [Neo4j] Batch Insertion, how to index relationships?

2011-03-07 Thread Mattias Persson
2011/3/8 Craig Taverner > > > > I think you'll have to add a dummy key/value to each relationship, like > > "exists"/"true" or whatever. The overhead for that is insignificant and > > once > > relationships are indexed with whatever key/value they can be queried > with > > those additional start/

Re: [Neo4j] Batch Insertion, how to index relationships?

2011-03-07 Thread Craig Taverner
> > I think you'll have to add a dummy key/value to each relationship, like > "exists"/"true" or whatever. The overhead for that is insignificant and > once > relationships are indexed with whatever key/value they can be queried with > those additional start/end node. > And I believe you can index

Re: [Neo4j] Batch Insertion, how to index relationships?

2011-03-07 Thread Mattias Persson
> Thanks ;) > > Just one more question about this, what if you want to index a relationship > not by any property but only by > the nodes involved? > I've seen than once the relationship has been indexed, you can query the > index with start/end node parameters; but > how can I index it in the case

[Neo4j] Fwd: Newbie - Starter Questions

2011-03-07 Thread Neal Walters
I got Neo4j V1.2 installed and running on Win 7. Yea! I was able to access the admin pages and run some sample CURL commands to verify the installation with http://localhost:7474. Questions: 1) So now, I have one database that I might want to continue to play with. How do I create the second da

Re: [Neo4j] Different build errors

2011-03-07 Thread Nolan Darilek
On 03/05/2011 12:50 PM, Andreas Kollegger wrote: > Did `sbt update` fail? Yes, actually, it just did for me. I just blew away my ~/.ivy2, my ~/.m2 and tried again, getting the update failures. Adding the JBoss repository helps. Now I'm getting errors resolving org.neo4j.neo4j-spatial 0.5-SNAPSH

Re: [Neo4j] limiting results

2011-03-07 Thread Marko Rodriguez
Hi, > In order to get a random node you'd need to know the full result set. > Alternatively you can make your traverser go in random directions and that > way get a random result set. Not necessarily. If, by chance, you know how many vertices you will be returning, you can using a sampling appro

Re: [Neo4j] limiting results

2011-03-07 Thread David Montag
Charlie, As Michael duly pointed out, the traverser is a lazy iterator, so you can simply just pull the first N results from it. In order to get a random node you'd need to know the full result set. Alternatively you can make your traverser go in random directions and that way get a random result

Re: [Neo4j] limiting results

2011-03-07 Thread Michael Hunger
As the traverser returns its results lazily you can just stop after N nodes (for embedded mode). If you talking REST-server there is currently no such limitation but REST improvements are worked on. You can easily write your own server plugin or addon that does this, though. Cheers Michael A

Re: [Neo4j] limiting results

2011-03-07 Thread Max De Marzi Jr.
I believe you can tie in to returnedNodesCount() http://components.neo4j.org/neo4j-examples/1.3.M02/apidocs/index.html?org/neo4j/graphdb/StopEvaluator.html @neo.traverse(school,"nodes", {"order" => "breadth first", "uniqueness" => "node global",

[Neo4j] limiting results

2011-03-07 Thread charlie
Is there a way to limit the number of results that are returned from a traverse? I have a traversal that returns thousands of nodes. Ideally I would like to get either a random set of those nodes, failing that I would be happy with the the first N nodes. Charlie White Avvo, Inc. 1218 Third

Re: [Neo4j] Load last 10 created nodes from neo4j

2011-03-07 Thread Michael Hunger
You can also create an extensions that you call instead the normal rest-call. So you can track of the last 10 of each in the extension. Another possibility would just be a filter in front of the create - node and create - relationship calls and keep the information accessable from the filter. C

Re: [Neo4j] Load last 10 created nodes from neo4j

2011-03-07 Thread mike_t
Thanks mattias for your reply. If I keep a linked list on the webserver for the last created nodes I have a problem when I add a second server. I have to keep the server synchronized. I wanna avoid keeping db-data on a webserver BTW: Im using the neo4j REST server. -- View this message in context

Re: [Neo4j] Big index solutions?

2011-03-07 Thread Peter Neubauer
Paul, thanks for the info! I am down to the same, BerkeleyDB or JDBM. Currently I am trying to get one of the BDB team to config the index with me, so I can have some real impression of the performance (I am just not able to tweak things right) Meanwhile - is there anyone out there with a good kno

Re: [Neo4j] Performance expectations for Neo4j.

2011-03-07 Thread David Montag
Bård, Great to hear you're evaluating us for your solution. I have a couple of questions. First, how much RAM do you have in the machine, and how much heap are you allocating for the Java process? Peter's question about running it multiple times is also very relevant. Secondly, I'd like to under

Re: [Neo4j] Performance expectations for Neo4j.

2011-03-07 Thread Peter Neubauer
Bård, have you tried running the test multiple times? Given the amount of data, neo4j should be able to serve this entirely from memory after a couple of runs, so you should get fast numbers with repeated Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +

[Neo4j] Performance expectations for Neo4j.

2011-03-07 Thread Bård Lind
Hi! First really good work you are doing on the Neo4J project! Really appreciate the good level of documentation as well! Currently I'm running a POC for validating if we can use Graph and Neo4J when we want to filter/ACL user-access to resources. Our concept is much like your example here http:/

Re: [Neo4j] How to copy a complete database?

2011-03-07 Thread Balazs E. Pataki
Oh, OK, thanks for the clarification. In the meantime I played with the propstat tool and shows in my case 50% reduction in DB size (and will probably show a lot in performance). Very promising ... ;-) --- balazs On 3/7/11 3:19 PM, Tobias Ivarsson wrote: > That class is in Neo4j kernel. It is t

Re: [Neo4j] How to copy a complete database?

2011-03-07 Thread Tobias Ivarsson
That class is in Neo4j kernel. It is the actual implementation class. You can find the source code here: https://github.com/neo4j/graphdb/blob/master/kernel/src/main/java/org/neo4j/kernel/impl/nioneo/store/ShortString.java All of the classes in the org.neo4j.kernel.impl.nioneo.store package of my

Re: [Neo4j] How to copy a complete database?

2011-03-07 Thread Balazs E. Pataki
Hi Tobias, I tried to use ShortStringEncoding.java, however it seems to refer to a class called ShortString, which is not available in github: https://github.com/thobe/neo4j-admin-store/tree/master/src/main/java/org/neo4j/kernel/impl/nioneo/store Could you also please provide it? Thanks, --- b

Re: [Neo4j] Neoclipse Wish List

2011-03-07 Thread Anders Nawroth
Hi! On 03/07/2011 10:17 AM, Craig Taverner wrote: >> >>> But as far as I know there is not filter on properties of nodes or >>> relationships. Should be easy to add though. >> >> How would you like that to look? >> > > Perhaps this could use the REST API traversal syntax also? Just what I thought

Re: [Neo4j] Batch Insertion, how to index relationships?

2011-03-07 Thread Pablo Pareja
Hi, I don't want to bother anyone but could you provide us with further information about this ? Cheers, Pablo Pareja On Wed, Mar 2, 2011 at 6:32 PM, José Devezas wrote: > Hello, > > I'd also like to know more about this. I want to keep an edge weight > representing how many times A links to B,

Re: [Neo4j] Neoclipse Wish List

2011-03-07 Thread Craig Taverner
> > > But as far as I know there is not filter on properties of nodes or > > relationships. Should be easy to add though. > > How would you like that to look? > Perhaps this could use the REST API traversal syntax also? > - List of existing lucene indices available to query > > The new search