Re: [Neo4j] Concurrent graph usage, design guidelines

2011-02-28 Thread Michael Hunger
querying for in your traversals? You can put information on the relationships and evaluate that (and also all other nodes and relationships so far on the current path) using the evaluators (new framework) or pruning/filtering (stable framework). Can you explain a typical traversal so that it gets

Re: [Neo] Traversers in the REST API

2010-04-09 Thread Tobias Ivarsson
implemented if it's implemented in the core of the traversal framework * Limiting / Pagination can be deferred for a while until we know what it needs to look like (from looking at actual uses) * (Server side) Sorting can be deferred until we need it for limiting / pagination Peace, Tobias On Thu

Re: [Neo4j] Looking for value from array-typed relationship property in traversal return filters (REST API)

2011-04-03 Thread Peter Neubauer
, 2011 2:47 AM To: user@lists.neo4j.org Subject: [Neo4j] Looking for value from array-typed relationship property in traversal return filters (REST API) Hi there, I am getting pretty excited with the power of return evaluators in traversing framework. However, since I am using the REST API

Re: [Neo] basic questions

2010-03-17 Thread Niels Hoogeveen
questions Hey, You might want to consider Blueprints Pipes for a more controlled traverser framework that doesn't require the use of for-loops and allows you to specify arbitrary paths through a graph. http://wiki.github.com/tinkerpop/blueprints/pipes-traversal-framework For the example

Re: [Neo] basic questions

2010-03-17 Thread Lincoln
and allows you to specify arbitrary paths through a graph. http://wiki.github.com/tinkerpop/blueprints/pipes-traversal-framework For the example viewer--FOLLOWS--user--CREATED--message do, // PipeVertex,Edge pipe1 = new VertexEdgePipe

Re: [Neo] Traversers in the REST API

2010-04-09 Thread rick . bullotta
in the core of the traversal framework * Limiting / Pagination can be deferred for a while until we know what it needs to look like (from looking at actual uses) * (Server side) Sorting can be deferred until we need it for limiting / pagination Peace, Tobias On Thu, Apr 8, 2010

Re: [Neo4j] Is it possible to count common nodes when traversing?

2010-07-09 Thread Mattias Persson
traversal framework in 1.1-SNAPSHOT? It solves that problem in that you can specify uniqueness for the traverser... you can instead say that each Relationship can't be visited more than once, but Nodes can. Your example: MapNode, Integer result = new HashMapNode, Integer(); for ( Node

Re: [Neo4j] Is it possible to count common nodes when traversing?

2010-07-09 Thread Mattias Persson
more than once in a traversal, right? Have you looked at the new traversal framework in 1.1-SNAPSHOT? It solves that problem in that you can specify uniqueness for the traverser... you can instead say that each Relationship can't be visited more than once, but Nodes can. Your example

Re: [Neo4j] cycle detection

2011-03-31 Thread Peter Neubauer
in a traversal. I know the traversal framework has cycle avoidance built-in, but there doesn't seem to be an API for cycle detection! Has anyone already implemented a cycle detector for traversals? Thanks in advance, Wouter

Re: [Neo4j] How to boost performance?

2011-11-23 Thread Vinicius Carvalho
importing the data into Neo4j? second: your example used cypher which is not optimized for performance (yet!). This is in our plans for the next two releases of neo4j. So if you want to see the real performance of neo4j, please use the traversal framework or the core-API: Cypher Traversals

Re: [Neo4j] How to boost performance?

2011-11-23 Thread Michael Hunger
is not optimized for performance (yet!). This is in our plans for the next two releases of neo4j. So if you want to see the real performance of neo4j, please use the traversal framework or the core-API: Cypher Traversals: // define cypherQuery = cypherParser.parse(start n=node({start_node

Re: [Neo4j] How to boost performance?

2011-11-23 Thread Vinicius Carvalho
!). This is in our plans for the next two releases of neo4j. So if you want to see the real performance of neo4j, please use the traversal framework or the core-API: Cypher Traversals: // define cypherQuery = cypherParser.parse(start n=node({start_node}) match n--()--x return x

Re: [Neo4j] How to boost performance?

2011-11-23 Thread Michael Hunger
into Neo4j? second: your example used cypher which is not optimized for performance (yet!). This is in our plans for the next two releases of neo4j. So if you want to see the real performance of neo4j, please use the traversal framework or the core-API: Cypher Traversals: // define

Re: [Neo4j] How to boost performance?

2011-11-23 Thread Vinicius Carvalho
of neo4j, please use the traversal framework or the core-API: Cypher Traversals: // define cypherQuery = cypherParser.parse(start n=node({start_node}) match n--()--x return x) traversalQuery = Traversal.description().evaluator(Evaluators.atDepth(2)).expand

Re: [Neo] Indexing Relationships?

2010-05-20 Thread Mattias Persson
(the value is irrelevant), relationships (with a DynamicRelationshipType with a name equal to the md5 key) are used to link the various items in the path. Finding the path requires a traversal from the first Class node in the path, following the given relationships. This traversal can potentially

Re: [Neo4j] Hyperedges and Objects

2011-07-21 Thread Niels Hoogeveen
know the traversal framework currently also uses the core API under the hood to perform the traversals (and no black magic (yet)). So it should be fairly easy to take that approach/code and create a library that abstracts the hyper-edge issues (creation, deletion, traversal

Re: [Neo] Neo api and the future...

2009-02-05 Thread Johan Svensson
that requires you to iterate over all nodes/relationships? Often changing the node space layout can make this problem go away allowing for iteration over the needed entries by normal traversal. It is actually very rare that you run into the use-case were you have to iterate over all nodes. This is also

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

Re: [Neo4j] Auto Indexing for Neo4j

2011-06-14 Thread Peter Neubauer
on that), we are in a position to think about more complex autoindex providers. Also, the possibility to treat Neo4j Spatial and other graph structures as index providers, would hook into the index framework and expose things to higher level queries like Cypher and Gremlin, e.g. combining a spatial

Re: [Neo4j] Hyperedges and Objects

2011-07-22 Thread Niels Hoogeveen
. As you probably know the traversal framework currently also uses the core API under the hood to perform the traversals (and no black magic (yet)). So it should be fairly easy to take that approach/code and create a library that abstracts the hyper-edge issues (creation, deletion

Re: [Neo4j] Hyperedges and Objects

2011-07-23 Thread Niels Hoogeveen
and Objects I completely agree, hyperedges and the accompanying traversers should be handled in a library. As you probably know the traversal framework currently also uses the core API under the hood to perform the traversals (and no black magic (yet)). So it should be fairly

Re: [Neo4j] Hyperedges and Objects

2011-07-23 Thread Niels Hoogeveen
traversers should be handled in a library. As you probably know the traversal framework currently also uses the core API under the hood to perform the traversals (and no black magic (yet)). So it should be fairly easy to take that approach/code and create a library that abstracts the hyper

Re: [Neo] Cleaning up relationshiptypes

2010-04-25 Thread Mattias Persson
, while it is equally conceivable to have traversers that return a Relationship iterator, and keep track of visited Relationships. There's a new traversal framework in the making (I don't know if you've read the discussions about it on this mailing list?) which puts relationships in the limelight

Re: [Neo] Cleaning up relationshiptypes

2010-04-25 Thread Niels Hoogeveen
a new traversal framework in the making (I don't know if you've read the discussions about it on this mailing list?) which puts relationships in the limelight as well. It'll be integrated in version 1.1 hopefully. GraphDatabaseService provides a method to list all nodes but not a method

Re: [Neo] Cleaning up relationshiptypes

2010-04-26 Thread Mattias Persson
traverser framework, so I was aware it would become possible to traverse over relationships in the near future, again my statement was based on the current status and design decisions probably made long before the 1.0 version. Indexing of relationships would indeed be another step forward. I wonder

Re: [Neo4j] Auto Indexing for Neo4j

2011-06-14 Thread Michael Hunger
about more complex autoindex providers. Also, the possibility to treat Neo4j Spatial and other graph structures as index providers, would hook into the index framework and expose things to higher level queries like Cypher and Gremlin, e.g. combining a spatial bounding box geometry search

Re: [Neo4j] Hyperedges and Objects

2011-07-23 Thread Michael Hunger
From: michael.hun...@neotechnology.com Date: Sat, 16 Jul 2011 23:37:48 +0200 To: user@lists.neo4j.org Subject: Re: [Neo4j] Hyperedges and Objects I completely agree, hyperedges and the accompanying traversers should be handled in a library. As you probably know the traversal framework

Re: [Neo4j] Hyperedges and Objects

2011-07-23 Thread Niels Hoogeveen
: [Neo4j] Hyperedges and Objects I completely agree, hyperedges and the accompanying traversers should be handled in a library. As you probably know the traversal framework currently also uses the core API under the hood to perform the traversals (and no black magic (yet)). So

Re: [Neo] Collaboration Neo4j/Gephi (was: displaying very large graph)

2010-03-25 Thread Tobias Ivarsson
interesting is the support for dynamic graphs. I'm hoping to be able to use that for creating animated sequences of how a traversal moves through a graph. Not only would this be cool for demonstrations, but it would also be very useful for visual debugging of applications. I've written a small framework

Re: [Neo] Collaboration Neo4j/Gephi (was: displaying very large graph)

2010-03-26 Thread Tobias Ivarsson
interesting is the support for dynamic graphs. I'm hoping to be able to use that for creating animated sequences of how a traversal moves through a graph. Not only would this be cool for demonstrations, but it would also be very useful for visual debugging of applications. I've written

Re: [Neo] Collaboration Neo4j/Gephi (was: displaying very large graph)

2010-03-26 Thread Mathieu Bastian
interesting is the support for dynamic graphs. I'm hoping to be able to use that for creating animated sequences of how a traversal moves through a graph. Not only would this be cool for demonstrations, but it would also be very useful for visual debugging of applications. I've written a small

Re: [Neo] Collaboration Neo4j/Gephi (was: displaying very large graph)

2010-03-26 Thread Anders Nawroth
is the support for dynamic graphs. I'm hoping to be able to use that for creating animated sequences of how a traversal moves through a graph. Not only would this be cool for demonstrations, but it would also be very useful for visual debugging of applications. I've written a small framework

Re: [Neo] Collaboration Neo4j/Gephi (was: displaying very large graph)

2010-03-26 Thread Craig Taverner
Ivarsson tobias.ivars...@neotechnology.com wrote: Hi! I've had a look at Gephi and it looks really interesting. One particular thing I found interesting is the support for dynamic graphs. I'm hoping to be able to use that for creating animated sequences of how a traversal moves through

Re: [Neo] Collaboration Neo4j/Gephi (was: displaying very large graph)

2010-03-29 Thread Mathieu Bastian
to use that for creating animated sequences of how a traversal moves through a graph. Not only would this be cool for demonstrations, but it would also be very useful for visual debugging of applications. I've written a small framework that captures all actions in a Neo4j Graph

Re: [Neo] Collaboration Neo4j/Gephi (was: displaying very large graph)

2010-03-26 Thread Mathieu Bastian
is the support for dynamic graphs. I'm hoping to be able to use that for creating animated sequences of how a traversal moves through a graph. Not only would this be cool for demonstrations, but it would also be very useful for visual debugging of applications. I've written a small framework

Re: [Neo4j] Lucene/Neo Indexing Question

2011-05-02 Thread Rick Bullotta
the concurrency issues at the possible expense of traversal performance. Also, the hotspot or supernode issue exists a number of other places in our application wherever we are constantly adding (or removing) content related to an entity in the system. It seems that a lot of the current users

Re: [Neo4j] Neo4j 1.2 server on Linux X86 - 64 bit

2011-02-01 Thread Michael Hunger
(e.g. via a traversal) and return them. Cheers Michael Am 01.02.2011 um 23:55 schrieb Joshi Hemant - hjoshi: I solved it!! The jar file needed to be in the plugins folder. -Hemant -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org

[Neo4j] neo4j plugins

2011-02-01 Thread Joshi Hemant - hjoshi
in the wiki or in a blog post. Now you also know how to speed up your app, whenever the existing REST API is too chatty for a usecase. Just write a plugin that gets the data (nodes, relationships) that you want to get in one request (e.g. via a traversal) and return them. Cheers Michael Am

Re: [Neo4j] neo4j plugins

2011-02-01 Thread Joshi Hemant - hjoshi
post. Now you also know how to speed up your app, whenever the existing REST API is too chatty for a usecase. Just write a plugin that gets the data (nodes, relationships) that you want to get in one request (e.g. via a traversal) and return them. Cheers Michael Am 01.02.2011 um 23

Re: [Neo4j] neo4j plugins

2011-02-01 Thread Tobias Ivarsson
. Just write a plugin that gets the data (nodes, relationships) that you want to get in one request (e.g. via a traversal) and return them. Cheers Michael Am 01.02.2011 um 23:55 schrieb Joshi Hemant - hjoshi: I solved it!! The jar file needed to be in the plugins folder

Re: [Neo4j] Spring Data Graph Load Time Weaving

2011-05-12 Thread Michael Hunger
, for your domain, the graph is really a best fit. You don't have to pre-index everything for all queries. Graph querying is a two step approach, you _have_ to index the fields on the nodes you want to get as _starting_ nodes for your traversals but for the actual traversal itself the properties

Re: [Neo4j] User Digest, Vol 56, Issue 16

2011-11-02 Thread Michael Hunger
Something you could probably do is to return paths from cypher or traversal and then pick the nodes off the paths that you're interested in - from the path you get the tree-structure aka. the path's to the root of your tree. From the information extracted there you can build your composite

<    1   2   3