[Neo4j] Re: distinct, aggregations and sorting

2014-08-06 Thread Kenny. Bastani
I suggest taking a look at time-based versioning of graphs. http://www.neo4j.org/graphgist?608bf0701e3306a23e77 Also, a thorough blog post on the subject by Ian Robinson, author of the Graph databases book: http://iansrobinson.com/2014/05/13/time-based-versioned-graphs/ Can you provide an exam

Re: [Neo4j] Re: Using Neo4j 2.1.2 database with Neo4j 2.1.3 fails to start

2014-08-06 Thread Bill Scheidel
Hi Michael, The full messages.log file is at https://www.dropbox.com/sh/7wpllg9mb8vkxz6/AACEkLZezbNlmh5a27Cuq359a. I was trying to move to 2.1.3 because I'm having all kinds of problems with 2.1.2. Queries that would normally take 300ms with 2.0.3 are taking up to 4.5s with 2.1.2 (but other

Re: [Neo4j] neo4j browser console display more relationships than queried

2014-08-06 Thread Michael Hunger
AFAIK the visualization also fetches _all_ relationships between the returned nodes. Not sure if it fetches none additionally if you actually return the relationships as well. MATCH (a)-[r:`REL`]->(b) RETURN a,r,b LIMIT 5 On Thu, Aug 7, 2014 at 1:50 AM, gg4u wrote: > Hi, > > new to neo, but

Re: [Neo4j] Re: Using Neo4j 2.1.2 database with Neo4j 2.1.3 fails to start

2014-08-06 Thread Michael Hunger
Bill, could you share your full messages.log file? And please keep the db around. Can you work around by using 2.1.2 on your server while we look at the issue? Thanks so much. On Wed, Aug 6, 2014 at 9:27 PM, Bill Scheidel wrote: > Just noticed this in the messages log: > > 2014-08-06 19:13:13

Re: [Neo4j] How to Achieve the Following goal In JAVA API

2014-08-06 Thread Michael Hunger
What are you missing? Perhaps you should try with this and come back with concrete questions? Cheers, Michael On Wed, Aug 6, 2014 at 10:44 AM, Amrutha Valli wrote: > Can i have an full example on this > > > On Saturday, July 19, 2014 8:45:15 PM UTC+5:30, Michael Hunger wrote: > >> basically

Re: [Neo4j] neo4j core api sample project

2014-08-06 Thread Michael Hunger
Perhaps you want to write an unmanaged extension for Neo4j server: http://docs.neo4j.org/chunked/milestone/server-unmanaged-extensions.html Which can then use Neo4j's core API. Michael On Wed, Aug 6, 2014 at 10:58 AM, Axel Morgner wrote: > Hi, > > if you want to access nodes and relationships

Re: [Neo4j] Fwd: Neo4j's Browser visualization

2014-08-06 Thread Michael Hunger
Hi Cai, there is work in progress on this front. CC'ing Andreas, Alistair and Oskar who might have more insight. Cheers, Michael On Tue, Aug 5, 2014 at 6:44 PM, Aileen Agricola < aileen.agric...@neotechnology.com> wrote: > > Hi Huihui Cai, > > I'm forwarding your question to our google group

Re: [Neo4j] Copying nodes/rels from one graph to another

2014-08-06 Thread Michael Hunger
There is really none, you'd have to do it manually. I have some code similar to that in this tool: https://github.com/jexp/store-utils/tree/20 The master branch on 1.9 still uses the transactional API for reading the data. The 20 branch uses the batch-inserter-api for both. Michael On Wed, Aug

Re: [Neo4j] Getting JsonMappingException when using JsonHelper.createJsonFrom() but only with certain queries

2014-08-06 Thread Michael Hunger
Answered there. On Wed, Aug 6, 2014 at 11:22 AM, Rubin wrote: > I posted this question on stack overflow too: > > > http://stackoverflow.com/questions/25141511/neo4j-cypher-results-as-json-getting-jsonmappingexception-when-using-jsonhelper > > > Regards, > > On 05-08-14 15:31, Rubin wrote: > >

[Neo4j] neo4j browser console display more relationships than queried

2014-08-06 Thread gg4u
Hi, new to neo, but getting the ball rolling!!! it s real cool! Would you like to help me sort out this confusing thing ? The localhost/browser displays more relationships than the one queried. +++ I create a relationship REL between node a, b MATCH a, b CREATE UNIQUE a-[:REL]->b between node a

[Neo4j] Re: Using Neo4j 2.1.2 database with Neo4j 2.1.3 fails to start

2014-08-06 Thread Bill Scheidel
Just noticed this in the messages log: 2014-08-06 19:13:13.103+ ERROR [o.n.k.EmbeddedGraphDatabase]: Startup failed: Component 'org.neo4j.kernel.impl.transaction.XaDataSourceManager@3bf17f92' was successfully initialized, but failed to start. Please see attached cause exception.: Component

[Neo4j] Using Neo4j 2.1.2 database with Neo4j 2.1.3 fails to start

2014-08-06 Thread Bill Scheidel
I'm trying to copy over a database that I've been using with Neo4j 2.1.2 to a new machine that is running Neo4j 2.1.3. I shut down my 2.1.2 server and made sure it was a clean shutdown. I then copied over the graph.db directory to my new server and chown'd the files to the neo4j user. However

[Neo4j] distinct, aggregations and sorting

2014-08-06 Thread Manuel Zamora-Morschhäuser
Hello everyone, I'm currently designing a cypher query which uses DISTINCT in combination with aggregations and sorting and I'm not quite sure if I'm doing this the right way. My schema looks like this: (user {userId: ..})-[rel:LOVES|HATES|IGNORES|... {timestamp: ..}]->(something {somethingI

Re: [Neo4j] Getting JsonMappingException when using JsonHelper.createJsonFrom() but only with certain queries

2014-08-06 Thread Rubin
I posted this question on stack overflow too: http://stackoverflow.com/questions/25141511/neo4j-cypher-results-as-json-getting-jsonmappingexception-when-using-jsonhelper Regards, On 05-08-14 15:31, Rubin wrote: > Hi Neo4j, > > Me and my team are working on neo4vertx, a module that makes it pos

Re: [Neo4j] neo4j core api sample project

2014-08-06 Thread Axel Morgner
Hi, if you want to access nodes and relationships on the database level, Neo4j's REST API is what you need. I asked because you wrote that you want to write your own services. Typically, this makes only sense if you have special requirements, like f.e. return aggregated (complex) objects or

Re: [Neo4j] neo4j core api sample project

2014-08-06 Thread Amrutha Valli
Hi Axel, My requirement is to create nodes and acces them using a restful service do u have any example for the same . Regards, Amrutha On Wednesday, August 6, 2014 2:14:44 PM UTC+5:30, Axel wrote: > > Hi Amrutha, > > Neo4j has a built-in RESTful API: > http://docs.neo4j.org/chunked/stable/re

Re: [Neo4j] Unique relation among all nodes

2014-08-06 Thread Sukaant Chaudhary
Thanks Luanne, it worked for me fine. -Sukaant Chaudhary On Wed, Aug 6, 2014 at 12:18 PM, Luanne Coutinho wrote: > Hi Sukaant, > > You can check that b does not already have an existing relation of this > type in any direction to any ot

Re: [Neo4j] How to Achieve the Following goal In JAVA API

2014-08-06 Thread Amrutha Valli
Can i have an full example on this On Saturday, July 19, 2014 8:45:15 PM UTC+5:30, Michael Hunger wrote: > > basically > > Node pizza = > gdb.findByLabelAndProperty("Thing","name","Pizza").iterator().next(); > Node iceCream = gdb.findByLabelAndProperty("Thing","name","Ice > Cream").iterator().

Re: [Neo4j] neo4j core api sample project

2014-08-06 Thread Axel Morgner
Hi Amrutha, Neo4j has a built-in RESTful API: http://docs.neo4j.org/chunked/stable/rest-api.html Do you have specific requirements that go beyond that? Best, Axel Am 06.08.2014 um 10:34 schrieb Amrutha Valli: Hi, Can any one help me to write restful services to access / creates data on Ne

[Neo4j] Fwd: Neo4j's Browser visualization

2014-08-06 Thread Aileen Agricola
Hi Huihui Cai, I'm forwarding your question to our google group to assist you. -Aileen -- Forwarded message -- From: chh_...@126.com Date: Mon, Aug 4, 2014 at 12:42 AM Subject: Neo4j To: info , uk Dear sir, Sorry to bother you.I've got a problem and as I don't know what

[Neo4j] neo4j core api sample project

2014-08-06 Thread Amrutha Valli
Hi, Can any one help me to write restful services to access / creates data on Neo4j using core java api. Regards, Amrutha -- 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

[Neo4j] Getting JsonMappingException when using JsonHelper.createJsonFrom() but only with certain queries

2014-08-06 Thread Rubin
Hi Neo4j, Me and my team are working on neo4vertx, a module that makes it possible to talk to a Neo4j database using Vert.x. We are implementing a feature called "query" which allows a Vert.x user to send a Cypher query as an eventbus message and get a JSON resultset back. However, we seem to ru

[Neo4j] Copying nodes/rels from one graph to another

2014-08-06 Thread Alireza Rezaei Mahdiraji
Hi All, I would like to create a new graph G' using a subset of nodes and relations from an existing graph G. I have access to nodes and rels of G, should I create new nodes in G' and copy all properties of G node into it? I could not find any method which allow adding an existing node to a