Re: [Neo4j] regarding supernode

2011-09-09 Thread Peter Neubauer
Linan, I think your example would be great for doing a JUnit test showing this. Niels, could you do that, plz? In that case, I can add a graph and exaplanations to it. /peter On Thu, Sep 8, 2011 at 11:25 PM, Linan Wang tali.w...@gmail.com wrote: On Wed, Sep 7, 2011 at 5:21 PM, Linan Wang

Re: [Neo4j] Blocking access to the Neo4j web admin interface

2011-09-09 Thread Peter Neubauer
Thanks, on it! Will add a setting in the config files, too. 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] regarding supernode

2011-09-09 Thread Linan Wang
how about i put the codes onto github and you guys can comment and modify it. then include the project as a sample? On Fri, Sep 9, 2011 at 8:58 AM, Peter Neubauer pe...@neubauer.se wrote: Linan, I think your example would be great for doing a JUnit test showing this. Niels, could you do that,

[Neo4j] Neoclipse start question

2011-09-09 Thread Vinicius Carvalho
Hi. I'm just starting with neo4j, doing some pocs and investigation. I'm using spring data to persist my data. And so far I was able to both persist and load data from the db (from my unit tests anyway) I've added a few nodes (250) and also created some relations. But, when opening the

Re: [Neo4j] Neo4j-Base sometimes falls

2011-09-09 Thread sometime
again the same error... any idea? -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Base-sometimes-falls-tp3310617p3322576.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.

Re: [Neo4j] Neoclipse start question

2011-09-09 Thread Michael Hunger
Spring Data Graph stores the type information in the graph. The default is to use indexes to store this information, but it can also be stored as type-nodes with relationships to all instances. The current neoclipse supports index lookups, so please try the following: the index name is:

Re: [Neo4j] Neo4j-Base sometimes falls

2011-09-09 Thread Michael Hunger
Could you share the content of the mesages.log file in the database directory ? Also do you sometimes kill the neo4j instance abruptly with kill -9 or similar ? That can cause corruptions of some lucene files ? Thanks Michael Am 09.09.2011 um 13:07 schrieb sometime: again the same error...

Re: [Neo4j] Neo4j Write Test Compile Error

2011-09-09 Thread Peter Neubauer
james, if you find that code useful, maybe we could bring it to GIThub. since SVN is retired ... 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

Re: [Neo4j] Neo4j-Base sometimes falls

2011-09-09 Thread sometime
http://www.donskov.net/messages.rar 103 KB yesterday, 23.01 backup is not created and there is an error Error when server writing response java.io.FileNotFoundException: /home/sometime/neo4j-enterprise-1.4.1/data/graph.db/index/lucene/node/WMC_Users/_qiug.cfs (No such file or directory) and now

Re: [Neo4j] regarding supernode

2011-09-09 Thread Peter Neubauer
That sounds perfect! Just make a fork on the graph-collections and let us know when it is in! 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

Re: [Neo4j] regarding supernode

2011-09-09 Thread Niels Hoogeveen
Peter, I'd gladly put out a piece of code demonstrating the use of IndexRelationships, using this LIVES_IN example. Though I get the impression the question here relates to the normal relationship index. However when supernodes (still don't like that term for densely connected nodes) come

Re: [Neo4j] Neoclipse start question

2011-09-09 Thread Vinicius Carvalho
Danke Michael, That solved the problem. Glad that I can see my graph now. Regards On Fri, Sep 9, 2011 at 12:16 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Spring Data Graph stores the type information in the graph. The default is to use indexes to store this information, but

Re: [Neo4j] Neoclipse start question

2011-09-09 Thread Anders Nawroth
Hi! Use Search mode: Query with the value: * and I think you'll see all types listed. (index name + key like Michael wrote) /anders 2011-09-09 14:32, Vinicius Carvalho skrev: Danke Michael, That solved the problem. Glad that I can see my graph now. Regards On Fri, Sep 9, 2011 at 12:16

[Neo4j] TransactionFailureException

2011-09-09 Thread skarab77
Hi, I have the following problem: when my program crash in the middle of the transaction, I am not able to start my neo4j embedded store again. I get the following exception. Exception in thread main org.neo4j.graphdb.TransactionFailureException: Unable to start TM, no active tx log file

[Neo4j] neo4j-spatial: geotools maven repo problem

2011-09-09 Thread Axel Morgner
Hi, today maven could not download dependencies for neo4j-spatial. It seemed that the repo repository idosgeo/id nameOpen Source Geospatial Foundation Repository/name urlhttp://download.osgeo.org/webdav/geotools//url /repository

Re: [Neo4j] neo4j-scala improvements

2011-09-09 Thread Peter Neubauer
Very cool Christopher! We are testing to pull in some of the bindings for Neo4j into the manual - would it be possible, when things stabilize, to pull in the Scala bindings to the Neo4j repo. build them and start documenting some test cases so we can put them into there, too? Cheers, /peter

Re: [Neo4j] BatchInserter vs. BatchInserter.getGraphDbService()

2011-09-09 Thread Peter Neubauer
Marko, in principle, you can without much overhead. Be aware that you will run into problems, since some operations are not implemented (like indexing), and some that could be implemented (like change properties) are not, either. So, try it out, but remember - you have push rights to the repo, so

Re: [Neo4j] neo4j-spatial: geotools maven repo problem

2011-09-09 Thread Anders Nawroth
Hi! According to this: http://geotoolsnews.blogspot.com/2010/09/geotools-maven-repository-reminder.html the new one should be for snapshots, but there's some releases in there as well. Need to taker a deeper look ... /anders 2011-09-09 14:52, Axel Morgner skrev: Hi, today maven could not

Re: [Neo4j] except CypherParser have any other methods for paging query ?

2011-09-09 Thread Peter Neubauer
Yuanlong, what is Webbench you are using? Is your graph warm in the caches? You are right that paging in Cypher is not implemented - you are issuing a new query every time. However, what is the timing you are experiencing if you do the query, but only return the first 10 results? Cheers, /peter

Re: [Neo4j] chain TraversalDescription?

2011-09-09 Thread Marko Rodriguez
Hi, I would do this using Gremlin as such: g.v(1).out('read').in('wrote').uniqueObject.out('pet').name If you are vertex 1 (g.v(1)), then you will go to the books you read, then to the authors of those books, then because you might have read two Stephen King

[Neo4j] Neo4j Write Performance

2011-09-09 Thread espeed
Hi Guys - I have been working on loading WordNet (http://wordnet.princeton.edu/) into Neo4j, and have been using it as an opportunity to tune write performance on Linux for a Web application I am developing. My initial idea was to load WordNet RDF (http://semanticweb.cs.vu.nl/lod/wn30/) through

[Neo4j] Gremlin pipes broken in 1.5

2011-09-09 Thread Xavier Shay
Hello, I have just upgraded to neo4j 1.5 (brew install neo4j --HEAD) and am getting the following exception whenever I try to use a pipe: curl -H Accept:application/json -X POST -d '{script:g.v(1)._().both;}' -H Content-Type:application/json

Re: [Neo4j] Gremlin pipes broken in 1.5

2011-09-09 Thread Marko Rodriguez
Hi, This error seems to be an issue with depedencies. Are you using an TinkerPop dependency/s in your project. I believe Neo4j 1.5.M01 is depending on Blueprints 0.9 which does have the getInEdges(String...) method (similarly for getOutEdges(). Perhaps you are depending on Blueprints 0.8

Re: [Neo4j] Gremlin pipes broken in 1.5

2011-09-09 Thread espeed
Xavier Shay wrote: I have just upgraded to neo4j 1.5 (brew install neo4j --HEAD) and am getting the following exception whenever I try to use a pipe: curl -H Accept:application/json -X POST -d '{script:g.v(1)._().both;}' Hi Xavier - Gremlin and Pipes has been undergoing a massive

Re: [Neo4j] Gremlin pipes broken in 1.5

2011-09-09 Thread Peter Neubauer
Yup, Don't upgrade dependencies right now before Gremlin 1.3 is out and can be tested with the Neo4j QA. /peter Sent from my phone. On Sep 9, 2011 9:39 PM, espeed ja...@jamesthornton.com wrote: Xavier Shay wrote: I have just upgraded to neo4j 1.5 (brew install neo4j --HEAD) and am getting

Re: [Neo4j] Gremlin pipes broken in 1.5

2011-09-09 Thread Xavier Shay
On Fri, Sep 9, 2011 at 12:39 PM, Marko Rodriguez okramma...@gmail.comwrote: Hi, This error seems to be an issue with depedencies. Are you using an TinkerPop dependency/s in your project. I believe Neo4j 1.5.M01 is depending on Blueprints 0.9 which does have the getInEdges(String...) method

Re: [Neo4j] Gremlin pipes broken in 1.5

2011-09-09 Thread Peter Neubauer
Xavier, this can well be a packaging problem. Could you try with 1.5.M01? The dependency problem is fixed, but we are fighting for the build pipeline to deliver a new snapshot of the final artifact. Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46

Re: [Neo4j] chain TraversalDescription?

2011-09-09 Thread Linan Wang
Actually i'm fine with nesting multiple traversers to solve the problem if deep inside gremlin, evaluator and fluentPipeline are just nice constructs over the same solution. is it correct? thanks On Fri, Sep 9, 2011 at 7:03 PM, Linan Wang tali.w...@gmail.com wrote: Thanks! I really appreciate.

Re: [Neo4j] chain TraversalDescription?

2011-09-09 Thread Peter Neubauer
Linan, yes, deep down Pipes are composing the pipeline out of iterators to the base API operations node.getRelationships() and relationship.getNodes() . The Neo4j traversal API is using callbacks instead. What you want to use depends on your taste :) Cheers, /peter neubauer GTalk:     

[Neo4j] NODE_PATH Uniqueness in Neo4j traversals

2011-09-09 Thread Peter Neubauer
Hi folks, just commited some example code to show the use of Uniqueness.NODE_PATH in the Neo4j traversal framework in order to return paths that share nodes. http://docs.neo4j.org/chunked/snapshot/examples-uniqueness-of-paths-in-traversals.html Enjoy! Cheers, /peter neubauer GTalk:     

[Neo4j] performance guide

2011-09-09 Thread Linan Wang
hi, I once read a blog about how long it take for computation operations such as read from L1 cache, RAM access, send packet from usa to eu, etc. having a rough idea of the relative cost of major computation operations, we have better control. for example, in my project i also use property to

Re: [Neo4j] performance guide

2011-09-09 Thread Andreas Kollegger
Hi Linan, These are good questions. I am currently following a similar approach to characterizing the performance of basic graph operations, and then also simple graph algorithms on various shapes of graphs. My initial investigation is on small graphs on my laptop, but this weekend I'm testing

Re: [Neo4j] Neo4jPHP batch insert benchmarks

2011-09-09 Thread Jacob Hansson
On Fri, Aug 26, 2011 at 2:46 PM, jadell josh.ad...@gmail.com wrote: Jim, Fair enough. For now, I'll just know not to try and make batches that big :-) My own use case is for the transaction safety rather than trying to create thousands of entities at once, so it doesn't effect me that much.