Re: [Neo4j] Neo4j 3.0 perofrmance question

2016-06-07 Thread 'Michael Hunger' via Neo4j
Sorry, that page is only for the zip / tgz download. For the Desktop Installer, you have to add the config to neo4j-community.vmoptions *as it says inside* *# Enter one VM parameter per line, note that some parameters can only be set once.# For example, to adjust the maximum memory usage to 5

Re: [Neo4j] Modeling challenge - multiple node labels?

2016-06-06 Thread 'Michael Hunger' via Neo4j
Just quickly. You can either use labels like :Band, :Artist And if you know that you have a band you can still create MEMBER_OF relationships between the individual and the bands. There are some other projects in this area, like the musicbrainz -> neo4j or lastfm import Or startups like musima

Re: [Neo4j] CompilationManipulator

2016-06-06 Thread 'Michael Hunger' via Neo4j
Nathaniel, it was a community / partner effort on Neo4j 1.5 We didn't have the capacity to pursue this further ... Not sure what a good continuation of this project would be. Cheers, Michael On Sat, Jun 4, 2016 at 6:06 PM, Nathaniel Bond wrote: > It's a little difficult to get it to work in

Re: [Neo4j] Performance issue with 2.3.3

2016-06-04 Thread 'Michael Hunger' via Neo4j
Is x a group? And why are there two directions between user and group? With the same rel-type Von meinem iPhone gesendet > Am 04.06.2016 um 14:31 schrieb 'tgomell' via Neo4j : > > In this Special case with a Limit of 20 accounts we have a resultset of 650 > lines. > > profile match (n:i636005

Re: [Neo4j] Deleting relationships does not reduce the storage in size

2016-06-04 Thread 'Michael Hunger' via Neo4j
Shutdown and create new, yes Von meinem iPhone gesendet > Am 04.06.2016 um 14:17 schrieb Cherie Pun : > > If I am using java GraphDatabaseService, do I need to create a new embedded > database to restart it? Thanks. > > Kind regards, > Cherie > >> On 4 June

Re: [Neo4j] Administrative GUI

2016-06-04 Thread 'Michael Hunger' via Neo4j
Do you know neo4j browser? There are all nodes and relationship-types in the left side panel Our could you outline in more detail what you mean? Von meinem iPhone gesendet > Am 04.06.2016 um 14:54 schrieb Andy : > > Is any administrative GUI for Neo4j on Windows or Linux? > If not, I want writ

Re: [Neo4j] Performance issue with 2.3.3

2016-06-04 Thread 'Michael Hunger' via Neo4j
Also, what's the max distance between a user and a group? what does your domain model look like? why do you have once (:Person)-[:rel_member]->(group) and once (group)-[:rel_member]->(person) ?? why do you need x in between ? you never use it match p=((n:Person:i636005417297252034:ProcessGroup

Re: [Neo4j] Performance issue with 2.3.3

2016-06-04 Thread 'Michael Hunger' via Neo4j
Please share the EXPLAIN plan This explodes probably into billions or trillions of paths. Some ideas: turn .type properties into labels create a label for all your conditions, e.g. :Process and use those labels instead: What type are M, GG and X ? What is the fan out across those types (min,

Re: [Neo4j] Deleting relationships does not reduce the storage in size

2016-06-03 Thread 'Michael Hunger' via Neo4j
Just restart the db after deleting a lot of relationships will enable record-reuse. > Am 04.06.2016 um 01:49 schrieb Cherie Pun : > > Hi, > > I have seen a few questions that were posted from before that it does not > free the space up immediately. My application is running analysis over the

Re: [Neo4j] SSL - protokol error

2016-06-03 Thread 'Michael Hunger' via Neo4j
Wrong port That's the https port not bolt Von meinem iPhone gesendet > Am 03.06.2016 um 17:29 schrieb Andy : > > I have Java program > import org.neo4j.driver.v1.*; > import static org.neo4j.driver.v1.Values.parameters; > > import java.util.List; > import static java.util.Arrays.asList; > impo

Re: [Neo4j] C++ interface

2016-06-03 Thread 'Michael Hunger' via Neo4j
The windows topic was discused on GH. Did you follow the instructions? You probably have to install the headers first into include. > Am 03.06.2016 um 16:22 schrieb Andy : > > First I want use it on Linux. > I do: sudo apt-get install neo4j-client > But when I try compile #include > it don't

Re: [Neo4j] Certification link is not Active - certification drive is discontinued or what??

2016-06-03 Thread 'Michael Hunger' via Neo4j
It works for me, can you try a different browser? Or enable cookies? Thanks a lot Michael > Am 03.06.2016 um 12:11 schrieb Sunil Patel : > > Hi, > I am very excited about graph and I already have completed tutorial courses > for the same from neo4j site and now I want to proceed for certificat

Re: [Neo4j] load csv data failure

2016-06-03 Thread 'Michael Hunger' via Neo4j
Try to upgrade to Neo4j 3.0.2 There was a bug in USING PERIODIC commit which has been fixed. Michael > Am 03.06.2016 um 11:27 schrieb zhanbingliuwec...@gmail.com: > > hi, everyone, > I am a newcomer, I import data to neo4j with load csv method, > customerId, name > id1,'a' > > idn,'n' > >

Re: [Neo4j] a* traversal cost evaluator - how to customize

2016-06-02 Thread 'Michael Hunger' via Neo4j
Check out the graphdatabases.com book it has a nice section on A* with usage examples. I think your understanding is roughly correct: - costEvaluatior -> length of existing path (sum of cost values) https://github.com/neo4j/neo4j/blob/3.1/community/graph-algo/src/main/java/org/neo4j/graphalgo/i

Re: [Neo4j] how to delete rows on node

2016-06-01 Thread 'Michael Hunger' via Neo4j
Not sure what you want to do, I presume you want to delete the node with the id P001 ? > match(pengguna :Pengguna {idPengguna : "P001"}) > detach delete pengguna What you did was find the node and remove the name property. > Am 01.06.2016 um 06:14 schrieb Christian Yonathan : > > good afterno

Re: [Neo4j] Neo4j 3.0 perofrmance question

2016-05-31 Thread 'Michael Hunger' via Neo4j
I think your memory setting is wrong. On my desktop running with 4G heap, it can handle these numbers. Can you make sure to check neo4j-wrapper.conf and set the HEAP size to 12 or 16G dbms.memory.heap.max_size=16000 By default the JVM only take 1G or so of heap. > Am 01.06.2016 um 02:30 schrie

Re: [Neo4j] Cypher 1.8: Relationship not found

2016-05-31 Thread 'Michael Hunger' via Neo4j
SDN 4.1.1 with OGM 2.0.2 > Am 31.05.2016 um 18:41 schrieb Eric Fulton : > > Which of those dependencies should I upgrade? You mean neo4j? > > Thanks! > Eric > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group an

Re: [Neo4j] Nested Transactions Bolt

2016-05-31 Thread 'Michael Hunger' via Neo4j
No, but you can open a new session which has its own TX. Michael > Am 27.05.2016 um 21:24 schrieb Michael Johnson : > > Hello. I'm migrating code from Embedded Neo4J to bolt. I was wondering if > the behavior of transactions is still the same as with the embedded API. As > in if you open a

Re: [Neo4j] Neo4j: GC Monitor: Application threads blocked for

2016-05-31 Thread 'Michael Hunger' via Neo4j
Please upgrade to SDN 4.1.1 and test again. We improved a lot in the Cypher generation Michael > Am 31.05.2016 um 15:05 schrieb Roxana Ioana Roman : > > I have a Vertex node entity which has a List of relationships. > > @NodeEntity (label="User") > public class Vertex { > private Long id

Re: [Neo4j] C++ interface

2016-05-28 Thread 'Michael Hunger' via Neo4j
There is a C library see neo4j.com/developer/c which you should be able to wrap. Von meinem iPhone gesendet > Am 28.05.2016 um 08:44 schrieb Andy : > > Is C++ interface for Neo4j? > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscri

Re: [Neo4j] Cypher 1.8: Relationship not found

2016-05-27 Thread 'Michael Hunger' via Neo4j
Can you upgrade to a more recent version? > Am 28.05.2016 um 01:40 schrieb Eric Fulton : > > Was this problem ever resolved? I still see it consistently. I'm running > neo4j 2.3.3, ogm version 1.1.4, and using neo4j template from > spring-data-neo4j 4.0.0.RELEASE. > > -- > You received this

Re: [Neo4j] Adding a large number of nodes, and relationships to Neo4j

2016-05-27 Thread 'Michael Hunger' via Neo4j
You should not return anything from your create statements then the output is minimal and just statistics, you can even use this to summarize www.markhneedham.com/blog/2015/08/21/neo4j-summarising-neo4j-shell-output/ > Am 28.05.2016 um 04:11 schrieb Diaa ElKott : > > > Thanks a lot for your r

Re: [Neo4j] Can't install gremlin plugin into Neo4J

2016-05-27 Thread 'Michael Hunger' via Neo4j
That plugin if for TP2, I doubt anyone still uses that. You can use gremlin server with a Neo4jGraph installed if you want to access Neo4j via gremlin remotely. Michael > Am 27.05.2016 um 12:50 schrieb Andreas Georgiou : > > Hello everybody. > > I have to install gremlin plugin to neo4j. I am

Re: [Neo4j] Adding a large number of nodes, and relationships to Neo4j

2016-05-27 Thread 'Michael Hunger' via Neo4j
bin/neo4j-shell -file import.cypher (in the zip / tar.gz download) separate the commands with semicolons. you can use "begin" "commit" on separate lines to control transactions. Please note that there is a bug with periodic commit in Neo4j shell in versions 3.0 and 3.0.1 It's fixed in 3.1.M02

Re: [Neo4j] Cypher queries in python

2016-05-27 Thread 'Michael Hunger' via Neo4j
Best to ask such questions on stackoverflow: In general, index the location array of [lat, lon] CREATE CONSTRAINT ON (loc:Location) ASSERT loc.coords IS UNIQUE; MERGE (loc:Location {coords:[{lat},{lon}]}) CREATE (m:Measure {value:{value}, time:{time}})-[:AT]->(loc); Alternatively use two coord

Re: [Neo4j] Slow node creation/commits with unique constraint in 2.0.0

2016-05-26 Thread 'Michael Hunger' via Neo4j
I meant: with an index you the fast lookup but no pentalty with an constraint you have the uniqueness guarantee via a lock and check against the constraint on write, both of which cost. But I ask if that can be alleviated. Could you test it in 3.0.2 if it performs better? Michael > Am 27.05.2

Re: [Neo4j] Re: Slow node creation/commits with unique constraint in 2.0.0

2016-05-26 Thread 'Michael Hunger' via Neo4j
Can you share the query plan from before and after the constraint? Oh if you had an index on uid then you had the benefit of the "fast scan" but without the penalty of "asserting uniqueness across the index". Michael > Am 26.05.2016 um 18:25 schrieb Eric Fulton : > > So before the constraint,

Re: [Neo4j] Re: Slow node creation/commits with unique constraint in 2.0.0

2016-05-25 Thread 'Michael Hunger' via Neo4j
Do you do one operation per transaction or multiple statements per transaction? I presume you had CREATEs before you had the constraint, not MERGE's ? Because merges without constraints do a full scan on the label. I also presume you use parameters, not literal values ?! MERGE (n:Thing { uid :

Re: [Neo4j] Re: Slow node creation/commits with unique constraint in 2.0.0

2016-05-25 Thread 'Michael Hunger' via Neo4j
Can give us more details? Michael > Am 25.05.2016 um 23:50 schrieb Eric Fulton : > > I'm still seeing 10x performance hit from a uniqueness constraint being > added. Is this on the roadmap to be addressed? > > -- > You received this message because you are subscribed to the Google Groups >

Re: [Neo4j] Neo4j 2.1.8 and 2.2

2016-05-24 Thread 'Michael Hunger' via Neo4j
You can find them here: http://neo4j.com/download/other-releases and 2.1.8 is here: http://info.neo4j.com/download-thanks.html?edition=community&release=2.1.8&flavour=unix > Am 24.05.2016 um 14:13 schrieb Andreas Georgiou : > > Can someone paste me a download link for the version 2.1.8 and 2.

Re: [Neo4j] NEO4J Endless- query

2016-05-24 Thread 'Michael Hunger' via Neo4j
I answered on SO. Can you show your query plans? You can run EXPLAIN with your query. You create a Cross Product between hash a and b and then times the :ced relationships of b -> o How much heap do you have assigned to your DB? Michael > Am 23.05.2016 um 21:43 schrieb 'Frank' via Neo4j : >

Re: [Neo4j] GraphGist Installation

2016-05-24 Thread 'Michael Hunger' via Neo4j
ng Services Pvt. Ltd. will not be liable to any client or third party > for the accuracy of the information supplied through this service. > > Innoplexus Consulting Services Pvt. Ltd. accepts no responsibility or > liability for the contents of any other site, whether linked to this s

Re: [Neo4j] Neo4j service not restarting after crashing

2016-05-23 Thread 'Michael Hunger' via Neo4j
That's weird. these are the last 3 messages on the 21st: Pointing triggered by scheduler for time threshold [168]: Check pointing completed 2016-05-21 00:47:07.034+ INFO [o.n.k.i.t.l.p.LogPruningImpl] Log Rotation [0]: Starting log pruning. 2016-05-21 00:47:07.034+ INFO [o.n.k.i.t.l

Re: [Neo4j] I need to understand how I create a new bank

2016-05-23 Thread 'Michael Hunger' via Neo4j
You just create your data either as disconnected graphs, ... or use multiple databases ... Currently there is only one database running at a time, you can select other database names by config. > Am 18.05.2016 um 16:53 schrieb aline.man...@outlook.com: > > Good morning everyone. I apologize f

Re: [Neo4j] GraphGist Installation

2016-05-23 Thread 'Michael Hunger' via Neo4j
will not be liable to any client or third party > for the accuracy of the information supplied through this service. > > Innoplexus Consulting Services Pvt. Ltd. accepts no responsibility or > liability for the contents of any other site, whether linked to this site or > not, or a

Re: [Neo4j] GraphGist Installation

2016-05-22 Thread 'Michael Hunger' via Neo4j
nt or third party > for the accuracy of the information supplied through this service. > > Innoplexus Consulting Services Pvt. Ltd. accepts no responsibility or > liability for the contents of any other site, whether linked to this site or > not, or any consequences from y

Re: [Neo4j] GraphGist Installation

2016-05-22 Thread 'Michael Hunger' via Neo4j
s site or > not, or any consequences from your acting upon the contents of another site. > > Please Consider the environment before printing this email. > > On Mon, May 23, 2016 at 11:55 AM, 'Michael Hunger' via Neo4j > wrote: > I think structr (http://structr.org) can be

Re: [Neo4j] Marketplace built with Neo4j

2016-05-22 Thread 'Michael Hunger' via Neo4j
I think structr (http://structr.org) can be something you're looking for. It's a graph application platform on top of Neo4j with a rich JS-UI for designing sites and pages and lots of functionality (incl. payment) out of the box. Axel cc'ed might be able to point you to the right resources for

Re: [Neo4j] Visuaization Tool for Neo4J

2016-05-22 Thread 'Michael Hunger' via Neo4j
Max De Marzi has a ton of write-ups on Data Visualization: https://maxdemarzi.com/tag/visualization-2/ My colleague Will has been working on a visualization example too (built on viz.js): https://github.com/johnymontana/neovis.js For Python Nicole White has a good notebook: http://nicolewhite.

Re: [Neo4j] Neo4j service not restarting after crashing

2016-05-22 Thread 'Michael Hunger' via Neo4j
Can you share your /var/lib/neo4j/graph.db/messages.log and /var/lib/neo4j/logs/neo4j.log ? And /var/log/neo4j/neo4j.log (I think it's there). Michael > Am 19.05.2016 um 19:17 schrieb con...@principal.la: > > Hi, > > I have installed Neo4j 2.3.3 on an Ubuntu 14.04 server via apt-get and use

Re: [Neo4j] How to understand cypher example?

2016-05-22 Thread 'Michael Hunger' via Neo4j
It creates data. Pairs of people are sent in as a parameter list For each pair each person is created (merged by name) and then connected. > Am 22.05.2016 um 23:11 schrieb Andy : > > From neo4j.com/developer ? > I am neo4j beginner. > First , we have: > String insertQuery = "UNWIND {pairs} a

Re: [Neo4j] Neo4J query to do Group By on Nodes for same type of data

2016-05-17 Thread 'Michael Hunger' via Neo4j
MATCH (person:Person)-[:ADDRESS_AT]->(address:Address) WITH address, COLLECT(person.name) AS names WHERE size(names) > 1 RETURN address, names; > Am 17.05.2016 um 01:52 schrieb Docers Docy : > > > 0 > down vote > favorite > Following is what I created in Neo4j: > > Nodes: Customer Names, Cust

Re: [Neo4j] decode noe4j database 2.1.4

2016-05-17 Thread 'Michael Hunger' via Neo4j
Why / what do you want to do? > Am 17.05.2016 um 07:50 schrieb Eduardo Sepulveda : > > Hi, I am trying to decode a neo4j database which is in a format 2.1.4. i had > a lot of troubles doing it by myself, so is any that could help to get the > information that is inside de neo4j folder? > > >

Re: [Neo4j] save and restore database state

2016-05-17 Thread 'Michael Hunger' via Neo4j
What's your use-case? Michael > Am 17.05.2016 um 22:37 schrieb Jens Weber : > > Is there a way to save and restore neo4j graph database states (other than by > using transactions)? Of course, I know that there is a backup mechanism, but > I am looking for something faster, something that can b

Re: [Neo4j] Anybody currently using Neo4j with Django?

2016-05-17 Thread 'Michael Hunger' via Neo4j
I saw this popping up today, but Nigel also wanted to add some support to py2neo afaik. https://twitter.com/py3k/status/732788101102374913 Michael > Am 17.05.2016 um 04:34 schrieb Jeff Ericson : > > I don't see much fresh data here or on SO. I tried to set up a new project > in Django (my pr

Re: [Neo4j] Shortest path using query

2016-05-17 Thread 'Michael Hunger' via Neo4j
Just add a WHERE clause (at least in Neo4j 3.x) WHERE ALL( rel in rels(path) WHERE rel.cost > 10) > Am 17.05.2016 um 15:19 schrieb Johan Kumps : > > Hi, > > I'm currently calculating the shortest paths between 2 nodes via the SEM_SIM > relationship using the following query: > > @Query("MATCH

Re: [Neo4j] Multi Machine Setup not working

2016-05-15 Thread 'Michael Hunger' via Neo4j
iability for the contents of any other site, whether linked to this site or > not, or any consequences from your acting upon the contents of another site. > > Please Consider the environment before printing this email. > > On Sun, May 15, 2016 at 10:28 PM, 'Michael

Re: [Neo4j] Multi Machine Setup not working

2016-05-15 Thread 'Michael Hunger' via Neo4j
Can you share the config files for all 3 machines? > Am 13.05.2016 um 01:35 schrieb yayati.s...@innoplexus.com: > > Hi, > I am trying to setup multi Machine cluster for Neo4j 3.0.1(Milestone). I am > repeatedly getting the following error from my Log Files. > > 2016-05-13 06:26:35.251+ INFO

Re: [Neo4j] Get GC overhead limit exceeded while executing batches of cypher query

2016-05-13 Thread 'Michael Hunger' via Neo4j
e uniqueness of relationship, so when > should I use create unique and when I should I use merge? Thanks. > > Kind regards, > Cherie > > On 13 May, 2016 12:16 pm, "'Michael Hunger' via Neo4j" > wrote: > > Your tx-handling code looks wrong. > >

Re: [Neo4j] Get GC overhead limit exceeded while executing batches of cypher query

2016-05-13 Thread 'Michael Hunger' via Neo4j
Your tx-handling code looks wrong. You should execute the whole batch of creating the connections in the other thread, Just grabbing the transaction there is very dangerous as the tx will be used that's attached to the current thread instead. I also recommend batching in cypher, that makes it

Re: [Neo4j] Get GC overhead limit exceeded while executing batches of cypher query

2016-05-13 Thread 'Michael Hunger' via Neo4j
Can you share your actual code and queries Von meinem iPhone gesendet > Am 12.05.2016 um 18:52 schrieb Cherie Pun : > > I am trying to iterate through the results from the first query and execute > an extra cypher query for each result to either create or find the existing > relationship. Howe

Re: [Neo4j] neo4j 2.3.3 / 3.x and gephi 0.9.1

2016-05-12 Thread 'Michael Hunger' via Neo4j
That update has always be a pain. It would be much better if the gephi plugin connected to Neo4j server via HTTP or Bolt and pulled the data from there using Cypher. I currently don't have the capacity. But if there is anyone with some Netbeans experience I would be more than happy to support t

Re: [Neo4j] Maximum Number of Lucene Indexes

2016-05-11 Thread 'Michael Hunger' via Neo4j
There is no principal limit, but as the number grows, it will affect your write performance as all those indexes have to be updated. What numbers are you looking at? > Am 12.05.2016 um 02:00 schrieb Andrew Campbell > : > > Is there a limit to the number of lucene indexes? > > -- > You receiv

Re: [Neo4j] Neo4j load csv with float type issue

2016-05-11 Thread 'Michael Hunger' via Neo4j
In Neo4j 3.0 you can also use the distance function for "close enough" connections Make sure to create an index on :GeoCoordinates(postalCode); LOAD CSV WITH HEADERS FROM "file:/event.csv" AS row MATCH (g :GeoCoordinates {postalCode: row.zip}) // distance in meters WHERE distance( point ({lati

Re: [Neo4j] Neo4j start successfully, but with no data

2016-05-11 Thread 'Michael Hunger' via Neo4j
What does the code view show? > Am 11.05.2016 um 18:23 schrieb Zhixuan Wang : > > I am using neo4j-2.3.3 now > > After some batch jobs running over night which resulted in a crash, I noticed > that my neo4j server can not return any data after restarting. > The following command would return

Re: [Neo4j] Re: Grass files are cool...

2016-05-09 Thread 'Michael Hunger' via Neo4j
Probably a parsing issue. I forwarded your find to the team. In 3.0.1 you can also use :style with an Url or literal grass text following. Von meinem iPhone gesendet > Am 06.05.2016 um 10:00 schrieb koen : > > Hi, i noticed the same. Btw when you use an other character such as an equal > sig

Re: [Neo4j] Neo4j 3.0 failed to start after reboot ubuntu 14.04

2016-05-07 Thread 'Michael Hunger' via Neo4j
Hmm, are you sure there is no other process accessing the database? can you try to manually start and stop the neo4j server? Perhaps it's something in the shutdown sequence that just does a hard-kill? Steven, do you have any ideas? Michael > Am 03.05.2016 um 10:58 schrieb Eran Hazout : > > H

Re: [Neo4j] neo4j 3.0 + Safari 9.1

2016-05-07 Thread 'Michael Hunger' via Neo4j
can you share some screenshots? and check if there are any errors in the developer console? Michael > Am 07.05.2016 um 01:25 schrieb Joshua Bae : > > Hi > I often find that I cannot make spaces in the coding window, which makes me > restart the browser or copy codes from below cards. > I had t

Re: [Neo4j] How do I configure MacOSX server ?

2016-05-07 Thread 'Michael Hunger' via Neo4j
There is an "Options" button in the starter that points to the config file and some other locations. Michael > Am 01.05.2016 um 06:23 schrieb George Williams : > > Hi ! > > I installed Neo4J Community Edition successfully via the DMG installer. > > I'm trying to turn off authentication and th

Re: [Neo4j] Re: Using Neo4j Community edition in commercial applications

2016-05-07 Thread 'Michael Hunger' via Neo4j
Dennis, you can also just apply to the Neo4j startup program for enterprise edition, then all questions are resolved :) Michael > Am 02.05.2016 um 05:01 schrieb Dennis O : > > Hi @Levi, > > Could you please elaborate on the "running inside your organization" phrase > on that licensing page?

Re: [Neo4j] Complete novice - "wannabe" graphista

2016-05-01 Thread 'Michael Hunger' via Neo4j
Let us know how it goes and join our friendly neo4j.com/slack channel Von meinem iPhone gesendet > Am 01.05.2016 um 19:48 schrieb rdst...@rdsengineering.com: > > Many thanks, > > I had just got stuck into learning Java but I will switch to Javascript > before I have invested too much time! I h

Re: [Neo4j] Compile and Run Neo4j embedded in Java application

2016-04-30 Thread 'Michael Hunger' via Neo4j
Why embedded? Use the official java driver wit neo4j server Von meinem iPhone gesendet > Am 29.04.2016 um 15:27 schrieb Arnold HIEN : > > Hello everybody > > I come to you to know how to execute a program neo4j embedded in Java via the > Eclipse IDE. > > I have problems of compilation, conce

Re: [Neo4j] Neo4j 3.0.0 statement executed in 0 ms.

2016-04-30 Thread 'Michael Hunger' via Neo4j
Yes and it will be fixed Von meinem iPhone gesendet > Am 28.04.2016 um 04:50 schrieb xi long : > > I update neo4j to 3,0.0 > > And whatever I excute , it return statement executed in 0ms. Is this a bug? > > Added 749 labels, created 749 nodes, set 16721 properties, statement executed > in 0

Re: [Neo4j] Complete novice - "wannabe" graphista

2016-04-30 Thread 'Michael Hunger' via Neo4j
Best find one of the online or offline academies that teach stuff well Then learn javascript it helps you both on frontend and backend. We have now an official js driver which you can use in the browser and backend services. Find a local mentor or co-worker for your idea to get going. I have

Re: [Neo4j] Re: Importing DBLP into Neo4j, the database doesn't start....

2016-04-29 Thread 'Michael Hunger' via Neo4j
Create a normal schema index not a manual lucene index There is a method to create deferred schema indexes and constraints. Von meinem iPhone gesendet > Am 29.04.2016 um 23:04 schrieb Mohammad Hossain Namaki : > > Finally, I've stopped the process and run the neo4j server for that database. >

Re: [Neo4j] Importing DBLP into Neo4j, the database doesn't start....

2016-04-29 Thread 'Michael Hunger' via Neo4j
You are not supposed to set the pagesize And leave off that cache capacity Von meinem iPhone gesendet > Am 28.04.2016 um 21:37 schrieb Mohammad Hossain Namaki : > > Dear all, > Hi, > I've wrote a java code to import "dblp" into the Neo4j. It's using the > batchInserter to create the dataset. H

Re: [Neo4j] Slow ingestion rate

2016-04-22 Thread 'Michael Hunger' via Neo4j
Can you share your queries and a query plan? Also do you have constraints for the merge properties? Are any of the nodes you insert or connect to heavily contended? Michael Von meinem iPhone gesendet > Am 19.04.2016 um 15:23 schrieb virprudensnocontraventummin...@gmail.com: > > We're loading

Re: [Neo4j] counting node properties

2016-04-22 Thread 'Michael Hunger' via Neo4j
I agree with Eve Return size(collect(distinct color))) as colors, size(collect(distinct size))) as sizes Von meinem iPhone gesendet > Am 20.04.2016 um 00:33 schrieb Eve Freeman : > > Can you give an example output? > > There are two ways I typically do this: > - collect the field I don't wa

Re: [Neo4j] Count(*) is very slow on a big database

2016-04-22 Thread 'Michael Hunger' via Neo4j
these ones will be single digit ms in Neo4j 3.0 1. MATCH (:`label1`)-[:rel1]->() RETURN COUNT(*); 1. MATCH ()-[:rel1]->(:`label2`) RETURN COUNT(*); 2. On Thu, Apr 21, 2016 at 12:08 AM, wrote: > Michael, > > the label in the relation's target, sped up the query a little

Re: [Neo4j] Count(*) is very slow on a big database

2016-04-19 Thread 'Michael Hunger' via Neo4j
Double Negation ? r1 is never null Add a label to n1 Use a Union Look at the query plan with profile Try this: MATCH (n:`label1`:`label2`) WHERE size( (n)-[:rel1]->() ) = 0 RETURN COUNT(n) AS count; UNION MATCH (n:`label1`:`label2`)-[r1:rel1]->(n1:Label3) WHERE n1.`name` IN ["name1","name2"] RET

Re: [Neo4j] neo4j server can easily be crashed by not optimized query?

2016-04-18 Thread 'Michael Hunger' via Neo4j
1. Use labels you don't need the WITH (except for LIMIT batching) and you should be able to delete up to 1M entities per transaction with a heap size of 4G so you can use LIMIT 100 Michael On Tue, Apr 19, 2016 at 3:28 AM, kincheong lau wrote: > in the neo4j browser, i usually got 'discou

Re: [Neo4j] neo4j server can easily be crashed by not optimized query?

2016-04-18 Thread 'Michael Hunger' via Neo4j
You should be able to abort that long running query by terminating the transaction: 1. click the (x) in the neo4j browser 2. press ctrl-c if you use Neo4j shell 3. if you run the statements programmatically, create a tx (embedded or remote) and then call tx.terminate() from another thread. what w

Re: [Neo4j] Benchmarking MySQL and Neo4J

2016-04-17 Thread 'Michael Hunger' via Neo4j
Can you share the concrete queries? Your Cypher query is not valid cypher. Do you have an index / constraint on the name property? And you should use a label. create index on :User(name); or create constraint on (u:User) assert u.name is unique; I have a database of 2M users and run these queri

Re: [Neo4j] Re: About indexes

2016-04-16 Thread 'Michael Hunger' via Neo4j
There are also some more write-ups like http://jexp.de/blog/2015/04/on-neo4j-indexes-match-merge/ http://blog.armbruster-it.de/2013/12/indexing-in-neo4j-an-overview/ On Sat, Apr 16, 2016 at 9:08 AM, Kamilos wrote: > > okay thanks, now it's seems more clear to me. > > Is there a particular reaso

Re: [Neo4j] [Help] Spring Data + Neo4J : XML Configuration => no XSD ?

2016-04-15 Thread 'Michael Hunger' via Neo4j
SDN 4 has no XML configuration anymore. Use Java config please. See the docs for more details. On Fri, Apr 15, 2016 at 8:07 PM, Issam El Hachimi wrote: > Hello guys, > > I want to start a project with Spring Data + Neo4J. > When app is starting, I have this problem : > > Configuration problem: U

Re: [Neo4j] Using Neo4j in java application

2016-04-15 Thread 'Michael Hunger' via Neo4j
Both work it depends on your use-case. What kind of analysis do you want to do? Michael On Thu, Apr 14, 2016 at 10:42 PM, Cherie Pun wrote: > Hi, > > I am looking into storing twitter data into graph database for some > relation analysis. I am hoping to use neo4j but I am a bit lost as to how

Re: [Neo4j] K-hop Query Using Cypher

2016-04-13 Thread 'Michael Hunger' via Neo4j
yes sure :) MATCH (a:Person{name:1})-->(b)-->(c) with collect(DISTINCT b) as nodesDist1, c MATCH (c)-->(d) with nodesDist1, filter(n in collect(DISTINCT c) WHERE NOT n in nodesDist1) as nodesDist2,collect(DISTINCT d) as nodesDist3 RETURN nodesDist1,nodeDist2, filter(n in nodesDist3

Re: [Neo4j] optional match

2016-04-13 Thread 'Michael Hunger' via Neo4j
Please share your full query. On Wed, Apr 13, 2016 at 12:32 PM, Marwa Elabri wrote: > i want to use a match close after an optional match close and this return > an error that i have to use a with close between them when i try to make > this > this still do not work > > > -- > You received this

Re: [Neo4j] K-hop Query Using Cypher

2016-04-13 Thread 'Michael Hunger' via Neo4j
Try this: MATCH (a:Person{name:1})-->(b)-->(c)-->(d) with collect(DISTINCT b) as nodesDist1, collect(DISTINCT c) as nodesDist2,collect(DISTINCT d) as nodesDist3 RETURN nodesDist1, filter(n in nodesDist2 WHERE NOT n in nodesDist1) as nodesDist2, filter(n in nodesDist

Re: [Neo4j] Re: from Spreadsheets to Graph vs relational for School Use-Case

2016-04-13 Thread 'Michael Hunger' via Neo4j
Great answer Josh ! On Wed, Apr 13, 2016 at 1:50 AM, wrote: > Richard, > > It sounds like you've got a good handle on your data. Before you choose an > engine, I recommend you figure out how you will query it. What are the > questions you are asking of the data? > > If you have particularly grap

Re: [Neo4j] Problem in starting Neo4j Server

2016-04-12 Thread 'Michael Hunger' via Neo4j
Can you share your log files? you should see them under "Options". Did you change/update the Neo4j version ? On Tue, Apr 5, 2016 at 12:15 PM, Asma Rani < asma.r...@pilani.bits-pilani.ac.in> wrote: > Hello Sir, > > I am working with provenance storage in graph database as provenance is a > tree li

Re: [Neo4j] from Spreadsheets to Graph vs relational for School Use-Case

2016-04-12 Thread &#x27;Michael Hunger&#x27; via Neo4j
Richard, I think you understood the graph data model well enough to get started, I recommend to take the online intro course to get up to speed with the query language. it should be easy to get your data imported into Neo4j with LOAD CSV + MERGE for hosting there are cloud hosting offerings for

Re: [Neo4j] How to Connect with Geo server

2016-04-12 Thread &#x27;Michael Hunger&#x27; via Neo4j
Can you explain your use-case a bit more? Neo4j Spatial is a GIS library for Neo4j that can be connected to GeoServer. http://neo4j-contrib.github.io/spatial/#spatial-geoserver On Tue, Apr 12, 2016 at 11:03 AM, eswar reddy wrote: > HI Team > I want to make a connection with geo server .could y

Re: [Neo4j] cypher request

2016-04-12 Thread &#x27;Michael Hunger&#x27; via Neo4j
The optional match is like an outer join MATCH (s:Student) OPTIONAL MATCH (s)-[:REGISTRATIOn]->(c:Course) WITH s, count(c) as courses RETURN s.name, s.intelligence, courses On Tue, Apr 12, 2016 at 12:19 PM, Marwa Elabri wrote: > please can one help me to find a solution to this request > > i h

Re: [Neo4j] Concurrent access to Neo4j from desktop apps

2016-04-10 Thread &#x27;Michael Hunger&#x27; via Neo4j
Can you share how the code you access the database and the error? If you run it as a server and then access it via an http driver you can use as many clients as you want. On Sun, Apr 10, 2016 at 4:21 PM, Abhishek Sharma wrote: > Hi All, > > I am planning to create a desktop app (Java or C# WPF)

Re: [Neo4j] using various alternatives to create a Neo4j database for the first time

2016-04-10 Thread &#x27;Michael Hunger&#x27; via Neo4j
Last year we had a hackathon the Sunday before. And I presented on graph compute with Neo4j. You can also meet me in Dresden when I'm around. Please let me know if you want to meet. Where are you originally located? On Sun, Apr 10, 2016 at 7:42 PM, 'Guenter Hipler' via Neo4j < neo4j@googlegrou

Re: [Neo4j] Free text search

2016-04-08 Thread &#x27;Michael Hunger&#x27; via Neo4j
It has, yes. What's your use case? Neo4j uses lucene under the hood (the history is a bit complicated). But the upcoming version will again have fully integrated FTS within the query language for all STARTS WITH, CONTAINS, ENDS WITH. On Wed, Apr 6, 2016 at 1:23 AM, Lennart Borgman wrote: >

Re: [Neo4j] How to assert node uniqueness using a composition of its properties?

2016-04-06 Thread &#x27;Michael Hunger&#x27; via Neo4j
Shouldn't passport be unique?? You can use an array property or string concat for the unique property Von meinem iPhone gesendet > Am 06.04.2016 um 15:09 schrieb Diaa ElKott : > > Thanks a lot for your prompt response, Clark; it is most appreciated! I had > hoped that there would be a way to a

Re: [Neo4j] Difference between arrays

2016-04-03 Thread &#x27;Michael Hunger&#x27; via Neo4j
Matteo, you can try: MATCH (a:Label {id:1}),(b:Label {id:2}) WITH [ idx in range(0,size(a.prop)-1) WHERE a.prop[idx] != b.prop[idx] | a.prop[idx] - b.prop[idx] ] as diff SET a.diff = diff RETURN diff, [x in diff WHERE x < 0.1] as below_treshold Cypher has a number of really useful collection fu

Re: [Neo4j] Help debugging server crash

2016-04-02 Thread &#x27;Michael Hunger&#x27; via Neo4j
Hi Cypher avoids cycles in matched paths by following a relationship only once but you can add additional checks. In the Java Traversal API there is more fine grained control of uniqueness in a path. Michael Von meinem iPhone gesendet > Am 01.04.2016 um 17:28 schrieb Tim Pierson : > > Tha

Re: [Neo4j] Re: Runtime Error in Neo4j-JDBC: java.lang.NoSuchMethodError: scala.Predef$.$conforms()Lscala/Predef$$less$colon$less;

2016-04-01 Thread &#x27;Michael Hunger&#x27; via Neo4j
it should be pulled in automatically, weird. good that you found it Michael > Am 02.04.2016 um 01:34 schrieb cui r : > > > found the issue, need to add the following when running unit testing: > > > org.scala-lang > scala-compiler > 2.11.7 > test > > > version 2.11.7 is de

Re: [Neo4j] Re: Runtime Error in Neo4j-JDBC: java.lang.NoSuchMethodError: scala.Predef$.$conforms()Lscala/Predef$$less$colon$less;

2016-04-01 Thread &#x27;Michael Hunger&#x27; via Neo4j
Sure you have to change your embedded instance to 2.3.2 too Otherwise you get version conflicts as you gto. Michael > Am 01.04.2016 um 21:19 schrieb cui r : > > If I switch the datasource back to the remote Neo4j server, it works fine. So > I guess there is something wrong with the datasource

Re: [Neo4j] Help debugging server crash

2016-03-31 Thread &#x27;Michael Hunger&#x27; via Neo4j
I just saw that you have much more RAM available than you use. You're running with 1G heap only but 4G of page-cache for the DB You should adapt the latter to your db-size and up the heap to 4 or 8 G depending on your use-case. Also if you could share your concrete queries that would be more hel

Re: [Neo4j] two identical relationships to the same node

2016-03-31 Thread &#x27;Michael Hunger&#x27; via Neo4j
do you think you could reproduce it? Could it be that one of your rel-types has an "invisible" leading or trailing whitespace? Michael > Am 31.03.2016 um 23:48 schrieb Eric Fulton : > > That's good to know. As I've said before, we are not executing in a threaded > environment. > > Thanks, >

<    2   3   4   5   6   7