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

2015-03-13 Thread Adrian Gruntkowski
It was a GC issue. After taking a closer look with a debugger I've observed that the purge operation was far from reaching BATCH_SIZE before hitting the modulo condition when it started aggressive GC under heap limit. I've refactored a code a bit (had to reduce BATCH_SIZE to 10 to actually make

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

2015-03-13 Thread Michael Hunger
This might help you: https://github.com/besil/Neo4jSNA Michael > Am 12.03.2015 um 11:46 schrieb Mohana Krishna, IIT Bombay, India > : > > I have a graph with nodes representing persons and edges representing their > associations. I wish to find all maximall

Re: [Neo4j] Intersection cypher query is not working

2015-03-13 Thread Michael Hunger
MATCH (source:SourceTwittername) WITH count(*) as sources MATCH (source:SourceTwittername)-[rel:FOLLOWER|:FRIEND]->(dest:DestTwittername) WITH type(rel) as type, dest, count(*) as cnt,sources WHERE cnt = sources RETURN type, collect(dest) > Am 09.03.2015 um 11:47 schrieb Shijo c j : > > Hi all,

Re: [Neo4j] LOAD CSV: Ignore missing values.

2015-03-13 Thread Michael Hunger
you have to be careful with typos: USING PERIODIC COMMIT LOAD CSV WITH HEADERS FROM 'file:/Users/sunitj/Neo4j/IMG/Staging/multiGene_scaffold_testRun2.tsv' AS line FIELDTERMINATOR '\t' WITH line WHERE line.Sci_Name IS NOT NULL MERGE (org: Organism {name:LOWER(line.SciName)}) the header

Re: [Neo4j] Serializing an entire Neo4J embedded database, then recreating the database from the serialized objects

2015-03-13 Thread Chris Vest
The fastest way might be to just tar up the store files (after a proper shut down), if your goal is to have the database in one transportable binary blob. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] > On 13 Mar 2015, at 04:20, Barry wrote: > > Hi, >

[Neo4j] Serializing an entire Neo4J embedded database, then recreating the database from the serialized objects

2015-03-13 Thread Barry
Hi, I'd like to use Neo4J as an embedded database, but also be able to serialize the entire database, and then unserialize it back later. It costs quite a bit to build the database, but I need the fastest possible performance once it is created. I looked at GraphDatabaseBuilder and GraphDataba

[Neo4j] LOAD CSV: Ignore missing values.

2015-03-13 Thread Sunit Jain
Hi I'm trying to load a tab-delimited data set with some missing values to a neo4j database. I tried following Mike Hunger's blog on "LOAD CSV into Neo4j quickly and successfully", but I still get the following error: