Re: [Neo4j] [SDN 3.1.2] / tx.close() not immediately updating a node label (assumption)

2014-08-12 Thread Michael Azerhad
Eventually, it's a little touchy since I did replayed some tests all day long in order to notice again the issue (with SDN) for hours; without managing to reproduce it :( If it happens again, I will make a very deep analysis before arguing "it's the fault of SDN" ;) My thought is that in so

[Neo4j] Re: NEO4J in Montreal?

2014-08-12 Thread Rodger
I should add, my blog is: http://rodgersnotes.wordpress.com You can see some of the work I've done with NEO4J there. On Tuesday, August 5, 2014 9:18:22 AM UTC-5, Rodger wrote: > > Hello, > > Are there any NEO4J enthusiasts in Montreal? > > > -- You received this message because you are subsc

[Neo4j] Re: LOAD CSV on bulk, performance

2014-08-12 Thread gg4u
Hello, I am following the advice of Rik, https://github.com/jexp/batch-import/tree/20 it is real promising! I have still issues when using my own custom csv with the batch importer: Exception in thread "main" org.neo4j.graphdb.NotFoundException: id=39 at org.neo4j.unsafe.batchinsert.BatchInserte

Re: [Neo4j] Wildcard character in CYPHER

2014-08-12 Thread Wes Freeman
No. Schema/label indexes are only exact lookups yet. Wes On Tue, Aug 12, 2014 at 4:34 PM, Alan Robertson wrote: > Would it speed up (via indexes) if you added *'n.name >= > "Michael"'* ? > > > > On 08/12/2014 01:13 PM, Wes Freeman wrote: > > The way you need to do this (curre

Re: [Neo4j] Wildcard character in CYPHER

2014-08-12 Thread Alan Robertson
Would it speed up (via indexes) if you added /'n.name >= "Michael"'/ ? On 08/12/2014 01:13 PM, Wes Freeman wrote: The way you need to do this (currently) is with the regex syntax: MATCH (n) where n.name =~ "Michael.*" RETURN n http://docs.neo4j.org/chunked/milestone/query-wh

Re: [Neo4j] Wildcard character in CYPHER

2014-08-12 Thread Wes Freeman
The way you need to do this (currently) is with the regex syntax: MATCH (n) where n.name =~ "Michael.*" RETURN n http://docs.neo4j.org/chunked/milestone/query-where.html#_regular_expressions Wes -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To uns

[Neo4j] Wildcard character in CYPHER

2014-08-12 Thread Mohana Krishna
What is the wildcard character in CYPHER? I wish to query all nodes that have name starting with "Michael". I have used 'Match n where n.name="Michael:*" return n' which is not giving any results. (It is returning 0 nodes though there are nodes whose name start with Michael) Please help. --

[Neo4j] Re: LOAD CSV on bulk, performance

2014-08-12 Thread gg4u
Hi Rik! ...in minutes? I'd like to understand how I could get closer to that result, though I will try also that library. that's kind of strange for me, cause both using the LOAD CSV functionality from shell, both doing a transaction each time, it looks like I run into a memory heap problem.

[Neo4j] Re: "Unknown Error" using "withinDistance"

2014-08-12 Thread Mohana Krishna
Somebody please reply. On Tuesday, 12 August 2014 20:00:01 UTC+5:30, Mohana Krishna wrote: > > Hello, > > I have loaded the spatial data in the attached file using REST API script > (which is also attached). The nodes are created and I can visualize them on > DB. > > However when I perform the

[Neo4j] Re: LOAD CSV on bulk, performance

2014-08-12 Thread Rik Van Bruggen
I think you should use the batch importer for this size of a graph. You will be done in minutes, not hours. https://github.com/jexp/batch-import/tree/20 Rik On Tuesday, August 12, 2014 5:13:39 PM UTC+1, gg4u wrote: > > Hello, > > here i am trying to upload a massive network: > 4M nodes, 100M co

[Neo4j] LOAD on bulk with neo4j rest client (python) > are transactions destroyed when finished?

2014-08-12 Thread gg4u
Hello, trying to upload a massive network 4M nodes and 100M correlations; also opened a thread here for benchmark, using native LOAD CSV https://groups.google.com/d/msg/neo4j/EVdq1qUaFQY/1URYc9hYeMgJ I think that with neo4j rest client I may have more control on transactions: https://neo4j-rest-

[Neo4j] LOAD CSV on bulk, performance

2014-08-12 Thread gg4u
Hello, here i am trying to upload a massive network: 4M nodes, 100M correlations. having problems of memory and perfomance, I'd like to know if I am doing it OK: 1. Before loading the correlations, I wanted to load the nodes. 2. Set up neo4-wrapper and neo4j.properties as written in http://ww

Re: [Neo4j] linear combination of multiple properties

2014-08-12 Thread XDiscovery Team
mmm thank you Michael, i will try this out. i was also getting 0 rows because i noticed that i previously created relationshpis between nodes by limiting the results, so it was not said that, between two nodes, there would have been the two types of relationships I was looking for. On Sun, Aug 1

[Neo4j] TransactionNotPresentOnMasterException error when executing writes on slave instance

2014-08-12 Thread Erk
I have neo4j 1.9.7 running with 3 instances (2 embedded, and one standalone). Lately we've been seeing the following exception when writes are executed against a slave instance. The slave instance is an embedded neo4j where our web application is running. Anyone have any ideas as to why this h

[Neo4j] "Unknown Error" using "withinDistance"

2014-08-12 Thread Mohana Krishna
Hello, I have loaded the spatial data in the attached file using REST API script (which is also attached). The nodes are created and I can visualize them on DB. However when I perform the query "START n=node:geom('withinDistance:[41.8082, -87.7084, 10.0]') RETURN n" in CYPHER window , I am

Re: [Neo4j] Using "Point" data type with neo4j spatial

2014-08-12 Thread Peter Neubauer
Mohanna, we are working on putting spatial capabilities into Cypher, however for now I would use the REST API or the Java spatial API to index your points. /peter G: neubauer.peter S: peter.neubauer P: +46 704 106975 L: http://www.linkedin.com/in/neubauer T: @peterneubauer

[Neo4j] Using "Point" data type with neo4j spatial

2014-08-12 Thread Mohana Krishna
Hi, I am new to ne04j spatial. I want to store some crime data in neo4j (spatial data with lat-long values) from csv file. I have neo4j spatial plugin enabled. Can I load lat,long values as 'float' type from csv and perform spatial functions such as 'within_distance' on them? If I can't do

Re: [Neo4j] Possible bug (2.0.0) - fail to commit transactions that are read-only cypher queries (nothing to commit !?)

2014-08-12 Thread Craig Taverner
One option I liked was that the implied close() would also imply success for read-only transactions. I'm not sure why it is still possible to have a failed transaction when it's read-only. Perhaps something to do with HA, so we probably need to hear from the experts on this. I believe they brought

Re: [Neo4j] Possible bug (2.0.0) - fail to commit transactions that are read-only cypher queries (nothing to commit !?)

2014-08-12 Thread M. David Allen
Well, thanks for that blog post. The explanation makes sense, and it's now clear on how to fix this. OTOH, I thought one of the benefits of the Java 7-style transaction was that you didn't have to call tx.success().I.e., we used to write this: try { Transaction tx = graphDb.beginTx();

Re: [Neo4j] Lost in "unable to commit transaction" errors, during move from 1.9.3 -> 2.0.0 (now all reads require transactions)

2014-08-12 Thread Craig Taverner
I had similar problems and found it was due to nested read-only transactions where the inner tx did not call success(), but the outer one did. I blogged the details here: http://blog.amanzi.org/2014/08/neo4j-read-only-transactions-still-need.html. Perhaps this helps. On Friday, January 3, 201

Re: [Neo4j] Possible bug (2.0.0) - fail to commit transactions that are read-only cypher queries (nothing to commit !?)

2014-08-12 Thread Craig Taverner
I've also been hit by this, or a similar problem. I found my problem was related to nested read-only transactions and the case when the inner transaction did not call succss(), but the outer one did. I wrote of a blog on this at http://blog.amanzi.org/2014/08/neo4j-read-only-transactions-still-

[Neo4j] Neo4j embedded in production environment

2014-08-12 Thread Stephen Muss
I am currently running a Neo4j HA cluster in a production environment and use the REST interface for all database communication. However, I was wondering how common a practice it is to run a Neo4j embedded database in a web production environment. In particular, I am curious about what best pra

Re: [Neo4j] Node with several timestamps & data per timestamp

2014-08-12 Thread Alireza Rezaei Mahdiraji
Hi Michael, The vector of data refer to some variables. One instance query would be like: we might want to compute the average of a variable for all timestamp in a week. Does that help? Thanks, Best, Alireza On Monday, August 11, 2014 11:44:22 PM UTC+2, Michael Hunger wrote: > > Depends

Re: [Neo4j] [SDN 3.1.2] / tx.close() not immediately updating a node label (assumption)

2014-08-12 Thread Michael Azerhad
I forgot to point out that I'm using the REST mode, more relevant to a potential async behaviour.., just for the info. On Tuesday, August 12, 2014 12:48:08 PM UTC+2, Michael Azerhad wrote: > > I didn't try without SDN .. > I'm reading the actual code of SDN to detect something that could be > li

Re: [Neo4j] [SDN 3.1.2] / tx.close() not immediately updating a node label (assumption)

2014-08-12 Thread Michael Azerhad
I didn't try without SDN .. I'm reading the actual code of SDN to detect something that could be linked but I'm only seeing pure synchronous call. Will try now to make it without SDN at all :) Is it really "absurd" to think of an async behaviour of transaction commit? Or is it quite possible?

Re: [Neo4j] [SDN 3.1.2] / tx.close() not immediately updating a node label (assumption)

2014-08-12 Thread Michael Hunger
Would you be able to reproduce it without SDN, just plain neo and ExecutionEngine? Sent from mobile device Am 12.08.2014 um 12:36 schrieb Michael Azerhad : > Hi, > > I'm using SDN 3.1.2 with Neo4j 2.1.2. > > I have this (simple) Akka code (a worker actor retrieving new events in a > kind of

[Neo4j] Re: [SDN 3.1.2] / tx.close() not immediately updating a node label (assumption)

2014-08-12 Thread Michael Azerhad
The title is not exact, I wanted to mean tx.success() instead of tx.close(). Thanks ;) On Tuesday, August 12, 2014 12:36:12 PM UTC+2, Michael Azerhad wrote: > > Hi, > > I'm using SDN 3.1.2 with Neo4j 2.1.2. > > I have this (simple) Akka code (a worker actor retrieving new events in a > kind of l

[Neo4j] [SDN 3.1.2] / tx.close() not immediately updating a node label (assumption)

2014-08-12 Thread Michael Azerhad
Hi, I'm using SDN 3.1.2 with Neo4j 2.1.2. I have this (simple) Akka code (a worker actor retrieving new events in a kind of loop to consume them): def receive = { case RetrieveNewEvents => val tx = graphDatabaseService.beginTx() //starts transaction try { val newEvents

[Neo4j] About Neo4j's licenses, especially Personal License

2014-08-12 Thread Oula Paltto
I would like to ask Neo4j's official representatives about Neo4j's licenses, especially Personal License. My situation is that I'm a master's student of the University of Jyväskylä, Finland. We are planning and soon, I hope, implementing a smart city: http://www3.jkl.fi/blogit/kangasjyvaskyla/?

[Neo4j] Locking differences between Enterprise and Community

2014-08-12 Thread Mike Holdsworth
I run a ton of tests against Neo4j community for both basic functionality and stress testing concurrency behaviour and schema changes. They're all passing nicely thank you. I thought I'd have a look at how they run against the enterprise edition and was surprised to experience ~14 failures with