Re: [Neo4j] Hierarchical facets

2014-05-22 Thread Tom Zeppenfeldt
yep, the two individual ones combined take about 12-13 secs . what does the profiling tell you? Met vriendelijke groet / With kind regards Ir. T. Zeppenfeldt van der Waalsstraat 30 6706 JR Wageningen The Netherlands Mobile: +31 6 23 28 78 06 Phone: +31 3 17 84 22 17 E-mail:

[Neo4j] merge create duplicate

2014-05-22 Thread Navrattan Yadav
hi i am sing neo4j 2.0.3. It provides new awesome Merge clause. But i got duplicate node from this : First i create a UserNode : MERGE (n:User {uniqueid : '1'}) ON CREATE SET n.name = 'Test1' ON MATCH SET n.name = 'Test1' then i want to add relation b/w UserNode and CurrentNode (

Re: [Neo4j] merge create duplicate

2014-05-22 Thread Navrattan Yadav
thanks Michael for reply. Also did i need to run thes command once when db open or every time when i run a query create constraint on (u:User) assert u.uniqueid is unique; create constraint on (c:Current) assert c.uniqueid is unique; On Thu, May 22, 2014 at 2:24 PM, Michael Hunger

[Neo4j] Choosing the right NoSQL storage for highly connected and flexible domain

2014-05-22 Thread Nikita Sushkov
I already asked this question on stackoverflow, but it seems to be very opinionated. So it's better to ask here. We're starting a new project and looking for an appropriate storage solution for our case. Main requirements for the storage are as follows: - Ability to support highly flexible

Re: [Neo4j] merge create duplicate

2014-05-22 Thread Michael Hunger
Only once, those constraints will be kept up to date transactionally. Michael On Thu, May 22, 2014 at 11:00 AM, Navrattan Yadav navrattan.craterz...@gmail.com wrote: thanks Michael for reply. Also did i need to run thes command once when db open or every time when i run a query create

Re: [Neo4j] merge create duplicate

2014-05-22 Thread Navrattan Yadav
yes its working fine now. thanks again. also can you provide me some reference how to implement Dijkstra . i want to find most common path used by people. i have some fixed CheckPoints : each checkpoint is a unique node. when user traverse a checkpoint : i create a relation b/w previous

Re: [Neo4j] find common path Cipher

2014-05-22 Thread Wes Freeman
Did you try to modify my query to work with your schema? With your added description I think it will actually work. On Thu, May 22, 2014 at 9:55 AM, Navrattan Yadav navrattan.craterz...@gmail.com wrote: thanks for response. DB Details Are : A city has some fixed location(Called CheckPoint

Re: [Neo4j] find common path Cipher

2014-05-22 Thread Navrattan Yadav
yes query is what i am looking . But issue is each relationship has different name : it created dynamically with time stamp. so may be i need to change DB structure. On Thu, May 22, 2014 at 7:40 PM, Wes Freeman freeman@gmail.com wrote: Did you try to modify my query to work with your

Re: [Neo4j] find common path Cipher

2014-05-22 Thread Wes Freeman
You can just use * without specifying type. But yeah, timestamp in reltype is going to cause issues shortly--the reltype limit is 64k at least as of 2.0. So, an alternative model with better reltypes is going to be necessary. Wes On Thu, May 22, 2014 at 10:13 AM, Navrattan Yadav