Re: [Neo4j] authentication and authorisation

2014-01-06 Thread Michael Hunger
This should help you: http://docs.neo4j.org/chunked/stable/security-server.html Am 07.01.2014 um 07:06 schrieb Ramesh Yakkala : > Hi, > > I am using neo4j 1.9.5 and the core java neo4j api with server un managed > extension. I would like to provide security for database authentication and > au

Re: [Neo4j] performance with many relationships per node

2014-01-06 Thread Jason W
Michael, What do you mean by filter on the relationship type? I was under the impression that all relationships for a node are in the same linked list and there's no fast way to filter for the relationship type without traversing through the whole linked list. On Monday, January 6, 2014 5:43:

[Neo4j] authentication and authorisation

2014-01-06 Thread Ramesh Yakkala
Hi, I am using neo4j 1.9.5 and the core java neo4j api with server un managed extension. I would like to provide security for database authentication and authorisation along with application security for users authentication and authorisation. Could you please some one to help to implement thi

Re: [Neo4j] batch importer performance issue

2014-01-06 Thread Michael Hunger
Please check the import.sh script at the top it says HEAP=4G change that to HEAP=20G Other than that it still can be a disk issue, do you have an SSD or a spinning disk? Perhaps you can have a look at the blog post I mentioned. HTH Michael Am 06.01.2014 um 23:38 schrieb ilhan : > Q.how do y

[Neo4j] Re: batch importer performance issue

2014-01-06 Thread ilhan
Q.how do you run it? Do you provide enough heap to the importer? I.e. 20GB ? A.i didnt unterstand exactly but i am running it import.sh utility. I am new in linux so i dont know how to provide heap to the importer? could you please tell me how? Q. So you have 110M Animals and 460M rels and 42M H

Re: [Neo4j] changing configurations during import

2014-01-06 Thread Michael Hunger
The config is only read once at startup. You have to restart the db to change the config (afaik). Cheers Michael Am 06.01.2014 um 19:52 schrieb Alex Frieden : > Hi all, > I have a bash file that is doing various embedded mode imports. What happens > if I change the configs during that proces

Re: [Neo4j] Does 1.9.x contain the fix for the "stale index entries" bug?

2014-01-06 Thread Michael Hunger
Should have been fixed in 1.9.M02 see this commit https://github.com/neo4j/neo4j/commit/a303084c57c3721d9168d1e2748e8beed9496645 Am 06.01.2014 um 20:17 schrieb brian : > Hello, > > Could someone confirm whether this bug is fixed in the 1.9 stream? I posted > a description of the problem in t

Re: [Neo4j] performance with many relationships per node

2014-01-06 Thread Nicholas Stuart
I have suffered from this issue and we have a few workarounds currently that fit our data model. I do not recommend indexing as a solution. We attempted to do this, and it lead to GC problems as Lucene was create a lot of trash, so my high performance query was spending a lot of time doing GC.

[Neo4j] Spring Data Neo4j Conversions and event listeners

2014-01-06 Thread Michael Andrews
Hi there, I'm using Spring Data Neo4j 3.0.0.M1, along with Neo4j 2.0.0-RC1. My issue is with converting my complex Entity to a flat node object using repositories. I certainly understand that I might want to model a bit differently for Neo4j - but was really hoping that SDN provided some kind

[Neo4j] Does 1.9.x contain the fix for the "stale index entries" bug?

2014-01-06 Thread brian
Hello, Could someone confirm whether this bug is fixed in the 1.9 stream? I posted a description of the problem in this SO post (http://stackoverflow.com/questions/20910662/possible-indexing-bug-in-neo4j-1-8-3), but I couldn't locate the specific issue that matches. Thanks. -brian -- You

[Neo4j] changing configurations during import

2014-01-06 Thread Alex Frieden
Hi all, I have a bash file that is doing various embedded mode imports. What happens if I change the configs during that process (namely the cache file sizes). Thanks! -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group a

Re: [Neo4j] Re: Gephi database import error

2014-01-06 Thread Patrick Ian
I tried downloading the attached attributes nbm file that supposedly fixed it -- are these the changes you were trying to push? Is there somewhere I can download the working source tree? On Saturday, January 4, 2014 5:34:50 PM UTC-8, Michael Hunger wrote: > > We tried to. But got no support from

[Neo4j] Re: Gephi database import error

2014-01-06 Thread Patrick Ian
I even downloaded the attached attributes nbm that was supposedly fixed, but that still didn't fix the problem. Are those the changes you were trying to merge? On Thursday, January 2, 2014 11:54:49 AM UTC-8, Alan Pereyra wrote: > > While attempting to import a database from Neo4j to Gephi, I get

Re: [Neo4j] Embedded or REST server when accessing Neo4j simutaneously from Java and Ruby components?

2014-01-06 Thread Michael Hunger
The best way would be to write an unmanaged extension and deploy it into the server: http://docs.neo4j.org/chunked/milestone/server-unmanaged-extensions.html See also examples from Max here: http://maxdemarzi.com/2012/11/27/pathfinding-with-neo4j-unmanaged-extensions/ there are more: http://ma

Re: [Neo4j] batch importer performance issue

2014-01-06 Thread Michael Hunger
It is quite slow to begin with. how do you run it? Do you provide enough heap to the importer? I.e. 20GB ? Also can you check your disk performance? http://structr.org/blog/neo4j-performance-on-ext4 So you have 110M Animals and 460M rels and 42M Holdings and ??? rels there? More RAM would hel

[Neo4j] Embedded or REST server when accessing Neo4j simutaneously from Java and Ruby components?

2014-01-06 Thread Cassio Melo
In my use case, one component is written in Ruby and access the Neo4j db via its REST interface. Another component, written in Java, does scheduled operations on the same database. The Ruby component is the default application using Neo4j while the Java component is just an algorithm *triggered

[Neo4j] batch importer performance issue

2014-01-06 Thread ilhan
Hi I am using bacth importer to load my inital data. I have two type of node.(e.g. Animal, Holding) Thats why i have two type of csv structure. So i have to load data in two step. first I load Animals nodes and relations into graph.db than the holdings info and their relations with Animals into

Re: [Neo4j] label matching not working

2014-01-06 Thread Kyle Williams
Hi Michael Thanks for the response. See the first post in this thread for what I mean by "it doesn't work." Basically, it comes down to label matching not working at run time. There were no errors at import time and everything completed successfully. I also don't believe that I had any quirks in m

Re: [Neo4j] label matching not working

2014-01-06 Thread Michael Hunger
What exactly "didn't work" ? did you see any error messages? Any chance that you had some quirks in the input data? Like newlines in fields? Could you re-try it? I think when you posted your question initially neither Neo4j 2.0.0 final was released nor the batch-importer updated to that version.

Re: [Neo4j] label matching not working

2014-01-06 Thread Kyle Williams
Hi Michael My apologies for the late reply, I have been on vacation. I did use the 2.0 release of batch-import. I've attached some sample data. Also, as I said in a previous post: labels worked on a small file (hundred of nodes) but not on a large file 20 million+ nodes. On Sunday, 15 Decembe

Re: [Neo4j] Re: Issue in Query

2014-01-06 Thread Sukaant Chaudhary
Hi Luanne, Following query is working now but sometimes it does not work may be some server issue. START m=node(2), n = node(*) OPTIONAL MATCH p=(m)-[r:FOLLOWED_BY|CREATED_BY|FOLLOW_PENDING]->(n) WITH r, n WHERE has(n.timeBoardName) AND n.timeBoardName =~ "(?i)exp.*" RETURN r, n; -Sukaant Chaudha

Re: [Neo4j] Is SDN 2.3.3 compatible with Spring 4.0 ?

2014-01-06 Thread Grégoire Colbert
Hi Michael, So you mean I have to use SDN 3.0.0.M1 ? With 2.3.3, I have the following problem : java.lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.ClassMetadataReadingVisitor has interface org.springframework.asm.ClassVisitor as super class Thanks, Grégoi

Re: [Neo4j] Is SDN 2.3.3 compatible with Spring 4.0 ?

2014-01-06 Thread Michael Hunger
SDN 3.0 should be compatible with Spring 4.0 What was the issue with SDN 2.3.3 and Spring Framework 4.0 again? Michael Am 06.01.2014 um 14:13 schrieb Grégoire Colbert : > Hi, > > Spring Data Neo4j 2.3.3 has dependencies for Spring 3.1.4. Should we wait for > a new version of Spring Data Neo4j

[Neo4j] Is SDN 2.3.3 compatible with Spring 4.0 ?

2014-01-06 Thread Grégoire Colbert
Hi, Spring Data Neo4j 2.3.3 has dependencies for Spring 3.1.4. Should we wait for a new version of Spring Data Neo4j or is it possible to use Spring Framework 4.0.0.RELEASE? Thanks, Grégoire -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubs

Re: [Neo4j] recursive query

2014-01-06 Thread Michael Hunger
You would model those infected-by information relationships between the nodes, not as property containing a number. Then you can use variable length paths to do long and also circular matches in the graph. MATCH p=(n:Person {name:"Mina"})-[:INFECTED_BY*]->(m) RETURN path,m HTH Michael Am 06.

Re: [Neo4j] performance with many relationships per node

2014-01-06 Thread Michael Hunger
Jason, The release is afaik planned either for some time in Q2 2014. actually the workarounds are not so difficult. The easiest one is to add a separate node which holds the 1M relationships. So your actual node has just 1+100, the 100 that you mentioned of type 2 and the one to the separate n

[Neo4j] recursive query

2014-01-06 Thread mina sh
i want to get recursive query in neo4j with cypher. in dataset ,nodes has property "whom" that shows the node get infected by whom (for exmaple node[1] is infected by node[10].-> node(1).whom= 10 ) i want to search the graph recurively from the node[1] to node [10] and recursively so on to reach