Re: [Neo4j] [Bug] Property can't be updated in Neo4j 3.0.0-M03

2016-02-22 Thread Chris Vest
How did you test this? It might be a result rendering artefact of your client. 
I’m not seeing any problem like that in 3.0.0-M4.

--
Chris Vest
System Engineer, Neo Technology
[ skype: mr.chrisvest, twitter: chvest ]


> On 18 Feb 2016, at 08:33, wenbo zhao  wrote:
> 
> Suppose you have a node:
> 
> (n {id: 1, content: "aaa\n\nbbb"})
> 
> Update the content attribute:
> 
> match (n {id: 1}) set n.content="aaa\n\n\n\nbbb" return n
> 
> Then you will find that the content property doesn't get updated. It seems 
> that \n is ignored when updating properties.
> 
> Note: I'm using Neo4j version 3.0.0-M03.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to neo4j+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Neo4j] Deploy Neo4j server in read-only mode

2016-02-22 Thread Michael Hunger
You can set 
read_only=true
 in neo4j.properties

Von meinem iPhone gesendet

> Am 17.02.2016 um 11:32 schrieb Pablo Pareja Tobes :
> 
> Hi,
> 
> I would like to know whether it is possible to deploy the Neo4j server 
> (version 2.3.2) in read-only mode so that e.g. when using the data browser or 
> Cypher console the database remains unchanged (thus having CREATE/UPDATE 
> statements somewhat deactivated)
> 
> Thanks!
> 
> Pablo
> 
> -- 
> Pablo Pareja Tobes  
> Tel: (+34) 656 25 71 01
> Lead Data Scientist / Developer at Sandbag 
> 
> Twitter: @pablopareja
> LinkedIn:  http://www.linkedin.com/in/pabloparejatobes 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to neo4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Neo4j] Python script blow up - After relationship 65973

2016-02-22 Thread Michael Hunger
No really sure what you do, could be that you have to batch your updates into 
10k to 50k large batches

Von meinem iPhone gesendet

> Am 18.02.2016 um 06:55 schrieb Kannan Babu :
> 
> Hi All,
> 
> I tried to import some flight db in to neo4j using python via py2neo, for 
> each route i am trying to create a relationship, 
> 
> when 65873 records processed the script stops.
> 
> I have attached the error for your reference. 
> 
> any help appreciated. Please let me know if you have any other best practice 
> to import the large dataset in to neo4j.
> 
> Many thanks,
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to neo4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Neo4j] How to access MBean Memory Mapping attribute in neo4j 2.3.1 community version?

2016-02-22 Thread Michael Hunger
What do you mean? Which api do you want to use to access it? Java, REST, shell, 
jconsole?

Von meinem iPhone gesendet

> Am 17.02.2016 um 06:26 schrieb Gaurav Kumar Jayswal :
> 
> How to access MBean Memory Mapping attribute in neo4j 2.3.1 community version?
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to neo4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Neo4j] Update the Movie Graph Toturial Query (Strength with Tom Cruise is wrong)

2016-02-22 Thread Michael Hunger
Depends on what you count
If you count every co-occurence then the current approach is correct

But your idea is a good variant

Von meinem iPhone gesendet

> Am 16.02.2016 um 16:54 schrieb Hashim Sharif :
> 
> Hi All, 
> 
> I believe the Movie Graph tutorial needs a small update in the Recommended 
> screen where it is describing how to (Extend Tom Hanks co-actors, to find 
> co-co-actors who haven't work with Tom Hanks...).
> The query resulted in Strength of 5 with Tom Cruise because Tom Hanks has 3 
> movies with Meg Rayan , so actual strength with Tom Cruise should be only 3.
> After modifying the query (change count(*) to count (DISTNICT (coActors) the 
> result will be the actual strength and the higher will be Cuba Gooding Jr. 
> and Zach Grenier with 4 
> hope you liked this :)
> Thanks for Reading
> Regards,
> Hashim
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to neo4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Neo4j] Is it possible to override both default style and example queries in Neo4j data browser?

2016-02-22 Thread Michael Hunger
They are stored in local storage of your browser so you would have to change 
that

Or modify the source
For the next version browser will be a separate component which will make it 
easier to customize 

Von meinem iPhone gesendet

> Am 19.02.2016 um 13:06 schrieb Pablo Pareja Tobes :
> 
> Hi,
> 
> I would like to know if both the default style sheet and example queries of 
> the Neo4j Data Browser can be customized? (version 2.3.2) 
> Link to stackoverflow question
> 
> Cheers,
> 
> Pablo
> 
> -- 
> Pablo Pareja Tobes  
> Tel: (+34) 656 25 71 01
> Lead Data Scientist / Developer at Sandbag 
> 
> Twitter: @pablopareja
> LinkedIn:  http://www.linkedin.com/in/pabloparejatobes 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to neo4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Neo4j] Why is this cypher eligal? :MERGE (n:avatarUrls {48x48:'48x48'}) RETURN id(n)

2016-02-22 Thread Michael Hunger
Valid identifiers start with a letter

Otherwise escape the property name with backticks `48x48`

Von meinem iPhone gesendet

> Am 16.02.2016 um 15:17 schrieb Sofus Albertsen :
> 
> The subject says it all, but let me clarify:
> Is there some kind of restriction on the name of the properties in a node?
> Eg: this will give an error
> MERGE (n:avatarUrls {48x48:'48x48'}) RETURN id(n)
> while this won't:
> MERGE (n:avatarUrls {h8x48:'48x48'}) RETURN id(n)
> Note the replacement of the first 4 with a h.
> -Sofus
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to neo4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] Is it possible to override both default style and example queries in Neo4j data browser?

2016-02-22 Thread Pablo Pareja Tobes
Hi,

I would like to know if both the default style sheet and example queries of
the Neo4j Data Browser can be customized? *(version 2.3.2)*
Link to stackoverflow question


Cheers,

Pablo

-- 
*Pablo Pareja Tobes  *
Tel: (+34) 656 25 71 01
Lead Data Scientist / Developer at Sandbag 

Twitter: @pablopareja 
LinkedIn:  http://www.linkedin.com/in/pabloparejatobes

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] Why is this cypher eligal? :MERGE (n:avatarUrls {48x48:'48x48'}) RETURN id(n)

2016-02-22 Thread Sofus Albertsen
The subject says it all, but let me clarify:
Is there some kind of restriction on the name of the properties in a node?
Eg: this will give an error
MERGE (n:avatarUrls {48x48:'48x48'}) RETURN id(n)
while this won't:
MERGE (n:avatarUrls {h8x48:'48x48'}) RETURN id(n)
Note the replacement of the first 4 with a h.
-Sofus

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] Deploy Neo4j server in read-only mode

2016-02-22 Thread Pablo Pareja Tobes
Hi,

I would like to know whether it is possible to deploy the Neo4j server
(version 2.3.2) in read-only mode so that e.g. when using the data browser
or Cypher console the database remains unchanged *(thus having
CREATE/UPDATE statements somewhat deactivated)*

Thanks!

Pablo

-- 
*Pablo Pareja Tobes  *
Tel: (+34) 656 25 71 01
Lead Data Scientist / Developer at Sandbag 

Twitter: @pablopareja 
LinkedIn:  http://www.linkedin.com/in/pabloparejatobes

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] Update the Movie Graph Toturial Query (Strength with Tom Cruise is wrong)

2016-02-22 Thread Hashim Sharif
Hi All, 

I believe the Movie Graph tutorial needs a small update in the Recommended 
screen where it is describing how to (Extend Tom Hanks co-actors, to find 
co-co-actors who haven't work with Tom Hanks...).
The query resulted in Strength of 5 with Tom Cruise because Tom Hanks has 3 
movies with Meg Rayan , so actual strength with Tom Cruise should be only 3.
After modifying the query (change count(*) to count (DISTNICT (coActors) 
the result will be the actual strength and the higher will be Cuba Gooding 
Jr. and Zach Grenier with 4 
hope you liked this :)
Thanks for Reading
Regards,
Hashim

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] [Bug] Property can't be updated in Neo4j 3.0.0-M03

2016-02-22 Thread wenbo zhao
Suppose you have a node:

(n {id: 1, content: "aaa\n\nbbb"})

Update the content attribute:

match (n {id: 1}) set n.content="aaa\n\n\n\nbbb" return n

Then you will find that the content property doesn't get updated. It seems 
that \n is ignored when updating properties.

Note: I'm using Neo4j version 3.0.0-M03.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] How to access MBean Memory Mapping attribute in neo4j 2.3.1 community version?

2016-02-22 Thread Gaurav Kumar Jayswal
How to access MBean Memory Mapping attribute in neo4j 2.3.1 community 
version?

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] Python script blow up - After relationship 65973

2016-02-22 Thread Kannan Babu
Hi All,

I tried to import some flight db in to neo4j using python via py2neo, for 
each route i am trying to create a relationship, 

when 65873 records processed the script stops.

I have attached the error for your reference. 

any help appreciated. Please let me know if you have any other best 
practice to import the large dataset in to neo4j.

Many thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] Neo4j 2.3.2 CE does not start with the correct Database Location

2016-02-22 Thread gergely . szakaly
When Neo4j CE is started, the *Database Location* field contains the last 
used directory, however this is a trap. The effective database location is 
the default directory, which is 
C:\Users\your_user_name\Documents\Neo4j\default.graphdb. You have to click 
*Choose* and select the directory again.

The database should always start with the directory displayed in the *Database 
Location* field.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] Re: Can not restart Neo4j after crashed

2016-02-22 Thread Mattias Persson
Recovery is usully quite fast (seconds or minutes). Can you grab a thread 
dump from when you believe it has hung? My suspicion is something regarding 
rotation of counts store.

On Thursday, February 18, 2016 at 2:48:49 AM UTC+1, 宋鹏 wrote:
>
> Well, when I came across the crashing issue, I restart the neo4j, and it 
> blocks at "performing recovery..", and I came back the next morning, and 
> it's still that information.
> Should I wait much longer for recovery?
>
> On Thursday, February 18, 2016 at 3:06:55 AM UTC+8, David Fauth wrote:
>>
>> How long did you let 2.2.3 try and recover? It has to recover the 
>> database successfully before it can be loaded into a new database.
>>
>> On Tuesday, February 16, 2016 at 7:51:26 AM UTC-5, 宋鹏 wrote:
>>>
>>> Hello, wish to get some help here...
>>>
>>> I deployed a neo4j server of version 2.2.3 several months ago, but it 
>>> crashed last week, and I can never restart it again.
>>> The starting process was blocked after printing the message:
>>>
>>> Detected incorrectly shut down database, performing recovery..

>>>
>>> To work around, I re-deployed a new instance of version 2.3.2, and copy 
>>> graph.db to the data folder of this new instance.
>>> However, with no luck, it also failed with the following message printed 
>>> many many times...
>>>
>>> Caused by: 
 org.neo4j.kernel.impl.storemigration.StoreUpgrader$UnexpectedUpgradingStoreVersionException:
  
 '/var/lib/neo4j/data/graph.db/neostore.nodestore.db' has a store version 
 number that we cannot upgrade from. Expected 'v0.A.3' but file is version 
 ''.

>>>
>>> Of course, I checked that the configuration was correct: 
>>>  allow_store_upgrade=true
>>>
>>> It would be a great help if any body happens to know something about 
>>> this. Thanks!
>>>
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.