Re: [Neo4j] Re: Poor performance on relatively big db

2016-12-29 Thread 'Michael Hunger' via Neo4j
7; RETURN 1 should use the compiled runtime and run faster than the interpreted runtime. In 3.2 it will be again (runtime=compiled) or actually the default in enterprise. Michael On Thu, Dec 29, 2016 at 10:07 PM, Michael Hunger < michael.hun...@neotechnology.com> wrote: > It depends a

Re: [Neo4j] Re: Poor performance on relatively big db

2016-12-29 Thread &#x27;Michael Hunger' via Neo4j
n, r1 -- n1 | > (n1)<-[r1:REL1]-(n) | > | | ++-+-- > ---+-+---+ > | +NodeIndexSeek| 1 | 1 | 2 | n1 | > :Label1(pro

Re: [Neo4j] apoc .. config

2016-12-29 Thread &#x27;Michael Hunger' via Neo4j
The config is usually a map, and most often I documented it in the user docs. For files it is currently only the batch-size for cypher exports. Michael On Thu, Dec 29, 2016 at 3:49 PM, koen wrote: > Hi, when looking through the fantastic amount of apoc functions i often > see a parameter calle

Re: [Neo4j] Re: Poor performance on relatively big db

2016-12-28 Thread &#x27;Michael Hunger' via Neo4j
I would turn boolean properties, like international into a label. like this: MATCH (n1:`Club`)<-[r1:CLUB]-(n:International) WHERE n1.name='FC Barcelona' RETURN COUNT(*) AS `Count` Something seems to be off with your data too. As there are hardly 2.2M international players in FC Barcelona (and 2

Re: [Neo4j] Re: neo4j browser display nodes as images

2016-12-28 Thread &#x27;Michael Hunger' via Neo4j
ze etc. you can set the size in the code ```image + .attr("x", "-24px") + .attr("y", "-24px") + .attr("width", "48px") + .attr("height", "48px") ``` so if you want 128px or 256px pictures

Re: [Neo4j] Re: neo4j browser display nodes as images

2016-12-28 Thread &#x27;Michael Hunger' via Neo4j
els types .. where to store > images / icons .. is this already for 3.1 or for a beta of 3.2 > > 2016-12-28 11:24 GMT+01:00 'Michael Hunger' via Neo4j < > neo4j@googlegroups.com>: > >> There is an experimental feature setting in the configuration sidebar.

Re: [Neo4j] Re: neo4j browser display nodes as images

2016-12-28 Thread &#x27;Michael Hunger' via Neo4j
There is an experimental feature setting in the configuration sidebar. If you check that you have the icons. Von meinem iPhone gesendet > Am 28.12.2016 um 09:42 schrieb koen : > > hi, any ideas here ? would like to use that functionality too.. adds great > value when displaying the graph im

Re: [Neo4j] How to write a query when a node has two same directions

2016-12-20 Thread &#x27;Michael Hunger' via Neo4j
Hi Ravi, MATCH (a:Person {name:"A"}) MATCH (a)-[:HAS_WIFE]->(d) MATCH (a)-[:LIVES_IN]->(c) MATCH (a)-[:HAS]->(b) RETURN a,b,c,d you can also join neo4j.com/slack and ask there. Michael On Mon, Dec 19, 2016 at 8:18 PM, wrote: > Hi All, > > I am new to Neo4J and learning to write queries. I ha

Re: [Neo4j] Migration fail from old version

2016-12-20 Thread &#x27;Michael Hunger' via Neo4j
Can you remove the spaces? -> dbms.allow_format_migration=true Where did you set it the config option? And can you check that you put the graphdb files in the right folder? On Tue, Dec 13, 2016 at 3:42 PM, Tim wrote: > Hi,all > I'm trying to migrate the data of old version 2.3.0 to newer

Re: [Neo4j] Is there a way to update the relationship all in once?

2016-12-20 Thread &#x27;Michael Hunger' via Neo4j
The apoc procedure library has a number of such graph refactorings, that can redirect relationships in one go. You can also join neo4j.com/slack and ask there. HTH Michael On Tue, Dec 20, 2016 at 9:15 PM, wrote: > Hi,

Re: [Neo4j] duration in Cypher

2016-12-15 Thread &#x27;Michael Hunger' via Neo4j
Where n.duration > '00:30:00' Von meinem iPhone gesendet > Am 15.12.2016 um 20:03 schrieb Fares : > > Hi, > > I am wondering it would be possible to write a cypher query to model the > following: > > > assume that I have different durations for diffierent mobile calls such as > duration-1 00

Re: [Neo4j] Re: More recursion than I expected

2016-12-14 Thread &#x27;Michael Hunger' via Neo4j
The reason is that meta graph uses db statistics. But those are not sufficiently detailed so additional relationships are inferred. Fixed it by sampling and checking potentially wrong relationships In 3.1.0.3 and the to be released 3.0.4.2 Von meinem iPhone gesendet > Am 15.12.2016 um 01:

Re: [Neo4j] Programatic export to csv file?

2016-12-13 Thread &#x27;Michael Hunger' via Neo4j
file, too. > > Dave > >> On Mon, Dec 12, 2016 at 12:56 PM, 'Michael Hunger' via Neo4j >> wrote: >> Hi Dave >> >> sorry for the confusion. >> the docs represent what's in the master branch (3.0.3-SNAPSHOT) >> >> apoc 3.1.x is

Re: [Neo4j] Programatic export to csv file?

2016-12-12 Thread &#x27;Michael Hunger' via Neo4j
raph, apoc.export.cypherQuery, apoc.export.graphml.all, >> apoc.export.graphml.data, apoc.export.graphml.graph, >> apoc.export.graphml.query, apoc.generate.ba, >> >> On Tuesday, November 22, 2016 at 2:51:40 AM UTC-8, Michael Hunger wrote: >>> >>> I added CSV export to ap

Re: [Neo4j] What are reasonable desktop capabilities of a standalone Neo4j installation

2016-12-12 Thread &#x27;Michael Hunger' via Neo4j
Sorry to say that but 5000 properties per node sound really a bit off, usually you would destructure that huge bag of information into a small subgraph of related nodes. Usually in a graph model people have 5-20 properties in extreme cases perhaps 50. What is your model for / what does it look li

Re: [Neo4j] neo4j-shell: run an OS command

2016-12-12 Thread &#x27;Michael Hunger' via Neo4j
You can use the neo4j-shell for scripting (e.g. with -q and -c command or -f file) , output the info you want to use and use e.g. xargs or a unix-shell for loop. On Sun, Dec 11, 2016 at 5:10 PM, wrote: > Let's say I'm navigating through my data and I store a link/path to a > picture, document

Re: [Neo4j] use neo4j java driver

2016-12-12 Thread &#x27;Michael Hunger' via Neo4j
The neo4j binary drivers only work with Neo4j from version 3.0 Michael On Thu, Dec 8, 2016 at 1:12 PM, Afsane wrote: > Hello. I am new to neo4j. I want to use java-driver-1.0.6 > I am added jar files to my java project and started neo4j 2.0.0. when I > ran this code: > > import org.neo4j.driver

Re: [Neo4j] Properties vs Labels ... (Newbie question)

2016-12-12 Thread &#x27;Michael Hunger' via Neo4j
Hi Dave, labels are stored and queried quite efficiently as they are part of the node-record. Properties are stored separatedly in property-records via an indirection and are also compressed, so that that they have to be unserialized on access. So if you have a fact / class / tag / boolean value

Re: [Neo4j] Contribute to Neo4j

2016-12-06 Thread &#x27;Michael Hunger' via Neo4j
Sorry, but Neo4j might not be a good choice for you to contribute, it is a highly complex and demanding database system. Most people working on it have 5-20 years of deep Java experience. Please try to make your first steps in a separate project. And first determine if you really need to add a new

Re: [Neo4j] does 'id' field get auto generated? 3.0.7

2016-12-06 Thread &#x27;Michael Hunger' via Neo4j
the id(node) is an internal id (like a row-id or mongo's internal document id). It is generated and also reused from deleted nodes. If you don't share the id with an external system or users you can use it to identify a node e.g. within a transaction or within an import session. If you share the

Re: [Neo4j] any way to modify grass file programatically

2016-12-06 Thread &#x27;Michael Hunger' via Neo4j
You probably have to do that manually. But the Neo4j browser is not an application platform, so you might want to use an visualization library to render your graph for your own app? Michael On Mon, Nov 28, 2016 at 3:40 AM, Chetan Deshmukh < chetan.d.deshm...@gmail.com> wrote: > HI, > > I have t

Re: [Neo4j] neo4j capability for ticketing system requirement

2016-12-06 Thread &#x27;Michael Hunger' via Neo4j
I think you got a lot of information on the slack channel already, let us know if you need more. On Sat, Dec 3, 2016 at 2:46 PM, Kyaw Paing wrote: > Hi all, > > I am new to neo4j and it is really amazing. However I am having difficulty > deciding whether my requires can be done using neo4j alone

Re: Private message regarding: [Neo4j] Reg : How to create common relationship between nodes, or among relationship using py2neo or cypher

2016-12-06 Thread &#x27;Michael Hunger' via Neo4j
2 > > = > > How to define one employee works for one department. How to define > relationship for it. and also department have many employee in particular > department. > > > > On Tuesday, July 21, 2015 at 3:35:51 PM UTC+5:30, Micha

Re: [Neo4j] Neo4j 3.1: Embedded Causal Clustering?

2016-12-06 Thread &#x27;Michael Hunger' via Neo4j
ib/neo4j-apoc-procedures/blob/3.1/src/main/java/apoc/cluster/Cluster.java#L51 The implementation of dbms.cluster.overview is here https://github.com/neo4j/neo4j/blob/3.1/enterprise/causal-clustering/src/main/java/org/neo4j/causalclustering/discovery/procedures/ClusterOverviewProcedure.java#L76

Re: [Neo4j] Neo4j 3.1: Embedded Causal Clustering?

2016-12-06 Thread &#x27;Michael Hunger' via Neo4j
Hi, as I learned yesterday you can use (with the correct configs) causal cluster in embedded but currently have to make sure yourself that the writes are going to the leader, there is no auto-routing. It's not an officially suggested mode of operations. The recommendation from the team is to only

Re: [Neo4j] no quotes arounds so how do I do 'cypher create node using label + property, map, or json'

2016-12-01 Thread &#x27;Michael Hunger' via Neo4j
Can you provide more detail on what you've tried? Von meinem iPhone gesendet > Am 02.12.2016 um 03:00 schrieb grimace : > > I would like to do a cypher create node with a Label and a java.util.Map. > I've tried converting the Map to json, or just using toString(). Is there > support to do th

Re: [Neo4j] is there any way to modify grass file programmatically?

2016-11-28 Thread &#x27;Michael Hunger' via Neo4j
Oskar knows? Michael On Mon, Nov 28, 2016 at 2:12 PM, Chetan Deshmukh < chetan.d.deshm...@gmail.com> wrote: > Hi Michael, > > Thats what i mean by manual style. I want a way to do it without using > browser. Is it possible? > > Thanks, > Chetan > > On Mon,

Re: [Neo4j] Common admin patterns

2016-11-28 Thread &#x27;Michael Hunger' via Neo4j
Hi Ronald, not totally sure what you're looking for. Have you see the operations manual? http://neo4j.com/docs/operations-manual/current Much of it applies to the tar-gz/zip download though which is rather meant for server installation. If you're on windows you can also use powershell for more a

Re: [Neo4j] is there any way to modify grass file programmatically?

2016-11-28 Thread &#x27;Michael Hunger' via Neo4j
you can download the style grass file and then use this as a command in browser: :style { grass style content ... } On Mon, Nov 28, 2016 at 3:57 AM, Chetan Deshmukh < chetan.d.deshm...@gmail.com> wrote: > My requirement is apply 2 labels success and failures based on test > results to node

Re: [Neo4j] Unable to import a csv file with one row of entries

2016-11-27 Thread &#x27;Michael Hunger' via Neo4j
k you! (importing and querying was just a breeze) > Kind regards > Alessandro > > Il giorno venerdì 25 novembre 2016 15:15:00 UTC+1, Michael Hunger ha > scritto: >> >> I think it's a problem with dropbox returning something which is not an >> csv file >> &

Re: [Neo4j] APOC binaries on Github are out of sync with the version described in the documentation

2016-11-27 Thread &#x27;Michael Hunger' via Neo4j
Good point, I'll add the project version of the docs to the docs. We'll think about versioning the docs, unfortunately the GH pages publication is only from the master branch right now. Michael On Sun, Nov 27, 2016 at 5:33 AM, Glenn Hoetker wrote: > Very, very excited to see the new apoc.expor

Re: [Neo4j] Unable to import a csv file with one row of entries

2016-11-25 Thread &#x27;Michael Hunger' via Neo4j
I think it's a problem with dropbox returning something which is not an csv file There is at least one redirect and also some cookie thingy going on. I had good experience with public dropbox files. Michael On Fri, Nov 25, 2016 at 1:16 PM, <5785.a...@gmail.com> wrote: > Hello there, > as title

Re: [Neo4j] Null Pointer Exception while calling loadAll method of Neo4jTemplate class

2016-11-23 Thread &#x27;Michael Hunger' via Neo4j
Can you provide a failing test case? And the full stack trace Von meinem iPhone gesendet > Am 23.11.2016 um 09:40 schrieb gitanshu.be...@freecharge.com: > > Null Pointer Exception while calling loadAll method of Neo4jTemplate class > with valid arguments. > > I have a Test Class with @NodeEnt

Re: [Neo4j] Re: Unable connect to neo4j at `localhost:7687`

2016-11-23 Thread &#x27;Michael Hunger' via Neo4j
Delete ~/.neo4j/known_hosts Von meinem iPhone gesendet > Am 22.11.2016 um 20:27 schrieb Mhammed Najim : > > > >> On Monday, November 21, 2016 at 9:18:47 PM UTC+3, Mhammed Najim wrote: >> Hi everybody! >> when I delete Neo4j V neo4j-community_macos_3_1_0-M12-beta2 from my mac >> machine, I

Re: [Neo4j] Programatic export to csv file?

2016-11-22 Thread &#x27;Michael Hunger' via Neo4j
neo4j-contrib.github.io/neo4j-apoc-procedures/#_configuration_options Michael On Tue, Nov 22, 2016 at 7:19 AM, Michael Hunger < michael.hun...@neotechnology.com> wrote: > Your use-case is interesting, grab me on neo4j.com/slack and we can chat > about the procedure. > > Should be e

Re: [Neo4j] Programatic export to csv file?

2016-11-21 Thread &#x27;Michael Hunger' via Neo4j
t; Glenn > > On Monday, November 21, 2016 at 11:09:37 PM UTC-7, Michael Hunger wrote: >> >> There is currently no "simple" export command, but I want to add one to >> the apoc procedure library, just haven't gotten around to do it. >> >> https://github.

Re: [Neo4j] Programatic export to csv file?

2016-11-21 Thread &#x27;Michael Hunger' via Neo4j
There is currently no "simple" export command, but I want to add one to the apoc procedure library, just haven't gotten around to do it. https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/117 Meanwhile if you can run neo4j-shell you could use: https://github.com/jexp/neo4j-shell-tools#

Re: [Neo4j] Neo4j Cypher :: Nested Query :: Update a node with max() value from another query

2016-11-14 Thread &#x27;Michael Hunger' via Neo4j
This doesn't really make sense, did you read through the Cypher online training? you probably mean something like MATCH (personalData:PersonalData) -[:USED_ON]-> (resource:Resource) <-[:OWNS]-(org:Organisation {organisationId : 'XXX--ZZZ'} ) *MATCH (personalDataItem : PersonalDataItem) <-[:CO

Re: [Neo4j] No roles etc. in 3.1 Beta 3?

2016-11-08 Thread &#x27;Michael Hunger' via Neo4j
Extended Security is an enterprise feature You can grab the enterprise download from the same page Michael Von meinem iPhone gesendet > Am 08.11.2016 um 12:06 schrieb Christoph Pingel : > > Hi, I'm testing neo4j 3.1 beta 3, community edition. > :server user list > renders a list of users, b

Re: [Neo4j] Link neo4j and a rdbm

2016-11-06 Thread &#x27;Michael Hunger' via Neo4j
You could use apoc.load.jdbc, see: https://neo4j-contrib.github.io/neo4j-apoc-procedures/#_load_jdbc On Sat, Nov 5, 2016 at 9:09 AM, david peyreton wrote: > Hi, > > Is it possible to link neo4j with an rdbm like sybase ? > > I need to create some link as a view to select some data directly from

Re: [Neo4j] Access to the Webadmin

2016-11-06 Thread &#x27;Michael Hunger' via Neo4j
Webadmin is no longer available as of Neo4j 3.x Michael On Thu, Nov 3, 2016 at 9:59 PM, Mohammed Najim wrote: > Hi, everyone > I want to know how to access of Neo4j localhost:­7474/­webadmin/­ > . I have Neo4j 3.0.6 on my machine. > Thanks. > > -- > You recei

Re: [Neo4j] Re: Using Neo4j 3.0.6 from Terminal

2016-11-05 Thread &#x27;Michael Hunger' via Neo4j
Just use the script from the gist I shared to start a neo4j-shell and then past your code. on mac: java -cp /Applications/Neo4j\ Community\ Edition.app/Contents/Resources/app/bin/neo4j-desktop-3.0.2.jar org.neo4j.shell.StartClient "$@" on windows: "C:\Program Files\Neo4j Community\jre\bin\java"

Re: [Neo4j] Using Neo4j 3.0.6 from Terminal

2016-11-03 Thread &#x27;Michael Hunger' via Neo4j
There is no Webadmin in Neo4j 3.0.x just neo4j browser on localhost:7474/browser I presume you installed the desktop app. Why would you want to use it from the terminal? If you need the version for the terminal, download the "tar" variant from https://neo4j.com/download/other-releases/ Michael

Re: [Neo4j] Deleting lots of nodes

2016-11-03 Thread &#x27;Michael Hunger' via Neo4j
How much memory do you have? And how many relationships. Batching works actually nicely, e.g. MATCH(n:node) WITH n limit 10 DETACH DELETE n With our procedure library you could do: call apoc.periodic.commit("MATCH(n:node) WITH n limit 10 DETACH DELETE n RETURN count(*)",{}) Michael O

Re: [Neo4j] Re: Neo4j import in new versions on Mac

2016-11-01 Thread &#x27;Michael Hunger' via Neo4j
The script not closed, just download the raw version and edit it locally if you have to. And you start terminal via Dashboard or the finder. M On Tue, Nov 1, 2016 at 9:52 PM, Mhammed Najim wrote: > > > On Tuesday, October 4, 2016 at 11:05:55 AM UTC+3, Mohammad Hossein Namaki > wrote: >> >> Dear

Re: [Neo4j] Analysis of CDR (Call Details Records) using Neo4j for SIMbox detection

2016-11-01 Thread &#x27;Michael Hunger' via Neo4j
Hey, we've done a large scale CDR project at a major Telco company. That one was mostly around accounting and recommendations. Fraud detection would require a different model, but my colleague who worked on that said if you're interested, feel free to contact us officially

Re: [Neo4j] "Could not apply the transaction to the store after written to log" when doing merge(n:People {name: "Bob"})

2016-10-26 Thread &#x27;Michael Hunger' via Neo4j
; > On Thursday, October 20, 2016 at 5:25:42 PM UTC-7, Michael Hunger wrote: >> >> can you share your logfiles? >> >> On Fri, Oct 21, 2016 at 1:24 AM, Ray Chengr wrote: >> >>> We are using Neo4j community edition 3.0.3 for a few months. After >>> re-ins

Re: [Neo4j] execution plan filter NOT(anon[37] == anon[56])

2016-10-26 Thread &#x27;Michael Hunger' via Neo4j
s filter is for eliminating them, am I right? > >> On Wednesday, October 26, 2016 at 3:52:05 PM UTC-7, Michael Hunger wrote: >> Cypher provides relationship-uniqueness per path, i.e. each relationship is >> only once part of a path returned by MATCH. >> >> THIS

Re: [Neo4j] execution plan filter NOT(anon[37] == anon[56])

2016-10-26 Thread &#x27;Michael Hunger' via Neo4j
Cypher provides relationship-uniqueness per path, i.e. each relationship is only once part of a path returned by MATCH. THIS predicate takes care of that in the logical plan. Michael On Thu, Oct 27, 2016 at 12:18 AM, Sun Yuhan wrote: > When I look into the execution plan by using profile opera

Re: [Neo4j] "Could not apply the transaction to the store after written to log" when doing merge(n:People {name: "Bob"})

2016-10-20 Thread &#x27;Michael Hunger' via Neo4j
can you share your logfiles? On Fri, Oct 21, 2016 at 1:24 AM, Ray Chengr wrote: > We are using Neo4j community edition 3.0.3 for a few months. After > re-installed Neo4j and applications to a new system, Neo4j was able to > start. After inserted a few hundred thousand Nodes and Relationships, we

Re: [Neo4j] Can someone help me in installing Neo4j in Red hat 6.x

2016-10-20 Thread &#x27;Michael Hunger' via Neo4j
Did you try to download the unix binary and just unzip it and start it with bin/neo4j console or bin/neo4j start? Michael On Wed, Oct 19, 2016 at 2:38 AM, wrote: > Hello All, > Our company wants us to do a poc on neo4j, for which I have been asked to > install neo4j. My current environment is >

Re: [Neo4j] Where is Neo4j-import in community edition 3.0.6?

2016-10-20 Thread &#x27;Michael Hunger' via Neo4j
It is not exposed officially, you would have to take the zip edition. But you can still call it, see here: https://gist.github.com/jexp/4692ad9cd14b6d9c1cc8bffa079c98fa On Wed, Oct 19, 2016 at 8:35 PM, Nopparit wrote: > Hi, > I am evaluating Neo4j and currently using community edition 3.0.6. >

Re: [Neo4j] Validate a org.neo4j.driver.v1.StatementResult

2016-10-19 Thread &#x27;Michael Hunger' via Neo4j
Hi Davide, there are two levels. One is syntactic query checking which you can also get by prefixing the query with EXPLAIN and then look for errors and also notifications. The other as you said is to run it (possibly in a tx that you might want to roll back). In general make sure to consume / c

Re: [Neo4j] Graph DB benchmarking (community project involving Neo4J)

2016-10-16 Thread &#x27;Michael Hunger' via Neo4j
Hi Ben & Alhamza, Thanks a lot for your effort. Alex Averbuch provided you detailed feedback on the GitHub repository, esp. also on the shortcomings of your approach. It would be great if you could address those. Thanks Michael On Tue, Oct 4, 2016 at 5:24 PM, Ben Steer wrote: > Hi all, > > My

Re: [Neo4j] How to start the neo4j-shell in v3.0.6

2016-10-16 Thread &#x27;Michael Hunger' via Neo4j
For Spatial you don't need the shell. Just browser is good enough esp. with the new spatial procedures, see: http://www.lyonwj.com/2016/08/09/neo4j-spatial-procedures-congressional-boundaries/ In community desktop it's not exposed by default, but you can use this: https://gist.github.com/jexp/469

Re: [Neo4j] neo4j-import and skip-duplicate-nodes over multiple files

2016-10-16 Thread &#x27;Michael Hunger' via Neo4j
Can you share the structure of your files? I.e. header? I think it resolves duplicates if you have the same group (or no group) across node-types. is geneSymbol your key property? -- Forwarded message -- From: Sajid Mughal Date: Wed, Oct 12, 2016 at 9:27 AM Subject: [Neo4j] neo4j

Re: [Neo4j] Optimize cypher - match union where clause

2016-10-16 Thread &#x27;Michael Hunger' via Neo4j
You would need to use optional match then. Would it make sense to turn 'type' into a label too? you could rewrite your query into: MATCH (c:cc {type : 'type'}) UNWIND keys(c) as key WHERE key IN ['facebook','email','phone',...] RETURN c.type as personType, key as attribute, c[key] as measure , c

Re: [Neo4j] aiuto

2016-10-16 Thread &#x27;Michael Hunger' via Neo4j
Would you mind asking in English? On Thu, Oct 13, 2016 at 3:33 PM, Valentina Di Cristofaro < vale.dicristofar...@gmail.com> wrote: > Salve, mi servirebbe un piccolo aiutino per Neo4j, qualcuno che è pratico > nel fare una query in cypher? > grazie > spero in una vostra risposta. > > -- > You rece

Re: [Neo4j] how to add more users to neo4j 3.0 or can we integrate with existing ldap like ping ?

2016-10-16 Thread &#x27;Michael Hunger' via Neo4j
Those capabilities were added to Neo4j 3.1 see: https://neo4j.com/blog/neo4j-3-1-beta-release/ On Tue, Oct 11, 2016 at 9:30 PM, kaja salaam wrote: > how to add more users to neo4j 3.0 or can we integrate with existing ldap > like ping ? > > -- > You received this message because you are subscri

Re: [Neo4j] I have no idea to fix [io.netty.channel.AbstractChannel] Force-closing a channel whose registration task was not accepted by an event loop

2016-10-16 Thread &#x27;Michael Hunger' via Neo4j
What do you mean by: 12W node ? How do you delete them? What is your memory configuration? On Tue, Oct 11, 2016 at 8:59 AM, 贾陆华 wrote: > My neo4j vesion is: neo4j-enterprise-3.0.4 trail version, when i delete > all 12W node from http page, it fail, and then i want to connect by jdbc, > it fai

Re: [Neo4j] Multiple COLLECT, loses data

2016-10-16 Thread &#x27;Michael Hunger' via Neo4j
The problem is, that your swimmerList is empty because aggregation functions don't collect null values. As they are disconnected So the UNWIND results in 0 rows. You could add a "dummy" value to cater for that. UNWIND case when size(swimmerList) = 0 then ['none'] else swimmerList end AS s or e

Re: [Neo4j] Re: Too many open files on a huge dataset with 110 labels

2016-10-07 Thread &#x27;Michael Hunger' via Neo4j
No worries. I was already wondering :) On Fri, Oct 7, 2016 at 8:40 AM, Mohammad Hossain Namaki wrote: > :( > I'm so sorry. It seems that there was a bug in my code that didn't close > open files in some cases. However, as I've seen this problem in forums I've > thought that this is from Neo4j. >

Re: [Neo4j] Re: Too many open files on a huge dataset with 110 labels

2016-10-06 Thread &#x27;Michael Hunger' via Neo4j
Also I'm not sure if the ulimit is per user or per process. So there might also be a per-user limit. Can you see if you have any other file-consuming apps open? Like an IDE or such? On Fri, Oct 7, 2016 at 8:37 AM, Michael Hunger < michael.hun...@neotechnology.com> wrote: > Are y

Re: [Neo4j] Re: Too many open files on a huge dataset with 110 labels

2016-10-06 Thread &#x27;Michael Hunger' via Neo4j
Are you sure you're closing your own files? Do you open any other files in your code? On Fri, Oct 7, 2016 at 8:16 AM, Mohammad Hossain Namaki wrote: > I've removed the label folder and run it again. I was watching the folder. > it first created a lot of files then removed all of them and created

Re: [Neo4j] Too many open files on a huge dataset with 110 labels

2016-10-06 Thread &#x27;Michael Hunger' via Neo4j
d the complete stack trace and debug.log of the dataset. > > > > > On Thursday, October 6, 2016 at 5:08:03 PM UTC-7, Michael Hunger wrote: >> >> Could you re-use previous labels? >> How big is your graph? >> >> Which exact Neo4j version do you us

Re: [Neo4j] Too many open files on a huge dataset with 110 labels

2016-10-06 Thread &#x27;Michael Hunger' via Neo4j
or dataGraph.getAllLabelsInUse(). I can wait for > getting the label from disk no need to be in memory(because I have my own > neighborhood indexing which works just by demand on the part of the graph > that I'm focusing on) > > > > > On Thursday, October 6, 2016 at 4:38:

Re: [Neo4j] Too many open files on a huge dataset with 110 labels

2016-10-06 Thread &#x27;Michael Hunger' via Neo4j
GraphDatabaseFactory().newEmbeddedDatabaseBuilder(storeDir) > .setConfig(GraphDatabaseSettings.pagecache_memory, > "6g").newGraphDatabase(); > > > > > > On Thursday, October 6, 2016 at 2:13:15 AM UTC-7, Michael Hunger wrote: >> >> perhap

Re: [Neo4j] Too many open files on a huge dataset with 110 labels

2016-10-06 Thread &#x27;Michael Hunger' via Neo4j
perhaps you can use a docker container instead which allows you to configure the open file limit? For storing the lookup from label -> list of nodes Neo4j uses an index under the hood. Michael On Wed, Oct 5, 2016 at 5:24 AM, Mohammad Hossain Namaki wrote: > Hi, > I've imported a huge dataset i

Re: [Neo4j] Neo4j 3.0.6 with Java - Create Relatiosnhip

2016-10-04 Thread &#x27;Michael Hunger' via Neo4j
eate the Nodes and Relationships using JavaAPI so I > was looking for this approach. > > Many Thanks, > Abhijit > >> On Monday, October 3, 2016 at 4:36:39 AM UTC+5:30, Michael Hunger wrote: >> Why do you want to do it from java? and not using the java-driver with >

Re: [Neo4j] When to use Nodes & Labels & Properties & Relationships

2016-10-04 Thread &#x27;Michael Hunger' via Neo4j
Really good question. It depends a bit on what you want to do with the data. In general as enrollment is an important concept, it would be turned into a node. CREATE (s:Student)-[:ENROLLED]->(e:Enrollment)-[:IN_COURSE]->(c:Course)<-[:PROVIDING]-(d:Department)-[:OF_COLLEGE]->(co:College),(e)-[:DUR

Re: [Neo4j] Neo4j import in new versions on Mac

2016-10-04 Thread &#x27;Michael Hunger' via Neo4j
Hi, it is not officially exposed. Either download the tar-gz version where you have it. Or use a script like this: https://gist.github.com/jexp/4692ad9cd14b6d9c1cc8bffa079c98fa On Tue, Oct 4, 2016 at 10:05 AM, Mohammad Hossain Namaki < mhn.na...@gmail.com> wrote: > Dear all Neo4j Programmers, >

Re: [Neo4j] Re: Neo4J Graph Visualization in MyWebApp

2016-10-04 Thread &#x27;Michael Hunger' via Neo4j
ogleusercontent.com/-5wRwywqUZds/V_N9NB_KjmI/AN0/JycXZp_KctoFJ42R291FVqwQw3kyPz5qwCLcB/s1600/Capture.PNG> > > I want the look of this should be similar to that of neo4j graph > relationship, any pointer on this. > > Thanks, > Abhijit > > > On Tuesday, October 4, 2016

Re: [Neo4j] Is there an embedded server that I can use to run test queries using the Bolt transport?

2016-10-04 Thread &#x27;Michael Hunger' via Neo4j
ame directly. > > On Monday, 3 October 2016 00:06:10 UTC+1, Michael Hunger wrote: >> >> There is neo4j-harness which is exactly what you want for this purpose. >> >> Here is an example on how it's used with bolt: >> >> https://git

Re: [Neo4j] Re: Neo4J Graph Visualization in MyWebApp

2016-10-04 Thread &#x27;Michael Hunger' via Neo4j
There is an example in neo4j.com/developer/guide-data-visualization On Mon, Oct 3, 2016 at 9:54 PM, Abhijit Gupta wrote: > Bit of more detail on this, > > Java Query to get the JSON data : > -- > String *relationship *= "MATCH (o)-[r:orgEntity_Portfolio]->(p

Re: [Neo4j] Neo4j publish

2016-10-02 Thread &#x27;Michael Hunger' via Neo4j
Not directly, you can create a graphgist for your domain + queries. see for some examples. http://neo4j.com/graphgists and here are some information on how to create and publish it: http://portal.graphgist.org/about M On Fri, Sep 30, 2016 at 8:18 AM, Palak Raina wrote: > Hi > How to publish n

Re: [Neo4j] Neo4j 3.0.6 with Java - Create Relatiosnhip

2016-10-02 Thread &#x27;Michael Hunger' via Neo4j
Why do you want to do it from java? and not using the java-driver with cypher? On Wed, Sep 28, 2016 at 10:20 AM, Abhijit Gupta wrote: > Hi All, > > I am new to Neo4J and able to create the Nodes and Relationship using CQL > from the Neo4J editor. > > From Java I am able to create the Nodes but u

Re: [Neo4j] Is there an embedded server that I can use to run test queries using the Bolt transport?

2016-10-02 Thread &#x27;Michael Hunger' via Neo4j
There is neo4j-harness which is exactly what you want for this purpose. Here is an example on how it's used with bolt: https://github.com/neo4j-examples/neo4j-procedure-template/blob/master/src/test/java/example/LegacyFullTextIndexTest.java#L17 On Sun, Oct 2, 2016 at 5:04 PM, Johan Dindaine wro

Re: [Neo4j] Neo4J Graph

2016-10-02 Thread &#x27;Michael Hunger' via Neo4j
you can query via db.execute(query) the visualization is in javascript and part of the neo4j browser, which is also an open source angular application in github.com/neo4j/neo4j-browser But for other visualization libraries check out http://neo4j.com/developer/guide-data-visualization Cheers, Mic

Re: [Neo4j] use the existing database in neo4j in centos

2016-10-02 Thread &#x27;Michael Hunger' via Neo4j
The databases live in data/database/xxx Where xxx is you configured name There is no extra graph.db contained Best use neo4j-admin import -from folder Von meinem iPhone gesendet > Am 02.10.2016 um 08:58 schrieb xi long : > > I copy a exiting database to centos , and set the neo4j/conf > d

Re: [Neo4j] How to retrieve a sorted list of objects based on number of incoming relationship

2016-09-29 Thread &#x27;Michael Hunger' via Neo4j
MATCH (a:Account) WITH a, size( (a)<-[:follows]-() ) as degree ORDER BY degree ASC RETURN a On Thu, Sep 29, 2016 at 4:48 PM, apprentice321 via Neo4j < neo4j@googlegroups.com> wrote: > I have an Account object that has a "Incoming" relation with other Account > Objects. > > > I need a couple of cy

Re: [Neo4j] NullPointerException using javascript neo4j-driver when overflowing connectionPoolSize

2016-09-28 Thread &#x27;Michael Hunger' via Neo4j
Yup Von meinem iPhone gesendet > Am 28.09.2016 um 09:22 schrieb Michał Sitarz : > > Sure, I guess you meant javascript driver? > > W dniu środa, 28 września 2016 02:25:32 UTC+2 użytkownik Michael Hunger > napisał: >> >> Could you please paste this as an gi

Re: [Neo4j] import owl file in neo4j

2016-09-28 Thread &#x27;Michael Hunger' via Neo4j
Check out: https://jesusbarrasa.wordpress.com For some really good articles on that topic. On Mon, Sep 19, 2016 at 1:50 AM, Dina Eldemrdash wrote: > I'm beginner programmer > i want to import owl file in neo4j and searh about keywords if founded in > ontology it draw in model > > -- > You recei

Re: [Neo4j] NullPointerException using javascript neo4j-driver when overflowing connectionPoolSize

2016-09-27 Thread &#x27;Michael Hunger' via Neo4j
Could you please paste this as an github issue for the java driver? On Tue, Sep 27, 2016 at 11:23 PM, Michał Sitarz wrote: > Hi! > > While I was writing unit tests for my app I noticed this exception when > testing more concurrent sessions than connectionPoolSize in javascript > neo4j-driver. >

Re: [Neo4j] Neo4J embedded on NFS

2016-09-26 Thread &#x27;Michael Hunger' via Neo4j
r scenario. > > Am Montag, 26. September 2016 17:55:00 UTC+2 schrieb Michael Hunger: >> >> Anything in the database log files? Which version do you use? >> >> I don't think you'll be happy with the performance on NFS though. >> >>> On Mon, Sep 2

Re: [Neo4j] Neo4J embedded on NFS

2016-09-26 Thread &#x27;Michael Hunger' via Neo4j
Anything in the database log files? Which version do you use? I don't think you'll be happy with the performance on NFS though. On Mon, Sep 26, 2016 at 2:29 PM, 'Rüdiger Gleim' via Neo4j < neo4j@googlegroups.com> wrote: > Hello, > I would like to use Neo4J in Embedded Mode on an NFS share. The i

Re: [Neo4j] USING PERIODIC COMMIT LOAD CSV statement

2016-09-26 Thread &#x27;Michael Hunger' via Neo4j
o4j.bolt.v1.runtime.internal.concurrent.SessionWorker. >> execute(SessionWorker.java:116) >> at org.neo4j.bolt.v1.runtime.internal.concurrent.SessionWorker. >> run(SessionWorker.java:77) >> at java.lang.Thread.run(Unknown Source) >> >> >> I tried this one >>

Re: [Neo4j] USING PERIODIC COMMIT LOAD CSV statement

2016-09-26 Thread &#x27;Michael Hunger' via Neo4j
Please use a released version, like 3.0.6 On Mon, Sep 26, 2016 at 12:34 PM, Marwa Elabri wrote: > I executed this statement using NEO4J verion 3.0 RC1 > > USING PERIODIC COMMIT LOAD > CSV WITH HEADERS FROM 'file:\\C:\\Program > Files\\PostgreSQL\\9.2\\data\\course.csv' > AS row > CREATE (:Cour

Re: [Neo4j] USING PERIODIC COMMIT LOAD CSV statement

2016-09-26 Thread &#x27;Michael Hunger' via Neo4j
Check the database logs and share the error? I presume you mean the Neo4j driver? Make sure you provide the csv data in the configured (in neo4j.conf) import directory. You might also have one slash too much. If you put your data into the import directory a file:///course.csv" should be good en

Re: [Neo4j] Update internal node Ids to be a sequence

2016-09-25 Thread &#x27;Michael Hunger' via Neo4j
Not sure why you need it. I recommend using an id property You can make a copy of the graph iterating over all nodes and recreating them to get sequential internal ids Von meinem iPhone gesendet > Am 26.09.2016 um 05:02 schrieb Mohammad Hossain Namaki : > > Dear programmers, > Hi, > I have

Re: [Neo4j] Stop and Start neo4j from remote machine

2016-09-23 Thread &#x27;Michael Hunger' via Neo4j
Use ssh to connect and start neo4j For remote access make sure to configure the ip address or 0.0.0.0 as http/bolt connector addresses Von meinem iPhone gesendet > Am 23.09.2016 um 04:32 schrieb Pradeep Panzade : > > How to start and stop neo4j from remote machine. > > I have configured > >

Re: [Neo4j] Djikstra with Cost Cypher Implementation?

2016-09-19 Thread &#x27;Michael Hunger' via Neo4j
> > > On Friday, 16 September 2016 16:39:25 UTC+1, Michael Hunger wrote: > >> Hi Ben, >> >> it is exposed as user defined procedure in the apoc library. >> >> You can find it here: https://neo4j-contrib.gi >> thub.io/neo4j-apoc-procedures/#_graph_algo

Re: [Neo4j] Schema index doesn't slow insertion

2016-09-16 Thread &#x27;Michael Hunger' via Neo4j
Can you share more details on what you do? do you have a constraint on the label property combination? otherwise teh lookup portion of merge always has to do a full label scan. Run your merge statement with PROFILE or EXPLAIN and share it with us. On Wed, Sep 14, 2016 at 1:59 AM, Sebastian Pus

Re: [Neo4j] Djikstra with Cost Cypher Implementation?

2016-09-16 Thread &#x27;Michael Hunger' via Neo4j
Hi Ben, it is exposed as user defined procedure in the apoc library. You can find it here: https://neo4j-contrib.github.io/neo4j-apoc-procedures/#_graph_algorithms_work_in_progress Install Instructions (just download and drop the jar into NEO4J_HOME/plugins) are in the readme: https://neo4j-cont

Re: [Neo4j] Introducing koa-neo4j - a NodeJs package for serving Neo4j as domain-specific REST APIs

2016-09-16 Thread &#x27;Michael Hunger' via Neo4j
Really nice, do you have an an example project and perhaps a blog post or screencasts that demoes it in action? It's kinda similar to my github.com/jexp/cypher-rs project, that stores cypher queries at an endpoint and then allows GET/POST requests on those? Michael On Thu, Sep 15, 2016 at 12:20

Re: [Neo4j] Need solution for below err.

2016-09-16 Thread &#x27;Michael Hunger' via Neo4j
can you please raise this at the github.com/neo4j/neo4j-java-driver/issues ? Thanks On Fri, Sep 16, 2016 at 9:54 AM, lahu sakhare wrote: > org.neo4j.driver.v1.exceptions.value.Uncoercible: Cannot coerce PATH to > Java List > at org.neo4j.driver.internal.value.ValueAdapter.asList( > ValueAdapter

Re: [Neo4j] when 3.1 will be officially released?

2016-09-14 Thread &#x27;Michael Hunger' via Neo4j
There will be a beta release in September and GA towards end of the year. Von meinem iPhone gesendet > Am 12.09.2016 um 17:39 schrieb 杨榕 : > > notice current release is 3.0.x missing user/role auth functionality which is > introduced in 3.1, so is there any time line when 3.1 will be officiall

Re: [Neo4j] Rookie problem with nodes and relationships

2016-09-10 Thread &#x27;Michael Hunger' via Neo4j
I don't think that the cypher run method returns a node in the first place. It returns a result object which you have to access to get its content. I'm not that well versed in py2neo, there might be other issues in the code example. Michael Von meinem iPhone gesendet > Am 11.09.2016 um 04:48

Re: [Neo4j] Neo4j: Ver 3.0.4 delete and re-insert label corruption

2016-09-02 Thread &#x27;Michael Hunger' via Neo4j
prohibited. If you received this communication in error, > please contact the sender and delete/destroy all copies of this communication > immediately. > > On Fri, Sep 2, 2016 at 3:44 AM, 'Michael Hunger' via Neo4j > mailto:neo4j@googlegroups.com>> wrote: > This sounds

Re: [Neo4j] How to show embedded database in the browser in Linux?

2016-09-02 Thread &#x27;Michael Hunger' via Neo4j
You have to set both, the directory and the active database dbms.directories.data=/home/behrang/demo dbms.active_database=neo.db > Am 16.05.2016 um 16:32 schrieb Behrang Saeedzadeh : > > I have created and populated an embedded database in: > > /home/behrang/demo/neo.db > > I have also create

Re: [Neo4j] Neo4j: Ver 3.0.4 delete and re-insert label corruption

2016-09-02 Thread &#x27;Michael Hunger' via Neo4j
This sounds very unsual. Where does the count show 29 ? Do you have a constraint on clients(ClientsID) ? please note that both labels and properties are case-sensitive Are you sure that your row.ClientsID is unique ? Can you share the full error, it misses the second part that explains the dupl

<    1   2   3   4   5   6   7   8   9   10   >