[Neo4j] Moving from embedded graph db to RESTful server
Hi guys, Well I've decided to delve back into the world of graph db's and am very excited, I do have a couple of questions, so if anyone can shed some light in them that would be great. The last project I did with Neo4J was a success(well I see it as one), I used the embedded graph db with GWT and some cool other stuff. The graph consosted of a spatial layer and a normal layer. So my plan is to move to the server and do some mobile apps(iPhone then Android) that can hit the server, it will be read only as all the data will be static and populated initially by myself. So here are my questions - Is there any way I can leverage my current graph db set-up with the RESTful server? Some way to do a data dump maybe? Another though I have had was, I have this graph db set-up. maybe I can just use it and set up some servlets/simple J2EE server that will let me hit it for request, and actually just use the embedded graph-db, just throwing the responses back in JSON or XML. Also, I don't want the trouble of looking after a server on a machine, is it possible to get a service provider to look after such a set-up? a) Using the J2EE and embedded graph setup. b) The RESTful Neo4J server. How much of a difference is there between working with the server? What's the learning curve involved? My only experience with REST is RoR. Thanks for reading, Any thoughts or comments would be great(if positive). Regards, John. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Moving from embedded graph db to RESTful server
John, great to hear things worked out for you! Let me answer what I can inline ... On Sun, Sep 18, 2011 at 3:38 PM, John Doran john.do...@hotmail.com wrote: The last project I did with Neo4J was a success(well I see it as one), I used the embedded graph db with GWT and some cool other stuff. The graph consosted of a spatial layer and a normal layer. So my plan is to move to the server and do some mobile apps(iPhone then Android) that can hit the server, it will be read only as all the data will be static and populated initially by myself. Anything you are missing from Neo4j Spatial btw? So here are my questions - Is there any way I can leverage my current graph db set-up with the RESTful server? Some way to do a data dump maybe? Another though I have had was, I have this graph db set-up. maybe I can just use it and set up some servlets/simple J2EE server that will let me hit it for request, and actually just use the embedded graph-db, just throwing the responses back in JSON or XML. Yes, just look at the Neo4j Server installation, http://docs.neo4j.org/chunked/snapshot/server.html and the REST docs, http://docs.neo4j.org/chunked/snapshot/rest-api.html Also, I don't want the trouble of looking after a server on a machine, is it possible to get a service provider to look after such a set-up? a) Using the J2EE and embedded graph setup. b) The RESTful Neo4J server. We have a Heroku beta test running, see http://addons.heroku.com/neo4j, in the backend provisioning Neo4j Server instances on a fabric maintained in Germany. Also, there is work in CloudFoundry going on to have Neo4j being part of it, as is on Microsoft Azure. Would some of these be ok for you? How much of a difference is there between working with the server? What's the learning curve involved? My only experience with REST is RoR. Well, should not be that hard, you can do graph operations via the very convenient client bindings for Ruby by Maxz De Marzi, https://github.com/maxdemarzi/neography . For querying and doing more complex stuff on the server in order to reduce chattiness, look at the Cypher and Gremlin plugins, http://docs.neo4j.org/chunked/snapshot/cypher-plugin.html and http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html Let us know how things go for you! /peter ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] finding top 10 shortest path
Hi, Thank you, it solved my problem very well. Thanks. On Sat, Sep 17, 2011 at 8:16 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Thanks for the pointers Daniel, feel free to fork https://github.com/neo4j/community/tree/master/graph-algo and try stuff out together with Reza? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Mon, Sep 12, 2011 at 8:13 PM, danielb danielbercht...@gmail.com wrote: Hello you both could have a look at the so-called k-shortest-paths problem. There is some related scientific work[1] and implementations[2] for further investigation. regards, Daniel [1] http://www.mat.uc.pt/~eqvm/cientificos/investigacao/r_papers.html#K [2] http://code.google.com/p/k-shortest-paths/ -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-finding-top-10-shortest-path-tp3235128p3330443.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Moving from embedded graph db to RESTful server
Then it seems that heroku is quite a good fit for you. Register for their beta program (b...@heroku.com) then you can add the neo4j server to your app. The servers are not in germany as peter said but co-located with heroku at AWS US-EAST. With the heroku add-on you can just zip your embedded graph-db data directory (just the files) and upload it to the server. With our current ruby script extension you can write a server-side rack (sinatra|rails) app that provides the domain level REST endpoints (which have a much better granularity, transactional behaviour and performance than the low level REST API). (see here: http://wiki.neo4j.org/content/Neo4j_Heroku_Addon, and http://blog.neo4j.org/2011/08/heroku-neo4j-add-on-available-in.html) As Peter said for querying you can also look into cypher and gremlin. There are also some ready-made AWS images for Neo4j server provided by OpenCredo. Cheers Michael Am 18.09.2011 um 16:10 schrieb Peter Neubauer: John, great to hear things worked out for you! Let me answer what I can inline ... On Sun, Sep 18, 2011 at 3:38 PM, John Doran john.do...@hotmail.com wrote: The last project I did with Neo4J was a success(well I see it as one), I used the embedded graph db with GWT and some cool other stuff. The graph consosted of a spatial layer and a normal layer. So my plan is to move to the server and do some mobile apps(iPhone then Android) that can hit the server, it will be read only as all the data will be static and populated initially by myself. Anything you are missing from Neo4j Spatial btw? So here are my questions - Is there any way I can leverage my current graph db set-up with the RESTful server? Some way to do a data dump maybe? Another though I have had was, I have this graph db set-up. maybe I can just use it and set up some servlets/simple J2EE server that will let me hit it for request, and actually just use the embedded graph-db, just throwing the responses back in JSON or XML. Yes, just look at the Neo4j Server installation, http://docs.neo4j.org/chunked/snapshot/server.html and the REST docs, http://docs.neo4j.org/chunked/snapshot/rest-api.html Also, I don't want the trouble of looking after a server on a machine, is it possible to get a service provider to look after such a set-up? a) Using the J2EE and embedded graph setup. b) The RESTful Neo4J server. We have a Heroku beta test running, see http://addons.heroku.com/neo4j, in the backend provisioning Neo4j Server instances on a fabric maintained in Germany. Also, there is work in CloudFoundry going on to have Neo4j being part of it, as is on Microsoft Azure. Would some of these be ok for you? How much of a difference is there between working with the server? What's the learning curve involved? My only experience with REST is RoR. Well, should not be that hard, you can do graph operations via the very convenient client bindings for Ruby by Maxz De Marzi, https://github.com/maxdemarzi/neography . For querying and doing more complex stuff on the server in order to reduce chattiness, look at the Cypher and Gremlin plugins, http://docs.neo4j.org/chunked/snapshot/cypher-plugin.html and http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html Let us know how things go for you! /peter ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Rebuilding Lucene index
I believe it is integrated (correct me if I'm wrong) but there might still be cases where i kill -9 or power outage might put some lucene files in a bad state. It's pretty much outside of neo4j's control and is very, very rare. It'd be great to come up with some mechanism to be able to prevent that, but for the time beimg I'm not aware of a way... Maybe there are tools for repairing a corrupted lucene index out there? Den lördagen den 17:e september 2011 skrev Peter Neubauer peter.neuba...@neotechnology.com: Yes, messages.log is good, I am just not sure if in neo4j.rb Lucene is transactionally integrated at all, Andreas? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Fri, Sep 16, 2011 at 7:34 PM, Rama Manusama rama.manus...@gmail.com wrote: Thanks Peter, Andreas, Yes I am running neo4j.rb with the newest version, and torquebox 1.1.1 as server I had a non-clean shutdown through ' kill -9 ' due to a Mechanize web request process that took forever (strangely did not follow the timeout config due to some reason). I should not use kill -9 anymore I guess I also enclose messages.log if it would be useful/interesting for you to see Perhaps Andreas could help with how index rebuilding works here? Thanks alot! Cheers, Rama On Fri, Sep 16, 2011 at 7:18 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Mmh, so what did you do to get the index corrupted? Are you running neo4j.rb? In there, I am not sure that the Lucene index is integrated into the transactional system like in Neo4j java, so maybe Andreas can shed some light? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Fri, Sep 16, 2011 at 7:14 PM, Rama Manusama rama.manus...@gmail.com wrote: Hi all, Sorry for a noobish question, my knowledge in Java is limited so reading the source is kinda difficult for me (I use neo4j.rb ruby binding v1.2.2 and neo4j 1.4) I ran into index corruption due to non-clean shutdown (through kill -9) and could not start the database anymore. Looking to discussions like http://www.mail-archive.com/user@lists.neo4j.org/msg06100.html, I decided to delete the index folder and it was solved. However I still need to rebuild the index and have no clue on how to do this, have looked on the docs and cannot really find either. Could anybody please help? I also posted my question here http://stackoverflow.com/questions/7440244/how-to-rebuild-neo4j-lucene-index-neo4j-rb,but neo4j activities seem to be low in stackoverflow Thanks all, appreciate your help!, Rama ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Rama John Gabriel Manusama -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Rebuilding Lucene index
Rama, if you have good results with this, please report back and we can put a link into the docs ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Sep 18, 2011 at 5:57 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Perhaps this helps: CheckIndex is a tool available in the Lucene library, which allows you to check the files and create new segments that do not contain problematic entries. This means that this tool, with little loss of data is able to repair a broken index. http://solr.pl/en/2011/01/17/checkindex-for-the-rescue/ Michael Am 18.09.2011 um 17:39 schrieb Mattias Persson: I believe it is integrated (correct me if I'm wrong) but there might still be cases where i kill -9 or power outage might put some lucene files in a bad state. It's pretty much outside of neo4j's control and is very, very rare. It'd be great to come up with some mechanism to be able to prevent that, but for the time beimg I'm not aware of a way... Maybe there are tools for repairing a corrupted lucene index out there? Den lördagen den 17:e september 2011 skrev Peter Neubauer peter.neuba...@neotechnology.com: Yes, messages.log is good, I am just not sure if in neo4j.rb Lucene is transactionally integrated at all, Andreas? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Fri, Sep 16, 2011 at 7:34 PM, Rama Manusama rama.manus...@gmail.com wrote: Thanks Peter, Andreas, Yes I am running neo4j.rb with the newest version, and torquebox 1.1.1 as server I had a non-clean shutdown through ' kill -9 ' due to a Mechanize web request process that took forever (strangely did not follow the timeout config due to some reason). I should not use kill -9 anymore I guess I also enclose messages.log if it would be useful/interesting for you to see Perhaps Andreas could help with how index rebuilding works here? Thanks alot! Cheers, Rama On Fri, Sep 16, 2011 at 7:18 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Mmh, so what did you do to get the index corrupted? Are you running neo4j.rb? In there, I am not sure that the Lucene index is integrated into the transactional system like in Neo4j java, so maybe Andreas can shed some light? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Fri, Sep 16, 2011 at 7:14 PM, Rama Manusama rama.manus...@gmail.com wrote: Hi all, Sorry for a noobish question, my knowledge in Java is limited so reading the source is kinda difficult for me (I use neo4j.rb ruby binding v1.2.2 and neo4j 1.4) I ran into index corruption due to non-clean shutdown (through kill -9) and could not start the database anymore. Looking to discussions like http://www.mail-archive.com/user@lists.neo4j.org/msg06100.html, I decided to delete the index folder and it was solved. However I still need to rebuild the index and have no clue on how to do this, have looked on the docs and cannot really find either. Could anybody please help? I also posted my question here http://stackoverflow.com/questions/7440244/how-to-rebuild-neo4j-lucene-index-neo4j-rb,but neo4j activities seem to be low in stackoverflow Thanks all, appreciate your help!, Rama ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Rama John Gabriel Manusama -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org
Re: [Neo4j] Rebuilding Lucene index
Sorry apparently I made a mistake, the index that I fixed was a dir that I copied outside the app directory.. The 'new' database with index dir emptied certainly works, as it has no index on the data Once I copied back the repaired /index folder, it still show the same error message Sep 18, 2011 9:37:39 PM org.neo4j.kernel.impl.transaction.TransactionImpl doBeforeCompletion WARNING: Caught exception from tx syncronization[org.neo4j.kernel.impl.core.TransactionEventsSyncHook@1531a989] beforeCompletion() java.lang.RuntimeException: org.jruby.exceptions.RaiseException: Native Exception: 'class java.lang.IllegalArgumentException'; Message: No index provider 'lucene' found; StackTrace: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:76) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:116) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:178) at org.neo4j.kernel.IndexManagerImpl.getOrCreateNodeIndex(IndexManagerImpl.java:267) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:255) So far the only way to get the database accessible is only by removing the index folder. Cheers, Rama On Sun, Sep 18, 2011 at 9:36 PM, Rama Manusama rama.manus...@gmail.comwrote: Thanks for the link Michael, tried CheckIndex: (1) It solves one problem with some (hopefully) minor losses by removing the corrupted index without having to delete the whole '/index' folder. (2) However, I am not very sure if the tool only deletes the lucene index or also the underlying data the index refers to, as I was not very sure which entry in the database causes the problem It would be quite scary to imagine that some critical data have to be deleted or lose their index in production environment (although the next safety net would be the backups). Perhaps there is still a way to rebuild the whole index? In any case this is already a big step ahead, thanks alot!! Cheers, Rama On Sun, Sep 18, 2011 at 6:02 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Rama, if you have good results with this, please report back and we can put a link into the docs ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Sep 18, 2011 at 5:57 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Perhaps this helps: CheckIndex is a tool available in the Lucene library, which allows you to check the files and create new segments that do not contain problematic entries. This means that this tool, with little loss of data is able to repair a broken index. http://solr.pl/en/2011/01/17/checkindex-for-the-rescue/ Michael Am 18.09.2011 um 17:39 schrieb Mattias Persson: I believe it is integrated (correct me if I'm wrong) but there might still be cases where i kill -9 or power outage might put some lucene files in a bad state. It's pretty much outside of neo4j's control and is very, very rare. It'd be great to come up with some mechanism to be able to prevent that, but for the time beimg I'm not aware of a way... Maybe there are tools for repairing a corrupted lucene index out there? Den lördagen den 17:e september 2011 skrev Peter Neubauer peter.neuba...@neotechnology.com: Yes, messages.log is good, I am just not sure if in neo4j.rb Lucene is transactionally integrated at all, Andreas? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Fri, Sep 16, 2011 at 7:34 PM, Rama Manusama rama.manus...@gmail.com wrote: Thanks Peter, Andreas, Yes I am running neo4j.rb with the newest version, and torquebox 1.1.1 as server I had a non-clean shutdown through ' kill -9 ' due to a Mechanize web request process that took forever (strangely did not follow the timeout config due to some reason). I should not use kill -9 anymore I guess I also enclose messages.log if it would be useful/interesting for you to see Perhaps Andreas could help with how index rebuilding works here? Thanks alot! Cheers, Rama On Fri, Sep 16, 2011 at 7:18 PM, Peter Neubauer
Re: [Neo4j] Rebuilding Lucene index
Do you have more of that stack-trace? Michael Am 18.09.2011 um 21:42 schrieb Rama Manusama: Sorry apparently I made a mistake, the index that I fixed was a dir that I copied outside the app directory.. The 'new' database with index dir emptied certainly works, as it has no index on the data Once I copied back the repaired /index folder, it still show the same error message Sep 18, 2011 9:37:39 PM org.neo4j.kernel.impl.transaction.TransactionImpl doBeforeCompletion WARNING: Caught exception from tx syncronization[org.neo4j.kernel.impl.core.TransactionEventsSyncHook@1531a989] beforeCompletion() java.lang.RuntimeException: org.jruby.exceptions.RaiseException: Native Exception: 'class java.lang.IllegalArgumentException'; Message: No index provider 'lucene' found; StackTrace: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:76) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:116) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:178) at org.neo4j.kernel.IndexManagerImpl.getOrCreateNodeIndex(IndexManagerImpl.java:267) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:255) So far the only way to get the database accessible is only by removing the index folder. Cheers, Rama On Sun, Sep 18, 2011 at 9:36 PM, Rama Manusama rama.manus...@gmail.comwrote: Thanks for the link Michael, tried CheckIndex: (1) It solves one problem with some (hopefully) minor losses by removing the corrupted index without having to delete the whole '/index' folder. (2) However, I am not very sure if the tool only deletes the lucene index or also the underlying data the index refers to, as I was not very sure which entry in the database causes the problem It would be quite scary to imagine that some critical data have to be deleted or lose their index in production environment (although the next safety net would be the backups). Perhaps there is still a way to rebuild the whole index? In any case this is already a big step ahead, thanks alot!! Cheers, Rama On Sun, Sep 18, 2011 at 6:02 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Rama, if you have good results with this, please report back and we can put a link into the docs ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Sep 18, 2011 at 5:57 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Perhaps this helps: CheckIndex is a tool available in the Lucene library, which allows you to check the files and create new segments that do not contain problematic entries. This means that this tool, with little loss of data is able to repair a broken index. http://solr.pl/en/2011/01/17/checkindex-for-the-rescue/ Michael Am 18.09.2011 um 17:39 schrieb Mattias Persson: I believe it is integrated (correct me if I'm wrong) but there might still be cases where i kill -9 or power outage might put some lucene files in a bad state. It's pretty much outside of neo4j's control and is very, very rare. It'd be great to come up with some mechanism to be able to prevent that, but for the time beimg I'm not aware of a way... Maybe there are tools for repairing a corrupted lucene index out there? Den lördagen den 17:e september 2011 skrev Peter Neubauer peter.neuba...@neotechnology.com: Yes, messages.log is good, I am just not sure if in neo4j.rb Lucene is transactionally integrated at all, Andreas? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Fri, Sep 16, 2011 at 7:34 PM, Rama Manusama rama.manus...@gmail.com wrote: Thanks Peter, Andreas, Yes I am running neo4j.rb with the newest version, and torquebox 1.1.1 as server I had a non-clean shutdown through ' kill -9 ' due to a Mechanize web request process that took forever (strangely did not follow the timeout config due to some reason). I should not use kill -9 anymore I guess I also enclose messages.log if it would be useful/interesting for you to see Perhaps Andreas could help with how index rebuilding works here? Thanks
Re: [Neo4j] Rebuilding Lucene index
Hi Michael, Sure, here you go, thanks! Sep 18, 2011 9:37:39 PM org.neo4j.kernel.impl.transaction.TransactionImpl doBeforeCompletion WARNING: Caught exception from tx syncronization[org.neo4j.kernel.impl.core.TransactionEventsSyncHook@1531a989] beforeCompletion() java.lang.RuntimeException: org.jruby.exceptions.RaiseException: Native Exception: 'class java.lang.IllegalArgumentException'; Message: No index provider 'lucene' found; StackTrace: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:76) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:116) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:178) at org.neo4j.kernel.IndexManagerImpl.getOrCreateNodeIndex(IndexManagerImpl.java:267) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:255) at org.neo4j.kernel.impl.core.TransactionEventsSyncHook.beforeCompletion(TransactionEventsSyncHook.java:95) at org.neo4j.kernel.impl.transaction.TransactionImpl.doBeforeCompletion(TransactionImpl.java:356) at org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:635) at org.neo4j.kernel.impl.transaction.TransactionImpl.commit(TransactionImpl.java:109) at org.neo4j.kernel.TopLevelTransaction.finish(TopLevelTransaction.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:508) at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:368) at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:50) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135) at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135) at org.jruby.ast.VCallNode.interpret(VCallNode.java:86) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:98) at org.jruby.ast.BeginNode.interpret(BeginNode.java:83) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.ast.IfNode.interpret(IfNode.java:119) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:171) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302) at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:144) at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:153) at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:112) at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374) at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:328) at org.jruby.runtime.BlockBody.call(BlockBody.java:73) at org.jruby.runtime.Block.call(Block.java:89) at org.jruby.RubyProc.call(RubyProc.java:274) at org.jruby.internal.runtime.methods.ProcMethod.call(ProcMethod.java:64) at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:203) at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:199) at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135) at org.jruby.ast.VCallNode.interpret(VCallNode.java:86) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
Re: [Neo4j] Rebuilding Lucene index
Probably this part is interesting: Unable to close logical log java.io.IOException: Logical log[/home/rama/wspace/criticube/db/nioneo_logical.log.1] not found at org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.deleteCurrentLogFile(XaLogicalLog.java:646) at org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.close(XaLogicalLog.java:704) at org.neo4j.kernel.impl.transaction.xaframework.XaContainer.close(XaContainer.java:109) at org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource.close(NeoStoreXaDataSource.java:250) at org.neo4j.kernel.impl.nioneo.xa.NioNeoDbPersistenceSource.stop(NioNeoDbPersistenceSource.java:69) at org.neo4j.kernel.GraphDbInstance.shutdown(GraphDbInstance.java:293) .. NativeException: org.neo4j.graphdb.TransactionFailureException: Unable to commit transaction from org/neo4j/kernel/TopLevelTransaction.java:98:in `finish' Am 18.09.2011 um 23:14 schrieb Mattias Persson: I'm guessing the important stack trace regarding the loading of the lucene index provider is found in my-neo4j-db-folder/messages.log. Could you go look there? 2011/9/18 Rama Manusama rama.manus...@gmail.com Hi Michael, Sure, here you go, thanks! Sep 18, 2011 9:37:39 PM org.neo4j.kernel.impl.transaction.TransactionImpl doBeforeCompletion WARNING: Caught exception from tx syncronization[org.neo4j.kernel.impl.core.TransactionEventsSyncHook@1531a989 ] beforeCompletion() java.lang.RuntimeException: org.jruby.exceptions.RaiseException: Native Exception: 'class java.lang.IllegalArgumentException'; Message: No index provider 'lucene' found; StackTrace: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:76) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:116) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:178) at org.neo4j.kernel.IndexManagerImpl.getOrCreateNodeIndex(IndexManagerImpl.java:267) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:255) at org.neo4j.kernel.impl.core.TransactionEventsSyncHook.beforeCompletion(TransactionEventsSyncHook.java:95) at org.neo4j.kernel.impl.transaction.TransactionImpl.doBeforeCompletion(TransactionImpl.java:356) at org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:635) at org.neo4j.kernel.impl.transaction.TransactionImpl.commit(TransactionImpl.java:109) at org.neo4j.kernel.TopLevelTransaction.finish(TopLevelTransaction.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:508) at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:368) at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:50) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135) at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135) at org.jruby.ast.VCallNode.interpret(VCallNode.java:86) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:98) at org.jruby.ast.BeginNode.interpret(BeginNode.java:83) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.ast.IfNode.interpret(IfNode.java:119) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:171) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302) at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:144) at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:153) at
Re: [Neo4j] Rebuilding Lucene index
True, I reproduced the error again just now, messages.log is attached Thanks and cheers, Rama On Sun, Sep 18, 2011 at 11:14 PM, Mattias Persson matt...@neotechnology.com wrote: I'm guessing the important stack trace regarding the loading of the lucene index provider is found in my-neo4j-db-folder/messages.log. Could you go look there? 2011/9/18 Rama Manusama rama.manus...@gmail.com Hi Michael, Sure, here you go, thanks! Sep 18, 2011 9:37:39 PM org.neo4j.kernel.impl.transaction.TransactionImpl doBeforeCompletion WARNING: Caught exception from tx syncronization[org.neo4j.kernel.impl.core.TransactionEventsSyncHook@1531a989 ] beforeCompletion() java.lang.RuntimeException: org.jruby.exceptions.RaiseException: Native Exception: 'class java.lang.IllegalArgumentException'; Message: No index provider 'lucene' found; StackTrace: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:76) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:116) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:178) at org.neo4j.kernel.IndexManagerImpl.getOrCreateNodeIndex(IndexManagerImpl.java:267) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:255) at org.neo4j.kernel.impl.core.TransactionEventsSyncHook.beforeCompletion(TransactionEventsSyncHook.java:95) at org.neo4j.kernel.impl.transaction.TransactionImpl.doBeforeCompletion(TransactionImpl.java:356) at org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:635) at org.neo4j.kernel.impl.transaction.TransactionImpl.commit(TransactionImpl.java:109) at org.neo4j.kernel.TopLevelTransaction.finish(TopLevelTransaction.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:508) at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:368) at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:50) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135) at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135) at org.jruby.ast.VCallNode.interpret(VCallNode.java:86) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:98) at org.jruby.ast.BeginNode.interpret(BeginNode.java:83) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.ast.IfNode.interpret(IfNode.java:119) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:171) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302) at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:144) at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:153) at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:112) at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374) at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:328) at org.jruby.runtime.BlockBody.call(BlockBody.java:73) at org.jruby.runtime.Block.call(Block.java:89) at org.jruby.RubyProc.call(RubyProc.java:274) at org.jruby.internal.runtime.methods.ProcMethod.call(ProcMethod.java:64)
Re: [Neo4j] Rebuilding Lucene index
No problem, you could download it here https://docs.google.com/leaf?id=0B4qYoS7piZ7PNDdhNzkzMWEtMWMyYS00MWNmLWI3YzktYjFiZjllMzk0MzA2hl=en_US Thanks, Rama On Mon, Sep 19, 2011 at 12:32 AM, Michael Hunger michael.hun...@neotechnology.com wrote: Sorry the mailing list eats attachments, can you copy it in the mail or make it available somewhere? Thanks Michael Am 18.09.2011 um 23:32 schrieb Rama Manusama: True, I reproduced the error again just now, messages.log is attached Thanks and cheers, Rama On Sun, Sep 18, 2011 at 11:14 PM, Mattias Persson matt...@neotechnology.com wrote: I'm guessing the important stack trace regarding the loading of the lucene index provider is found in my-neo4j-db-folder/messages.log. Could you go look there? 2011/9/18 Rama Manusama rama.manus...@gmail.com Hi Michael, Sure, here you go, thanks! Sep 18, 2011 9:37:39 PM org.neo4j.kernel.impl.transaction.TransactionImpl doBeforeCompletion WARNING: Caught exception from tx syncronization[org.neo4j.kernel.impl.core.TransactionEventsSyncHook@1531a989 ] beforeCompletion() java.lang.RuntimeException: org.jruby.exceptions.RaiseException: Native Exception: 'class java.lang.IllegalArgumentException'; Message: No index provider 'lucene' found; StackTrace: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:76) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:116) at org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:178) at org.neo4j.kernel.IndexManagerImpl.getOrCreateNodeIndex(IndexManagerImpl.java:267) at org.neo4j.kernel.IndexManagerImpl.forNodes(IndexManagerImpl.java:255) at org.neo4j.kernel.impl.core.TransactionEventsSyncHook.beforeCompletion(TransactionEventsSyncHook.java:95) at org.neo4j.kernel.impl.transaction.TransactionImpl.doBeforeCompletion(TransactionImpl.java:356) at org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:635) at org.neo4j.kernel.impl.transaction.TransactionImpl.commit(TransactionImpl.java:109) at org.neo4j.kernel.TopLevelTransaction.finish(TopLevelTransaction.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:508) at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:368) at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:50) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135) at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135) at org.jruby.ast.VCallNode.interpret(VCallNode.java:86) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:98) at org.jruby.ast.BeginNode.interpret(BeginNode.java:83) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.ast.IfNode.interpret(IfNode.java:119) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:171) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302) at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:144) at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:153) at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at
[Neo4j] Forward slashes in index values
Hi guys, If you go to any URL with your browser, both %2f and / are treated the same. These two URLs are exactly the same, irrespective of encoding: http://localhost:7474/db/data/index/node/mynodes/mykey/my%2fvalue http://localhost:7474/db/data/index/node/mynodes/mykey/my/value neo4j seems to use a very basic parsing routine - just splitting on the slashes - instead of a full URI parser. Using the encoded format, we *can* successfully create an index entry with a slash in the value: curl -i -H Content-Type:application/json -X POST -d 'http://localhost:7474/db/data/node/0;'http://localhost:7474/db/data/node/0%22'son 'http://localhost:7474/db/data/index/node/mynodes/mykey/my%2fvalue' Without the encoding, it results in a 405 response: curl -i -H Content-Type:application/json -X POST -d 'http://localhost:7474/db/data/node/0;'http://localhost:7474/db/data/node/0%22'son 'http://localhost:7474/db/data/index/node/mynodes/mykey/my/value' The issue we are facing is that the web client we are using in .NET unwraps the URL into a canonical format before sending the request. When it does this, it decodes the %2f back to a slash. It would take a reasonable amount of work for us to bypass this. I'm not very comfortable going to that effort considering it's all dependent on neo4j's specific URL parser implementation. If this is upgraded to a compliant parser in the future, our workaround will break. Is there a way for us to pass index values in a query string or POST body? For example: curl -i -H Content-Type:application/json -X POST -d 'http://localhost:7474/db/data/node/0;'http://localhost:7474/db/data/node/0%22'son 'http://localhost:7474/db/data/index/node?indexname=mynodesindexkey=mykeyindexvalue=my%2fvalue'http://localhost:7474/db/data/index/node?IndexName=mynodesmykey=my%2fvalue' -- Tatham Oddie au mob: +61 414 275 989, us cell: +1 415 598 8201, skype: tathamoddie If you're printing this email, you're doing it wrong. This is a computer, not a typewriter. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Garbage Collection not in wrapper config
Hi Guys, I notice the docs (http://docs.neo4j.org/chunked/snapshot/server-configuration.html) mention that this line of config exists commented out. However, I cannot find it in the neo4j-wrapper.conf wrapper.java.additional.3=-Xloggc:data/log/neo4j-gc.log (1.4.M01 (2011-04-28) Is the docs out of date, or should this be added back, I see it as a very useful tool to leave commented out, as I can use this with gcviewer? Romiko ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Server Starting Error
Hi, I encountered an error, but I am checking it every day. Any way, Thank you. On Fri, Sep 16, 2011 at 5:45 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Hi Reza, build system is in order again, so you could try the latest builds, http://dist.neo4j.org/neo4j-community-1.5-SNAPSTHO-windows.zip and report back? Also, tune fo the day - Alabama, Born Country. http://open.spotify.com/track/60CgmYTp1i9UzPInLrP2fQ Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, Sep 13, 2011 at 12:48 PM, Reza Ameri rz.am...@gmail.com wrote: Hi Peter, It is great! thank you. On Tue, Sep 13, 2011 at 3:06 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Reza, we are right now looking into Service install issues, will keep you posted, hopefully you can try a new SNAPSHOT build soon. Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Sep 11, 2011 at 7:26 AM, Reza Ameri rz.am...@gmail.com wrote: Hi, I was trying to install and start Neo4j 1.41 on my Vista 32bit System, it is installed but not starts! The error is [SC] StartService FAILED 1053: The service did not respond to the start or control request in a timely fashion. Any Idea? It is right that I work on it slowly but the fact is as a hobby I think it is not bad speed, really! Any way Neo4j is the coolest open source product I've ever seen. Thank you community. ;) ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Garbage Collection not in wrapper config
Hi, if i understand you correctly, you are looking at the documentation for snapshot (currently 1.5) but looking at the configuration file from the 1st milestone of 1.4 (1.4.M01). From what git history shows, these lines was added on May 30, 2011, which places them in the distribution around 1.4M04. Anyway, i just downloaded a community snapshot (1.5-SNAPSHOT) from neo4j.org and conf/neo4j-wrapper.conf has the expected contents, lines 8-9. Is there something that i am missing here? Note that adding manually this line in the configuration in versions before 1.4M04 should work as expected. cheers, CG On Mon, Sep 19, 2011 at 8:16 AM, Romiko Derbynew romiko.derby...@readify.net wrote: Hi Guys, I notice the docs (http://docs.neo4j.org/chunked/snapshot/server-configuration.html) mention that this line of config exists commented out. However, I cannot find it in the neo4j-wrapper.conf wrapper.java.additional.3=-Xloggc:data/log/neo4j-gc.log (1.4.M01 (2011-04-28) Is the docs out of date, or should this be added back, I see it as a very useful tool to leave commented out, as I can use this with gcviewer? Romiko ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user