Re: [Neo4j] Save queries in browser permamently

2014-04-18 Thread tomasz . mrugala
HI, thanks for replay. Can you tell me when can i expect this. I need to know whether to wait or look for own solutions. W dniu czwartek, 17 kwietnia 2014 16:25:30 UTC+2 użytkownik Michael Hunger napisał: We're working on a solution for that, stay tuned. Cheers, Michael Am 17.04.2014 um

[Neo4j] Any pros/cons between relationship vs. relationship node?

2014-04-18 Thread Aseem Kishore
Example: users following other users. Is there any advantage/disadvantage to directly connecting users with relationships, vs. indirectly connecting them via nodes? E.g. (:User) -[:FOLLOWS]- (:User) vs. (:User) -[:SOURCE_USER]- (:Follow) -[:TARGET_USER]- (:User) The node obviously lends more

Re: [Neo4j] Any pros/cons between relationship vs. relationship node?

2014-04-18 Thread Koen Kleingeld
hi, one advantage of an extra hop that represents the event of one user following the other can be the fact that you can now link that follow node/event to a timeline graph node which allows for time based traversal .. and see what happened at some point in time.. who followed who .. when .. etc

Re: [Neo4j] Any pros/cons between relationship vs. relationship node?

2014-04-18 Thread Koen Kleingeld
actually i asked the same question in a somewhat different manner a few weeks ago... i.e. to replace relations through intermediate nodes representing the relation to allow for inclusion of the time based dimension.. the question was if there is experiemce out there doing this for bigegr graphs ..

[Neo4j] Re: Any pros/cons between relationship vs. relationship node?

2014-04-18 Thread Tom Zeppenfeldt
Pros - you can use the intermediate nodes to link other nodes to, instead of providing nodeids as values of relationship properties - it allows you to create a system to version networks Cons - longer paths, more complex queries - managing the rels between the principal nodes is more complex,

[Neo4j] Re: Bug in cypher when filtering collection ?

2014-04-18 Thread Tom Zeppenfeldt
created console here http://console.neo4j.org/?id=s0kf37 -- You received this message because you are subscribed to the Google Groups Neo4j group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit

Re: [Neo4j] how to run TraversalExample.java example

2014-04-18 Thread TC
hi, i use node array. i think it is fine now. but i have another question here. public static void main( String[] args ) { final String DB_PATH = target/neo4j-hello-db; GraphDatabaseService db = new GraphDatabaseFactory().newEmbeddedDatabase(DB_PATH); TraversalExample op = new

Re: [Neo4j] how to kill a badly written query that's bringing the server to its knees

2014-04-18 Thread BtySgtMajor
Michael, with execution_guard_enabled set, does it use a default? If so, is it set by org.neo4j.server.webserver.limit.executiontime? Or something else? Thanks. On Tuesday, September 25, 2012 12:12:41 PM UTC-4, Michael Hunger wrote: In server you can set a timeout using the server config:

Re: [Neo4j] Re: Any pros/cons between relationship vs. relationship node?

2014-04-18 Thread Aseem Kishore
Thanks guys. I'm totally aware of the modeling pros of nodes -- sorry I didn't state that more clearly -- but I'm really wondering if there are any *major* cons to removing the direct relationship. Conceptually yes, more complex queries, but in practice, does it hurt performance of simple

Re: [Neo4j] Re: Any pros/cons between relationship vs. relationship node?

2014-04-18 Thread Tom Zeppenfeldt
I guess having both unnecessarily complicates the model. I'd get rid of the direct one, since apparently you need the intermediate node. You can always recreate it on the basis of the rels through the intermediate node. And eh... may I kindly suggest to rethink the title of your next post ;)

Re: [Neo4j] Re: Any pros/cons between relationship vs. relationship node?

2014-04-18 Thread Aseem Kishore
Yes, you're right re: title. =) On Friday, April 18, 2014 12:16:16 PM UTC-4, Tom Zeppenfeldt wrote: I guess having both unnecessarily complicates the model. I'd get rid of the direct one, since apparently you need the intermediate node. You can always recreate it on the basis of the rels

[Neo4j] run dfs on large dataset using neo4j is slow? or what is the problem with the code i am referring?

2014-04-18 Thread TC
Hi, I'm running a large graph node. 265214 nodes and 420045 edges. I'm using the traversal example from neo4j doc. public String knowsTraverserforward( Node node ) { String output = ; // START SNIPPET: knowslikestraverser for ( Path position : db.traversalDescription()

[Neo4j] run bfs on large graph dataset using neo4j is slow? or what is the problem with the code i am referring?

2014-04-18 Thread TC
Hi, I'm running a large graph node. 265214 nodes and 420045 edges. I'm using the traversal example from neo4j doc. public String knowsTraverserforward( Node node ) { String output = ; // START SNIPPET: knowslikestraverser for ( Path position : db.traversalDescription()

[Neo4j] Re: Serializing/Deserialzing Collections of properties using .NET and the Neo4jClient

2014-04-18 Thread marouane denguiri
Hi All, the same problem , i don't know how to resolve it... I have a Dictionary that hold 2 kinds of objects ( Documents and there words): DictionaryDocument, ListConcept lista = new DictionaryDocument, ListConcept() i'am using neo4jClient , i read that it possible to make it with cypher

Re: [Neo4j] Can't run server on Windows 8

2014-04-18 Thread Michael Hunger
Tried to answer there. (michael http://twitter.com/mesirii)-[:SUPPORTS]-(*YOU*)-[:USE]-(Neo4jhttp://neo4j.org/ ) Learn Online http://neo4j.org/learn/online_course, Offlinehttp://www.neo4j.org/events or Read a Book http://graphdatabases.com/ (in Deutschhttp://bit.ly/das-buch ) We're trading

Re: [Neo4j] GC blocking application thread Neo4j 2.2 community version

2014-04-18 Thread Michael Hunger
In general probably too little, RAM if you only have 2G in total as OS, FS-Caches and other services also take their share. Depends also on what you're doing. Perhaps you can share your graph.db/messages.log (michael

[Neo4j] Re: Bug in cypher when filtering collection ?

2014-04-18 Thread Lundin
Another not so nested output might be MATCH (tt)-[tu:ADD|REMOVE]-(tv:tocversion) WITH tt,tu,collect(tv) AS TvCollection WITH tt,COLLECT([type(tu),[x IN TvCollection WHERE x.version=2| x.version]]) AS tus RETURN tt.id,head(tus) AS filtered MATCH (tt)-[tu:ADD|REMOVE]-(tv:tocversion) WITH