[Neo4j] Neo4j.py 0.2
Hi all, where can I find a python binding for neo4j equivalent to last neo4j java version. my problem is that the database was created in neo4j java latest version, and when accessing the index in python 0.1 snapshot it gives me a version conflict error. one more question, is lucene fulltext search implemented in python version? THX in advance. Francois. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Eigenvector Centrality subclasses
Anyone know the pros/cons of the Arnoldi eigenvector centrality implementation over the Power implementation? I see that Arnoldi gives a little more information on number of iterations, but it seems neither is deterministic. Thanks, Paul Jackson Pitney Bowes ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Neo4j REST Server with path prefix
Hi all, how can I setup the REST server to use a standard url path prefix? E. g. http://localhost:/MyPathPrefix/node/0/relationshipshttp://localhost:/node/0/relationships -- Christopher twitter: @fakod blog: http://blog.fakod.eu ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Question about setConfiguration()
Hi Mattias, I just got your message about setConfiguration() and ran into a stumbling block. Your thoughts would be appreciated. So, in Blueprints, I'm using a configuration called _blueprints:autokeys which will maintain the vertex/edge property keys that are being auto-indexed. These keys, for an index, need to be maintained across opens/closes of Neo4jGraph. So, when a user updates the autoKeys they are saved to the configuration using setConfiguration(index, _blueprints:autokeys, turnHashSetOfStringsIntoASingleParseableString()). Then when the user Neo4jGraph.shutdown(), everything is out of memory, and the auto keys are happily in the configuration persisted to disk. So far, so good. Next, I load Neo4jGraph again and check to see if my autokeys have been persisted (in the Blueprints test case). Unfortunately, I note that the code has to know what the autokeys were to be able to appropriately load the index without getting an IllegalArgumentException: Caused by: java.lang.IllegalArgumentException: Supplied index configuration: {_blueprints:type=AUTOMATIC, provider=lucene, type=exact} differ from stored config: {_blueprints:type=AUTOMATIC, provider=lucene, _blueprints:autokeys=name%%location, type=exact} for 'vertices' Doh! ... In other words, it seems that I can't use the configuration in Neo4j indices to save this information as I need to know this information to load the index. But to know the information, I have to look at the index's configuration! :) ... Thoughts? Thanks Mattias, Marko. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j REST Server with path prefix
Mmh, the easiest thing I can think of is just to use a reverse proxy in Apache or so? http://www.apachetutor.org/admin/reverseproxies HTH 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://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Mon, Nov 8, 2010 at 5:08 PM, Christopher Schmidt fakod...@googlemail.com wrote: Hi all, how can I setup the REST server to use a standard url path prefix? E. g. http://localhost:/MyPathPrefix/node/0/relationshipshttp://localhost:/node/0/relationships -- Christopher twitter: @fakod blog: http://blog.fakod.eu ___ 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] Question about setConfiguration()
Hi Mattias, I believe I solved my own problem. If I use forNodes(indexName), then configuration is a wildcard. This seems to be the case, is this true? However, I seem to be running into a bug where IndexHits.size() 0, but I'm not getting back what I indexed :( ... I will try and isolate issue and bring it up in another email. Thanks, Marko. On Nov 8, 2010, at 1:56 PM, Marko Rodriguez wrote: Hi Mattias, I just got your message about setConfiguration() and ran into a stumbling block. Your thoughts would be appreciated. So, in Blueprints, I'm using a configuration called _blueprints:autokeys which will maintain the vertex/edge property keys that are being auto-indexed. These keys, for an index, need to be maintained across opens/closes of Neo4jGraph. So, when a user updates the autoKeys they are saved to the configuration using setConfiguration(index, _blueprints:autokeys, turnHashSetOfStringsIntoASingleParseableString()). Then when the user Neo4jGraph.shutdown(), everything is out of memory, and the auto keys are happily in the configuration persisted to disk. So far, so good. Next, I load Neo4jGraph again and check to see if my autokeys have been persisted (in the Blueprints test case). Unfortunately, I note that the code has to know what the autokeys were to be able to appropriately load the index without getting an IllegalArgumentException: Caused by: java.lang.IllegalArgumentException: Supplied index configuration: {_blueprints:type=AUTOMATIC, provider=lucene, type=exact} differ from stored config: {_blueprints:type=AUTOMATIC, provider=lucene, _blueprints:autokeys=name%%location, type=exact} for 'vertices' Doh! ... In other words, it seems that I can't use the configuration in Neo4j indices to save this information as I need to know this information to load the index. But to know the information, I have to look at the index's configuration! :) ... Thoughts? Thanks Mattias, Marko. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Question about setConfiguration()
2010/11/8, Marko Rodriguez okramma...@gmail.com: Hi Mattias, I believe I solved my own problem. If I use forNodes(indexName), then configuration is a wildcard. This seems to be the case, is this true? Yup, maybe forNodes(indexName,config) should be called createForNodes and will only create indexes to get rid of such misunderstandings... However, I seem to be running into a bug where IndexHits.size() 0, but I'm not getting back what I indexed :( ... I will try and isolate issue and bring it up in another email. Weird, that can be the case if it finds hits, but entities has been deleted or something. Thanks, Marko. On Nov 8, 2010, at 1:56 PM, Marko Rodriguez wrote: Hi Mattias, I just got your message about setConfiguration() and ran into a stumbling block. Your thoughts would be appreciated. So, in Blueprints, I'm using a configuration called _blueprints:autokeys which will maintain the vertex/edge property keys that are being auto-indexed. These keys, for an index, need to be maintained across opens/closes of Neo4jGraph. So, when a user updates the autoKeys they are saved to the configuration using setConfiguration(index, _blueprints:autokeys, turnHashSetOfStringsIntoASingleParseableString()). Then when the user Neo4jGraph.shutdown(), everything is out of memory, and the auto keys are happily in the configuration persisted to disk. So far, so good. Next, I load Neo4jGraph again and check to see if my autokeys have been persisted (in the Blueprints test case). Unfortunately, I note that the code has to know what the autokeys were to be able to appropriately load the index without getting an IllegalArgumentException: Caused by: java.lang.IllegalArgumentException: Supplied index configuration: {_blueprints:type=AUTOMATIC, provider=lucene, type=exact} differ from stored config: {_blueprints:type=AUTOMATIC, provider=lucene, _blueprints:autokeys=name%%location, type=exact} for 'vertices' Doh! ... In other words, it seems that I can't use the configuration in Neo4j indices to save this information as I need to know this information to load the index. But to know the information, I have to look at the index's configuration! :) ... Thoughts? Thanks Mattias, Marko. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- 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] neoviz + kernel error
Hi all, Tried running the neo-graphviz component and got the following error: org.neo4j.kernel.impl.nioneo.store.IllegalStoreVersionException: Store version [NeoStore v0.9.6]. Please make sure you are not running old Neo4j kernel towards a store that has been created by newer version of Neo4j. at org.neo4j.kernel.impl.nioneo.store.NeoStore.versionFound(NeoStore.java:355)... So I looked at NeoStore.java of the latest kernel source (at /components/kernel/trunk/src/main/java/org/neo4j/kernel/impl/nioneo/store/NeoStore.java) and it seems to only check for v0.9.5, throwing an exception for any other version. Would there be a quick workaround for this? Thanks, Karen Karen Joy Nomorosa Semantic Analyst Project Qhttp://wiki/display/pm/WhatIsProjectQ Tell a little... Get a lot... ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user