Re: [Neo4j] logical logs

2015-04-16 Thread Clark Richey
Thank you! Sent from my iPhone > On Apr 16, 2015, at 19:54, Chris Vest wrote: > > When keep_logical_logs is false, it will delete the just-rotated-out log file > after a rotation, so yeah, it’ll leave even older ones alone if any. > > Since 2.2.0, the index commands are part of the normal tra

Re: [Neo4j] logical logs

2015-04-16 Thread Chris Vest
When keep_logical_logs is false, it will delete the just-rotated-out log file after a rotation, so yeah, it’ll leave even older ones alone if any. Since 2.2.0, the index commands are part of the normal transaction log. Before 2.2.0, the Lucene index logs were separate but used the same keep_logi

Re: [Neo4j] Measure Query Times

2015-04-16 Thread Daniele El-Jaick
Thank you! Em quinta-feira, 16 de abril de 2015 18:49:34 UTC-3, Michael Hunger escreveu: > > > Am 16.04.2015 um 21:18 schrieb Daniele El-Jaick >: > > Ok, thank you. > I am just trying to undersatand why a same query, in a same graph, has > very different query times in each execution. Sometimes

Re: [Neo4j] Measure Query Times

2015-04-16 Thread Michael Hunger
> Am 16.04.2015 um 21:18 schrieb Daniele El-Jaick : > > Ok, thank you. > I am just trying to undersatand why a same query, in a same graph, has very > different query times in each execution. Sometimes starts with 4000 ms, and > when I run again decreese to 200 ms. It's a dynamic system: - q

[Neo4j] How to set slave to read only in a cluster?

2015-04-16 Thread cui r
Hi, What's the configuration to set slave nodes to read-only in a cluster? I couldn't find it in the doc and googling. Any pointer is appreciated. Rick -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receivin

Re: [Neo4j] Measure Query Times

2015-04-16 Thread Daniele El-Jaick
Ok, thank you. I am just trying to undersatand why a same query, in a same graph, has very different query times in each execution. Sometimes starts with 4000 ms, and when I run again decreese to 200 ms. I am using neo in my doctor degree thesis. I need to measure queries times in graphs with 10

[Neo4j] Neo4j Server Ready & Running Status Code??

2015-04-16 Thread Tri Nguyen
Hi, I have to monitor if Neo4j is ready and is up and running. I understand that there are some REST status codes. Is there a status code and/or method for querying the status of Neo4j? I think there is a "neo4j status" command. However, I do not necessarily want to launch a shell to execute

Re: [Neo4j] View or temporary table equivalents in Neo4J

2015-04-16 Thread Michael Hunger
No but you can start a transaction create temporary data and then rollback the tx. Michael > Am 16.04.2015 um 14:23 schrieb Mohana Krishna, IIT Bombay, India > : > > Is there a view or temporary table equivalent in new version of Neo4J? There > was no such option in previous version as far as

Re: [Neo4j] Using Neo4j + MapReduce

2015-04-16 Thread Michael Hunger
There is no "map-reduce" out of the box, but you can develop concurrent pretty easily. My colleague Max started a project around this: https://github.com/maxdemarzi/graph_processing Where you can find implementations for some algorithms using c

[Neo4j] logical logs

2015-04-16 Thread Clark Richey
Hello, I am running 2.2.1 enterprise. I changed the keep_logical_logs setting of the DB to false (in development). However, I still see old neostore.transaction.db.xx files. Is this simply because neo isn’t cleaning the old files now that the new setting has been applied? Am I ok to delete those

[Neo4j] View or temporary table equivalents in Neo4J

2015-04-16 Thread Mohana Krishna, IIT Bombay, India
Is there a view or temporary table equivalent in new version of Neo4J? There was no such option in previous version as far as I know. Is there any option now? -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop rec

Re: [Neo4j] from Neo4j1.9.9 to Neo4j 2.2.0 exception querying Lucene

2015-04-16 Thread Rita
Thank you for the reply Michael. I have just published the issue. I was using as usual -Xmx4g. Now I've just tried with 6GB and open and close a single transaction for every query like that on the different indexes and I do not get this exception. So now it has more need of memory for the same o

[Neo4j] Using Neo4j + MapReduce

2015-04-16 Thread Mohana Krishna, IIT Bombay, India
Hello, Is there a way to run parallel graph algorithms using map-reduce paradigm on a graph represented in Neo4j. Like if I wish to run a map-reduce version of Bron-Kerbosch algorithm to enumerate all maximal cliques in a graph represented in Neo4j, is there a way? Please provide some pointers

Re: [Neo4j] from Neo4j1.9.9 to Neo4j 2.2.0 exception querying Lucene

2015-04-16 Thread Michael Hunger
This seems to be a like a bug. How much heap do you have? Could you raise an issue on github.com/neo4j/neo4j/issues ? Thanks so much Michael > Am 16.04.2015 um 11:26 schrieb Rita : > > Hi all, > I am passing from Neo4j 1.9.9 to Neo4j 2.2.0, with embedd

Re: [Neo4j] Neo4j modeling : better keep data unique and linked or duplicate it ?

2015-04-16 Thread Michael Hunger
I think it depends on the use-case if your use-cases and queries make use of that structure to provide some functionality that is hard to achieve otherwise, then go for the graph structure. If it is just for the storage and some property lookup or comparison it might not be worth it. There is

Re: [Neo4j] Need help to use REST API with JAVA

2015-04-16 Thread Michael Hunger
Not sure what your experience is, but you can use a JDBC driver to work with Cypher both in embedded as well as remote mode. see http://neo4j.com/developer/java There are example projects and more details Cheers, Michael > Am 16.04.2015 um 12:22 schrieb sohail

[Neo4j] Need help to use REST API with JAVA

2015-04-16 Thread sohail ahmed
Hi, I have completed http://neo4j.com/docs/2.2.0/tutorials-java-embedded.html . It is very useful to get involved with Neo4j and Java. Now I want to move forward with both

[Neo4j] Neo4j modeling : better keep data unique and linked or duplicate it ?

2015-04-16 Thread Gaël N .
Hi dear community, I was wondering if there were some good practices about how you modelize your graph when you have different kind of nodes (so differents labels) that have properties in common. Let me explain with an example : Let's say I have a node containing localization data (city, countr

[Neo4j] from Neo4j1.9.9 to Neo4j 2.2.0 exception querying Lucene

2015-04-16 Thread Rita
Hi all, I am passing from Neo4j 1.9.9 to Neo4j 2.2.0, with embedded mode using java. I have inserted the transactions also for read operations, but now when I query my Lucene indexes as this rhits = index.query("cs", "*"); out.println("#" + rhits.size()); rhits.close(); as you can see I do not