[Neo4j] Using Neo4j with Apache Spark

2015-03-12 Thread Gautam Bajaj
I'm trying to use Neo4j with Apache Spark Streaming but I am finding serializability as an issue. Basically, I want Apache Spark to parse and bundle my data in real time. After, the data has been bundled it should be stored in the database, Neo4j. However, I am getting this error:

Re: [Neo4j] Way to find maximal cliques in Neo4j graph

2015-03-12 Thread Mahesh Lal
Hi Mohana, Your question is vague, hence no one is able to respond. Please help us understand your use case by giving examples and telling us what you hope to achieve. Cheers. -- Thanks and Regards Mahesh Lal On 12 March 2015 at 14:24, Mohana Krishna, IIT Bombay, India

Re: [Neo4j] Matching exact graph pattern

2015-03-12 Thread Michael Hunger
something like this MATCH path=(n)-[*..5]-() where id(n) = {node_ids}[0] AND ALL(n in nodes(path) WHERE id(n) IN {node_ids}) AND ALL(r in rels(path) WHERE id(r) IN {rel_ids}) return path Am 10.03.2015 um 22:40 schrieb Martin Troup troup...@gmail.com: Thanks for your reply! So let me

[Neo4j] Way to find maximal cliques in Neo4j graph

2015-03-12 Thread Mohana Krishna, IIT Bombay, India
Someone please respond. Thanks. -- 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] Way to find maximal cliques in Neo4j graph

2015-03-12 Thread Mohana Krishna, IIT Bombay, India
I have a graph with nodes representing persons and edges representing their associations. I wish to find all maximally connected sub-graphs (maximal cliques) - which represent the maximal group of persons such that each person in the group knows everyone else and if we add any more nodes the

Re: [Neo4j] Using Neo4j with Apache Spark

2015-03-12 Thread Michael Hunger
You can't serialize nodes or relationships themselves, they were not meant for that. You could use a helper that serializes the node as id + labels + properties and the relationship as id + type + properties + start-node-id + end-node-id Currently node and relationship-objects have several

[Neo4j] my neo4j cypher is very slow. how to improve?

2015-03-12 Thread ron zheng
there are 15M nodes and 150M relations in the db, i run the following cypher and it takes more than 200 secondes to get the result. machine cpumemory is low. what should i do to improve? I'd appreciate some advise. cypher: START me=node:node_auto_index(userId='32887522') MATCH

Re: [Neo4j] my neo4j cypher is very slow. how to improve?

2015-03-12 Thread Michael Hunger
1. Update your Neo4j version to something more recent. 2. This query was not well handled by the old planner, the new one in 2.2 GA should do much much better on that. 3. You can use something like this as a workaround meanwhile: MATCH (me:User {username:'Kaylee83639'})-[:FRIENDS]-(people)

Re: [Neo4j] Unable to upgrade 2.1.6 database to 2.2.0-RC1

2015-03-12 Thread Mattias Persson
Hi, I've found and fixed the problem. Here is the pull request: https://github.com/neo4j/neo4j/pull/4193 . It will be included in 2.2 GA Best, Mattias On Tuesday, March 10, 2015 at 8:37:01 AM UTC+1, Michael Hunger wrote: Could you share the full log with me as well as a listing of the db-dir

Re: [Neo4j] Unable to upgrade 2.1.6 database to 2.2.0-RC1

2015-03-12 Thread Bill Scheidel
Thanks! I haven't been able to do any real testing against 2.2 yet due to the couple of issues I've hit. Any way I could get a new build prior to the GA release? Sent from my iPhone On Mar 12, 2015, at 7:09 AM, Mattias Persson matt...@neotechnology.commailto:matt...@neotechnology.com wrote:

[Neo4j] Fwd: Contact Us Request: james glattfelder

2015-03-12 Thread Hank Taylor
Hi James, I'm forwarding the issue you reported to our Google Group, they're much better equipped to address it there. -Hank -- Forwarded message -- From: Contact Us Request h...@neotechnology.com Date: Thu, Mar 12, 2015 at 6:52 AM Subject: Contact Us Request: james glattfelder

[Neo4j] Bulk deletion of nodes and relationships in a server-side plugin fills up heap

2015-03-12 Thread Adrian Gruntkowski
Hello, Hi. I'm having problems deleting nodes and relationships from a server-side plugin. I have a following code that is supposed to accomplish this: 1. public class Purger { 2.private static final int BATCH_SIZE = 1000; 3. 4. ... 5. 6. public static void

Re: [Neo4j] Neo4J Batch Inserter is slow with big ids

2015-03-12 Thread Alberto Jesús Rubio Sánchez
Hi Michael! This is an example of the code I use: import org.neo4j.unsafe.batchinsert.BatchInserter; import org.neo4j.unsafe.batchinsert.BatchInserters; BatchInserter batchInserter = BatchInserters.inserter(DB_PATH); batchInserter.createDeferredSchemaIndex(NODE_LABEL).on(id).create();