Re: [Neo4j] Neo4j spatial
Saikat, which approach to use - atomic REST calls or a server plugin to work in the background - depends on the load of things. If you are importing stuff in the beginning, I would not use REST. If you are thinking about normal operations with moderate load, I think REST will be fine. 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 Thu, Mar 17, 2011 at 1:11 AM, Saikat Kanjilal sxk1...@hotmail.com wrote: I've written a Quasi-mashup which loads points from google maps using a background thread in Spring to initially load points into neo4j, what I'm trying to evaluate with the goal of simplifying the architecture is the following: 1) Should I rejigger the tomcat service code to have a webservice call to add points which would be called through the steps you describe below from google or bing maps given that I already have service API calls that do traversals with pipes and shortest path calculations 2) Take the rexster and http approach to upload the points through some automated process from my maps and stick with the http approach when doing traversals through gremlin and shortest path calculations. Also I am trying to play with neo4j-spatial and trying to figure out how to leverage it moving forward That was a mouthful :) Sent from my iPhone On Mar 16, 2011, at 4:49 PM, Craig Taverner cr...@amanzi.com wrote: Hi Saikat, There are a few places you can look for code samples. One of the best places is the set of test cases included in neo4j spatial. You can find them at https://github.com/neo4j/neo4j-spatial/tree/master/src/test/java/org/neo4j/gis/spatial. In particular, since you are interested mostly in point data, take a look at TestSimplePointLayer.javahttps://github.com/neo4j/neo4j-spatial/blob/master/src/test/java/org/neo4j/gis/spatial/TestSimplePointLayer.javaand LayersTest.javahttps://github.com/neo4j/neo4j-spatial/blob/master/src/test/java/org/neo4j/gis/spatial/LayersTest.java . What you will find in those classes is Java code for adding points to the database, similar, but more extensive than the code in the blog. Regarding your specific case, if you are working with a normal google map or bing map, and want to port the points into a local database, you would need to export them, and write a simple importer. If you have written a mashup between google or bing maps and your own neo4j-based web application, you should be able to use some client side coding to automate this, accessing the map, and posting the points directly into your own server (where of course you would have some code adding the points to the database). Does this answer your question? Regards, Craig On Thu, Mar 17, 2011 at 12:32 AM, Saikat Kanjilal sxk1...@hotmail.comwrote: Hi Folks, I was reading through the docs on neo4j spatial and was wondering about a few things: 1) If I have a google or bing map and I manually plot some points can I use neo4j spatial to automate the loading of those points into my neo4j db? 2) Are there code samples for neo4j-spatial or implementations I can look at for a deeper look at the API's etc? Best Regards Sent from my iPhone ___ 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] Representing Statements About Statements
Chris, the current approach to that is through the Tinkerpop Sail implementation on top of Neo4j, see https://github.com/tinkerpop/blueprints/wiki/Sail-Ouplementation. Basically, you do Sail sail = new GraphSail(new Neo4jGraph('rdf-store')); SailConnection sc = sail.getConnection(); ValueFactory vf = sail.getValueFactory(); sc.addStatement(vf.createURI(http://tinkerpop.com#1;), vf.createURI(http://tinkerpop.com#knows;), vf.createURI(http://tinkerpop.com#3;), vf.createURI(http://tinkerpop.com;)); sc.addStatement(vf.createURI(http://tinkerpop.com#1;), vf.createURI(http://tinkerpop.com#name;), vf.createLiteral(marko), vf.createURI(http://tinkerpop.com;)); sc.addStatement(vf.createURI(http://tinkerpop.com#3;), vf.createURI(http://tinkerpop.com#name;), vf.createLiteral(josh), vf.createURI(http://tinkerpop.com;)); System.out.println(get statements: ?s ?p ?o ?g); CloseableIteration? extends Statement, SailException results = sc.getStatements(null, null, null, false); while(results.hasNext()) { System.out.println(results.next()); } System.out.println(\nget statements: http://tinkerpop.com#3 ?p ?o ?g); results = sc.getStatements(vf.createURI(http://tinkerpop.com#3;), null, null, false); while(results.hasNext()) { System.out.println(results.next()); } HTH? Let me know if you need help setting this up! 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 Thu, Mar 17, 2011 at 3:01 AM, Chris Spencer chriss...@gmail.com wrote: Hi, I'm new to Neo4j, and I'm trying to evaluate it as an RDF quadstore. Specifically, where a quad is a 4-tuple of the format (id, subject, predicate, object), quadstores can represent statements about statements by using the id from one quad as the subject, predicate, or object in another quad. Some stores also support a feature called named graphs, where entire sets of quads are grouped, allowing the group to have statements bound to it in a similar way. Has anyone used Neo4j to do anything like this? If so, how is it accomplished, and what is the Neo4j-equivalent terminology? Regards, Chris ___ 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] Problems installing neo4j.py on Mac
It is a known issue. A parsing problem in one of the transitive pom.xml files. I don't quite understand why, because from what I remember from investigating it, that key was present. It is probably an xml-namespace problem. The key is declared (in the xml file) without namespace qualifiers, and elementree needs explicit namespace qualifiers EVERYWHERE. I am working on a new version of the installation script to circumvent the problem. ETA is soon, but not specific yet (I keep getting interrupted by other tasks), but at least this is a prioritized task now, which means it WILL get done. Cheers, Tobias On Thu, Mar 17, 2011 at 5:20 AM, Rense Lange rensela...@earthlink.netwrote: I cannot figure out why installing neo for python fails on my Mac. Can anyone deduce the reason from the following screen messages? --- rense-langes-mac-pro:neo4j-python renselange$ sudo python setup.py installPassword: Traceback (most recent call last): File setup.py, line 146, in module main() File setup.py, line 134, in main args[attr] = pom[attr] File /Users/renselange/neo4j-python/pom.py, line 58, in __getitem__ element) File /Users/renselange/neo4j-python/pom.py, line 57, in lambda return self.pattern.sub(lambda match:self[match.groupdict()['var']], File /Users/renselange/neo4j-python/pom.py, line 54, in __getitem__ element = self.parent[path] File /Users/renselange/neo4j-python/pom.py, line 91, in __getitem__ return replacement.get(path, lambda s,x:x)(self, self.__pom[path]) File /Users/renselange/neo4j-python/pom.py, line 56, in __getitem__ raise KeyError(path) KeyError: 'project.artifactId' -- The preceding step, per instructions, seemed to work fine: - rense-langes-mac-pro:~ renselange$ svn export https://svn.neo4j.org/components/neo4j.py/trunk neo4j-python Aneo4j-python Aneo4j-python/NOTICE.txt Aneo4j-python/LICENSE.txt Aneo4j-python/pom.py Aneo4j-python/TODO.txt Aneo4j-python/COPYRIGHT.txt Aneo4j-python/jccext.py Aneo4j-python/setup.py Aneo4j-python/src Aneo4j-python/src/test Aneo4j-python/src/test/python Aneo4j-python/src/test/python/neo4j_test Aneo4j-python/src/test/python/neo4j_test/_support.py Aneo4j-python/src/test/python/neo4j_test/primitives.py Aneo4j-python/src/test/python/neo4j_test/__init__.py Aneo4j-python/src/test/python/neo4j_test/__main__.py Aneo4j-python/src/test/python/neo4j_test/transactional.py Aneo4j-python/src/test/python/neo4j_test/matrix.py Aneo4j-python/src/test/python/neo4j_test/index.py Aneo4j-python/src/main Aneo4j-python/src/main/python Aneo4j-python/src/main/python/neo4j Aneo4j-python/src/main/python/neo4j/_primitives.py Aneo4j-python/src/main/python/neo4j/_py_compat.py Aneo4j-python/src/main/python/neo4j/_traverse.py Aneo4j-python/src/main/python/neo4j/_hooks Aneo4j-python/src/main/python/neo4j/_hooks/__init__.py Aneo4j-python/src/main/python/neo4j/__init__.py Aneo4j-python/src/main/python/neo4j/_backend Aneo4j-python/src/main/python/neo4j/_backend/reflection.py Aneo4j-python/src/main/python/neo4j/_backend/pure.py Aneo4j-python/src/main/python/neo4j/_backend/__init__.py Aneo4j-python/src/main/python/neo4j/_backend/jcc.py Aneo4j-python/src/main/python/neo4j/_backend/native.py Aneo4j-python/src/main/python/neo4j/_backend/cli.py Aneo4j-python/src/main/python/neo4j/_index.py Aneo4j-python/src/main/python/neo4j/classes Aneo4j-python/src/main/python/neo4j/__bootstrap__.py Aneo4j-python/src/main/python/neo4j/_base.py Aneo4j-python/src/main/python/neo4j/model Aneo4j-python/src/main/python/neo4j/model/django_model Aneo4j-python/src/main/python/neo4j/model/django_model/__init__.py Aneo4j-python/src/main/python/neo4j/model/fields.pyx Aneo4j-python/src/main/python/neo4j/model/__init__.py Aneo4j-python/src/main/python/neo4j/model/base.pyx Aneo4j-python/src/main/python/neo4j/_util.py Aneo4j-python/src/main/python/neo4j/util.py Aneo4j-python/src/main/python/neo4j/_compat.py Aneo4j-python/src/main/python/neo4j/tracsupport.py Aneo4j-python/src/main/python/neo4j/_core.py Aneo4j-python/src/script Aneo4j-python/src/script/generate-apt.py Aneo4j-python/src/site Aneo4j-python/src/site/site.xml Aneo4j-python/src/site/apt Aneo4j-python/src/site/apt/apidoc Aneo4j-python/src/site/apt/apidoc/index.apt Aneo4j-python/src/examples Aneo4j-python/src/examples/python Aneo4j-python/src/examples/python/djangosites Aneo4j-python/src/examples/python/djangosites/manage.py Aneo4j-python/src/examples/python/djangosites/faces A
Re: [Neo4j] New index framework questions...
2011/3/16 Rick Bullotta rick.bullo...@burningskysoftware.com Hi, all. Looking at the documentation for the new index framework in the Wiki at: http://wiki.neo4j.org/content/Index_Framework, it isn't all that clear how fulltext queries are to be executed (what's the key name?), how they can be sorted (can you sort by score?), etc. Anders is working on that documentation and will arrive any day now. But until then I could outline some information here: So, there are two #query methods, one with and one w/o key. The one with the key parses the query you enter, assuming that everything is about that property key, f.ex if you've added: index.add( node, name, Mattias Persson ); to a fulltext index and then query (remember that fulltext index lower-cases everything by default): index.query( name, matt* ); // or index.query( name, matt* OR persson ); it will query for matt* (or matt* OR persson) values for the name property. Using the other method you can do the same thing: index.query( name:matt* ); index.query( name:matt* OR name:persson ); _but_ you can also query stuff from different property keys in one query, making compound queries possible, like: index.query( name:matt* AND profession:hacker ); Can anyone shed any light on how all this stuff works in the context of fulltext? Definitely some more examples/documentation would be very helpful. The query methods are also available for exact indexes. The difference between fulltext and exact is the way the added values are tokenized. The exact index doesn't do any tokenization, just puts the values as one value, whereas fulltext index tokenizes the added values into individual words and indexes those separately. Thanks, Rick ___ 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
Re: [Neo4j] Traverser Functions in Neo4j
2011/3/14 Massimo Lusetti mluse...@gmail.com On Mon, Mar 14, 2011 at 12:39 PM, Mattias Persson matt...@neotechnology.com wrote: Head over to http://wiki.neo4j.org/content/Traversal_Framework for more information. And know that the exact limitation you ran into spawned the creation of this new API. I started using this framework from day 1 since I'm new and I don't have background from Node.traverse(). If I understand correctly this will be THE traversal framework right? It's experimental but you use this from within Node.traverse so it's not that experimental I guess? ... Did you suggest to use this or the old API? I think that the functionality of it is not going to change... or at least features won't be removed, only added/changed. The API can come to change quite a bit, maybe with tighter integration with the other core interfaces (Node, Path a.s.o.). So by using it you're using a stable/battle-tested traversal framework functionality-wise, but may be forced to migrate your traversal code at a later point, even though it might still be left @Deprecated so that you can decide yourself when to migrate. Nothing of what I said is decided upon so I'm speculating a bit here. In terms of stability of the API the old might be safer, but there are things that you just cannot do with it. So if you hit such a road block with the old API then go with new. I personally use only the new. Plus the page you mention isn't well linked in the wiki... I think you're right about that. When more focus is put on making a greater traversal API/engine, this will all be fixed. Just my 0.02Euro doubts -- Massimo http://meridio.blogspot.com ___ 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
Re: [Neo4j] New index framework questions...
Thanks. In your example, how would you add the profession key to a fulltext index? Would it also be put through the analyzer? - Reply message - From: Mattias Persson matt...@neotechnology.com Date: Thu, Mar 17, 2011 4:50 am Subject: [Neo4j] New index framework questions... To: Neo4j user discussions user@lists.neo4j.org 2011/3/16 Rick Bullotta rick.bullo...@burningskysoftware.com Hi, all. Looking at the documentation for the new index framework in the Wiki at: http://wiki.neo4j.org/content/Index_Framework, it isn't all that clear how fulltext queries are to be executed (what's the key name?), how they can be sorted (can you sort by score?), etc. Anders is working on that documentation and will arrive any day now. But until then I could outline some information here: So, there are two #query methods, one with and one w/o key. The one with the key parses the query you enter, assuming that everything is about that property key, f.ex if you've added: index.add( node, name, Mattias Persson ); to a fulltext index and then query (remember that fulltext index lower-cases everything by default): index.query( name, matt* ); // or index.query( name, matt* OR persson ); it will query for matt* (or matt* OR persson) values for the name property. Using the other method you can do the same thing: index.query( name:matt* ); index.query( name:matt* OR name:persson ); _but_ you can also query stuff from different property keys in one query, making compound queries possible, like: index.query( name:matt* AND profession:hacker ); Can anyone shed any light on how all this stuff works in the context of fulltext? Definitely some more examples/documentation would be very helpful. The query methods are also available for exact indexes. The difference between fulltext and exact is the way the added values are tokenized. The exact index doesn't do any tokenization, just puts the values as one value, whereas fulltext index tokenizes the added values into individual words and indexes those separately. Thanks, Rick ___ 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 mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Neo4j Server/Webadmin with HA Cluster
Hi! I was trying to configure a simple HA cluster using the last milestone release, I'm trying to use the neo4j server as told http://docs.neo4j.org/chunked/snapshot/server-ha.html , but I'm getting a few problems. I followed the configuration commands from http://docs.neo4j.org/chunked/snapshot/server.html and http://docs.neo4j.org/chunked/snapshot/ha.html but I could not get no thing working. NFO | jvm 1| 2011/03/17 11:43:01 | 23 [WrapperSimpleAppMain] INFO org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=172.16.2.93:2181,172.16.2.94:2181,172.16.2.89:2181sessionTimeout=5000 watcher=org.neo4j.kernel.ha.zookeeper.ZooClient@67d95492 INFO | jvm 1| 2011/03/17 11:43:01 | 37 [WrapperSimpleAppMain-SendThread()] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server /172.16.2.94:2181 INFO | jvm 1| 2011/03/17 11:43:01 | 252 [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to graph-server03.local/172.16.2.94:2181, initiating session INFO | jvm 1| 2011/03/17 11:43:01 | 255 [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect INFO | jvm 1| 2011/03/17 11:43:02 | 1177 [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server / 172.16.2.89:2181 INFO | jvm 1| 2011/03/17 11:43:02 | 1179 [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to 172.16.2.89/172.16.2.89:2181, initiating session INFO | jvm 1| 2011/03/17 11:43:02 | 1180 [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO org.apache.zookeeper.ClientCnxn - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect INFO | jvm 1| 2011/03/17 11:43:02 | 1481 [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server / 172.16.2.93:2181 INFO | jvm 1| 2011/03/17 11:43:03 | 1684 [WrapperSimpleAppMain-SendThread(graph-server01.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to graph-server01.local/172.16.2.93:2181, initiating session INFO | jvm 1| 2011/03/17 11:43:03 | 1684 [WrapperSimpleAppMain-SendThread(graph-server01.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect INFO | jvm 1| 2011/03/17 11:43:03 | 2020 [WrapperSimpleAppMain-SendThread(graph-server01.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server graph-server03.local/172.16.2.94:2181 INFO | jvm 1| 2011/03/17 11:43:03 | 2021 [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to graph-server03.local/172.16.2.94:2181, initiating session INFO | jvm 1| 2011/03/17 11:43:03 | 2022 [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect INFO | jvm 1| 2011/03/17 11:43:04 | 2941 [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server 172.16.2.89/172.16.2.89:2181 INFO | jvm 1| 2011/03/17 11:43:04 | 2942 [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to 172.16.2.89/172.16.2.89:2181, initiating session INFO | jvm 1| 2011/03/17 11:43:04 | 2943 [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO org.apache.zookeeper.ClientCnxn - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect INFO | jvm 1| 2011/03/17 11:43:04 | 3450 [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server graph-server01.local/172.16.2.93:2181 INFO | jvm 1| 2011/03/17 11:43:04 | 3450 [WrapperSimpleAppMain-SendThread(graph-server01.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to graph-server01.local/172.16.2.93:2181, initiating session INFO | jvm 1| 2011/03/17 11:43:04 | 3450 [WrapperSimpleAppMain-SendThread(graph-server01.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and
Re: [Neo4j] New index framework questions...
2011/3/17 rick.bullo...@burningskysoftware.com rick.bullo...@burningskysoftware.com Thanks. In your example, how would you add the profession key to a fulltext index? Would it also be put through the analyzer? You would add it just like anything else: index.add( node, name, Mattias Persson ); index.add( node, profession, Hacker ); - Reply message - From: Mattias Persson matt...@neotechnology.com Date: Thu, Mar 17, 2011 4:50 am Subject: [Neo4j] New index framework questions... To: Neo4j user discussions user@lists.neo4j.org 2011/3/16 Rick Bullotta rick.bullo...@burningskysoftware.com Hi, all. Looking at the documentation for the new index framework in the Wiki at: http://wiki.neo4j.org/content/Index_Framework, it isn't all that clear how fulltext queries are to be executed (what's the key name?), how they can be sorted (can you sort by score?), etc. Anders is working on that documentation and will arrive any day now. But until then I could outline some information here: So, there are two #query methods, one with and one w/o key. The one with the key parses the query you enter, assuming that everything is about that property key, f.ex if you've added: index.add( node, name, Mattias Persson ); to a fulltext index and then query (remember that fulltext index lower-cases everything by default): index.query( name, matt* ); // or index.query( name, matt* OR persson ); it will query for matt* (or matt* OR persson) values for the name property. Using the other method you can do the same thing: index.query( name:matt* ); index.query( name:matt* OR name:persson ); _but_ you can also query stuff from different property keys in one query, making compound queries possible, like: index.query( name:matt* AND profession:hacker ); Can anyone shed any light on how all this stuff works in the context of fulltext? Definitely some more examples/documentation would be very helpful. The query methods are also available for exact indexes. The difference between fulltext and exact is the way the added values are tokenized. The exact index doesn't do any tokenization, just puts the values as one value, whereas fulltext index tokenizes the added values into individual words and indexes those separately. Thanks, Rick ___ 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 -- 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] Neo4j Server/Webadmin with HA Cluster
Pere, to start with, you could try a clean setup with 3 virtual machines from https://github.com/neo4j/server/tree/master/tools/ha-ops and see if that works? Then, we can look at the server setup and see what is needed to be better in 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 Thu, Mar 17, 2011 at 12:18 PM, Pere Urbon Bayes p...@moviepilot.com wrote: Hi! I was trying to configure a simple HA cluster using the last milestone release, I'm trying to use the neo4j server as told http://docs.neo4j.org/chunked/snapshot/server-ha.html , but I'm getting a few problems. I followed the configuration commands from http://docs.neo4j.org/chunked/snapshot/server.html and http://docs.neo4j.org/chunked/snapshot/ha.html but I could not get no thing working. NFO | jvm 1 | 2011/03/17 11:43:01 | 23 [WrapperSimpleAppMain] INFO org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=172.16.2.93:2181,172.16.2.94:2181,172.16.2.89:2181sessionTimeout=5000 watcher=org.neo4j.kernel.ha.zookeeper.ZooClient@67d95492 INFO | jvm 1 | 2011/03/17 11:43:01 | 37 [WrapperSimpleAppMain-SendThread()] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server /172.16.2.94:2181 INFO | jvm 1 | 2011/03/17 11:43:01 | 252 [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to graph-server03.local/172.16.2.94:2181, initiating session INFO | jvm 1 | 2011/03/17 11:43:01 | 255 [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect INFO | jvm 1 | 2011/03/17 11:43:02 | 1177 [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server / 172.16.2.89:2181 INFO | jvm 1 | 2011/03/17 11:43:02 | 1179 [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to 172.16.2.89/172.16.2.89:2181, initiating session INFO | jvm 1 | 2011/03/17 11:43:02 | 1180 [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO org.apache.zookeeper.ClientCnxn - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect INFO | jvm 1 | 2011/03/17 11:43:02 | 1481 [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server / 172.16.2.93:2181 INFO | jvm 1 | 2011/03/17 11:43:03 | 1684 [WrapperSimpleAppMain-SendThread(graph-server01.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to graph-server01.local/172.16.2.93:2181, initiating session INFO | jvm 1 | 2011/03/17 11:43:03 | 1684 [WrapperSimpleAppMain-SendThread(graph-server01.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect INFO | jvm 1 | 2011/03/17 11:43:03 | 2020 [WrapperSimpleAppMain-SendThread(graph-server01.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server graph-server03.local/172.16.2.94:2181 INFO | jvm 1 | 2011/03/17 11:43:03 | 2021 [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to graph-server03.local/172.16.2.94:2181, initiating session INFO | jvm 1 | 2011/03/17 11:43:03 | 2022 [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect INFO | jvm 1 | 2011/03/17 11:43:04 | 2941 [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server 172.16.2.89/172.16.2.89:2181 INFO | jvm 1 | 2011/03/17 11:43:04 | 2942 [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to 172.16.2.89/172.16.2.89:2181, initiating session INFO | jvm 1 | 2011/03/17 11:43:04 | 2943 [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO org.apache.zookeeper.ClientCnxn - Unable to read additional data from server
[Neo4j] Full text search
Hello Everyone, I'm new to both Neo4j and Lucene. I've managed to create an index and execute an exact search as specified in: http://components.neo4j.org/neo4j-server/milestone/rest.html I would like to be able to query all the nodes and/or relationships by full text. Is this possible? Regards, Jonathan ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] New index framework questions...
Sweet! That definitely helps a lot. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Mattias Persson Sent: Thursday, March 17, 2011 7:39 AM To: Neo4j user discussions Subject: Re: [Neo4j] New index framework questions... 2011/3/17 rick.bullo...@burningskysoftware.com rick.bullo...@burningskysoftware.com Thanks. In your example, how would you add the profession key to a fulltext index? Would it also be put through the analyzer? You would add it just like anything else: index.add( node, name, Mattias Persson ); index.add( node, profession, Hacker ); - Reply message - From: Mattias Persson matt...@neotechnology.com Date: Thu, Mar 17, 2011 4:50 am Subject: [Neo4j] New index framework questions... To: Neo4j user discussions user@lists.neo4j.org 2011/3/16 Rick Bullotta rick.bullo...@burningskysoftware.com Hi, all. Looking at the documentation for the new index framework in the Wiki at: http://wiki.neo4j.org/content/Index_Framework, it isn't all that clear how fulltext queries are to be executed (what's the key name?), how they can be sorted (can you sort by score?), etc. Anders is working on that documentation and will arrive any day now. But until then I could outline some information here: So, there are two #query methods, one with and one w/o key. The one with the key parses the query you enter, assuming that everything is about that property key, f.ex if you've added: index.add( node, name, Mattias Persson ); to a fulltext index and then query (remember that fulltext index lower-cases everything by default): index.query( name, matt* ); // or index.query( name, matt* OR persson ); it will query for matt* (or matt* OR persson) values for the name property. Using the other method you can do the same thing: index.query( name:matt* ); index.query( name:matt* OR name:persson ); _but_ you can also query stuff from different property keys in one query, making compound queries possible, like: index.query( name:matt* AND profession:hacker ); Can anyone shed any light on how all this stuff works in the context of fulltext? Definitely some more examples/documentation would be very helpful. The query methods are also available for exact indexes. The difference between fulltext and exact is the way the added values are tokenized. The exact index doesn't do any tokenization, just puts the values as one value, whereas fulltext index tokenizes the added values into individual words and indexes those separately. Thanks, Rick ___ 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 -- 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 https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Online Backup Possible w/Embedded Neo4J 1.3M04?
In the latest version, 1.3M04, how do you do an online backup with an embedded instance? We will not be using the Neo REST API. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Online Backup Possible w/Embedded Neo4J 1.3M04?
Rick, there is a command line utility to do that, see http://docs.neo4j.org/chunked/snapshot/operations-backup.html#_embedded_and_server Programmatically, look at https://github.com/neo4j/graphdb/blob/master/com/src/test/java/org/neo4j/com/backup/TestBackup.java Be aware that you should for Windows run from SNAPSHOT, as we just changed the file locking mechanism to work on Windows. This will be part of M05, so you could wait for that one, too to run properly on Windows? 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 Thu, Mar 17, 2011 at 2:21 PM, Rick Bullotta rick.bullo...@burningskysoftware.com wrote: user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Online Backup Possible w/Embedded Neo4J 1.3M04?
Hi, Peter. Yes, we can wait until M05. We'll comment out the existing Backup functionality in ThingWorx until that point. Rick -Original Message- From: neubauer.pe...@gmail.com [mailto:neubauer.pe...@gmail.com] On Behalf Of Peter Neubauer Sent: Thursday, March 17, 2011 9:35 AM To: Neo4j user discussions Cc: Rick Bullotta Subject: Re: [Neo4j] Online Backup Possible w/Embedded Neo4J 1.3M04? Rick, there is a command line utility to do that, see http://docs.neo4j.org/chunked/snapshot/operations-backup.html#_embedded_and_ server Programmatically, look at https://github.com/neo4j/graphdb/blob/master/com/src/test/java/org/neo4j/com /backup/TestBackup.java Be aware that you should for Windows run from SNAPSHOT, as we just changed the file locking mechanism to work on Windows. This will be part of M05, so you could wait for that one, too to run properly on Windows? 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 Thu, Mar 17, 2011 at 2:21 PM, Rick Bullotta rick.bullo...@burningskysoftware.com wrote: user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Full text search
Jonathan, did you look at the query method, http://components.neo4j.org/neo4j-server/milestone/rest.html#Query_index_--_Exact ? 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 Thu, Mar 17, 2011 at 2:11 PM, Jonathan Lunn j46l...@yahoo.com wrote: Hello Everyone, I'm new to both Neo4j and Lucene. I've managed to create an index and execute an exact search as specified in: http://components.neo4j.org/neo4j-server/milestone/rest.html I would like to be able to query all the nodes and/or relationships by full text. Is this possible? Regards, Jonathan ___ 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] Full text search
Peter, I did indeed. However the result of the example returned HTTP/1.1 200 ... [ ]. Am I missing something? Regards, Jonathan - Original Message From: Peter Neubauer peter.neuba...@neotechnology.com To: Neo4j user discussions user@lists.neo4j.org Cc: Jonathan Lunn j46l...@yahoo.com Sent: Thu, March 17, 2011 1:43:00 PM Subject: Re: [Neo4j] Full text search Jonathan, did you look at the query method, http://components.neo4j.org/neo4j-server/milestone/rest.html#Query_index_--_Exact t ? Cheers, /peter neubauer GTalk: neubauer.peter Skypepeter.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 Thu, Mar 17, 2011 at 2:11 PM, Jonathan Lunn j46l...@yahoo.com wrote: Hello Everyone, I'm new to both Neo4j and Lucene. I've managed to create an index and execute an exact search as specified in: http://components.neo4j.org/neo4j-server/milestone/rest.html I would like to be able to query all the nodes and/or relationships by full text. Is this possible? Regards, Jonathan ___ 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] Full text search
Could you please provider your data you added to the index as well as the full query URIs ? 2011/3/17 Jonathan Lunn j46l...@yahoo.com Peter, I did indeed. However the result of the example returned HTTP/1.1 200 ... [ ]. Am I missing something? Regards, Jonathan - Original Message From: Peter Neubauer peter.neuba...@neotechnology.com To: Neo4j user discussions user@lists.neo4j.org Cc: Jonathan Lunn j46l...@yahoo.com Sent: Thu, March 17, 2011 1:43:00 PM Subject: Re: [Neo4j] Full text search Jonathan, did you look at the query method, http://components.neo4j.org/neo4j-server/milestone/rest.html#Query_index_--_Exact t ? Cheers, /peter neubauer GTalk: neubauer.peter Skypepeter.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 Thu, Mar 17, 2011 at 2:11 PM, Jonathan Lunn j46l...@yahoo.com wrote: Hello Everyone, I'm new to both Neo4j and Lucene. I've managed to create an index and execute an exact search as specified in: http://components.neo4j.org/neo4j-server/milestone/rest.html I would like to be able to query all the nodes and/or relationships by full text. Is this possible? Regards, Jonathan ___ 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 -- 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] Where is the beer?
Jordi, do you need an invite to add yourself? Btw, the map looks really pretty now! Need to get some pretty face like Craig on my icon :) 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, Mar 14, 2011 at 9:02 PM, Jordi Valverde de...@eclipsi.net wrote: Invite me: jvalve...@gmail.com :-) El 14/03/11 14:21, Andreas Kollegger andreas.kolleg...@neotechnology.com escribió: I've shared a map with you called Neo4j Graphistas: You can view and edit this map at http://maps.google.com/maps/ms?ie=UTF8hl=enoe=UTF8msa=0msid=2157872407 36307886514.00049e70e573cbd8a91e5 Where are people graphing? Add yourself to the map (or at least your city ;) Note: To edit this map, you'll need to sign into Google with this email address. To use a different email address, just reply to this message and ask me to invite your other one. If you don't have a Google account, you can create one at http://www.google.com/accounts/NewAccount?reqemail=user@lists.neo4j.org. Cheers, Andreas On Mar 14, 2011, at 2:04 PM, Alfredas Chmieliauskas wrote: Great! I think thats a great idea! A On Mon, Mar 14, 2011 at 2:02 PM, Michael Hunger michael.hun...@neotechnology.com wrote: I would, I already have extensive plans for that. I will share them with you :) Cheers Michael Am 14.03.2011 um 13:50 schrieb Alfredas Chmieliauskas: Who would like to start a social networking site for developers (on top of neo4j technology and community)? I'm in. A On Mon, Mar 14, 2011 at 1:45 PM, bhargav gunda bhargav@gmail.com wrote: Stockholm, Sweden On Mon, Mar 14, 2011 at 1:41 PM, Alfredas Chmieliauskas al.fre...@gmail.com wrote: Amsterdam On Mon, Mar 14, 2011 at 1:15 PM, Axel Morgner a...@morgner.de wrote: Hi everybody, as said, here's a new thread for the idea of having beer and talk meetings. Possible locations so far: Malmö London Berlin Frankfurt Looking forward to seeing more Neo4j people in personal! Greetings Axel On 14.03.2011 13:02, Peter Neubauer wrote: Berlin sounds great. Last year a couple of guys met up at StudiVZ, and suddenly we were 30 people. Go for it, there is a LOT of good vibe in Beerlin! 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, Mar 14, 2011 at 12:37 PM, Michael Hunger michael.hun...@neotechnology.com wrote: They guys could create at least one in Malmö? Isn't Andreas there as well, and certainly some more fine folks? We can do one locally here in Gemany, perhaps Berlin (perhaps we can combine that with our monthly flight to CPH). Cheers Michael Am 14.03.2011 um 11:50 schrieb Jim Webber: Hey Rick, It was a pleasure to meet you too. And this got me thinking - it would be great to meet more folks from this list, or to form user groups, or generally just get a beer and talk Neo4j graphs. Is there, for example, a strong London contingent on this list? I only know me and Nat Pryce so far. Anyone else care to get together in London? Jim ___ 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 ___ 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] Where is the beer?
Please don't do the pretty face thing, such icons aren't scaled in any sensible way when zooming out! Or find out how to make them scale down ... /anders On 03/17/2011 03:30 PM, Peter Neubauer wrote: Jordi, do you need an invite to add yourself? Btw, the map looks really pretty now! Need to get some pretty face like Craig on my icon :) 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, Mar 14, 2011 at 9:02 PM, Jordi Valverdede...@eclipsi.net wrote: Invite me: jvalve...@gmail.com :-) El 14/03/11 14:21, Andreas Kollegger andreas.kolleg...@neotechnology.com escribió: I've shared a map with you called Neo4j Graphistas: You can view and edit this map at http://maps.google.com/maps/ms?ie=UTF8hl=enoe=UTF8msa=0msid=2157872407 36307886514.00049e70e573cbd8a91e5 Where are people graphing? Add yourself to the map (or at least your city ;) Note: To edit this map, you'll need to sign into Google with this email address. To use a different email address, just reply to this message and ask me to invite your other one. If you don't have a Google account, you can create one at http://www.google.com/accounts/NewAccount?reqemail=user@lists.neo4j.org. Cheers, Andreas On Mar 14, 2011, at 2:04 PM, Alfredas Chmieliauskas wrote: Great! I think thats a great idea! A On Mon, Mar 14, 2011 at 2:02 PM, Michael Hunger michael.hun...@neotechnology.com wrote: I would, I already have extensive plans for that. I will share them with you :) Cheers Michael Am 14.03.2011 um 13:50 schrieb Alfredas Chmieliauskas: Who would like to start a social networking site for developers (on top of neo4j technology and community)? I'm in. A On Mon, Mar 14, 2011 at 1:45 PM, bhargav gunda bhargav@gmail.com wrote: Stockholm, Sweden On Mon, Mar 14, 2011 at 1:41 PM, Alfredas Chmieliauskas al.fre...@gmail.com wrote: Amsterdam On Mon, Mar 14, 2011 at 1:15 PM, Axel Morgnera...@morgner.de wrote: Hi everybody, as said, here's a new thread for the idea of having beer and talk meetings. Possible locations so far: Malmö London Berlin Frankfurt Looking forward to seeing more Neo4j people in personal! Greetings Axel On 14.03.2011 13:02, Peter Neubauer wrote: Berlin sounds great. Last year a couple of guys met up at StudiVZ, and suddenly we were 30 people. Go for it, there is a LOT of good vibe in Beerlin! 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, Mar 14, 2011 at 12:37 PM, Michael Hunger michael.hun...@neotechnology.com wrote: They guys could create at least one in Malmö? Isn't Andreas there as well, and certainly some more fine folks? We can do one locally here in Gemany, perhaps Berlin (perhaps we can combine that with our monthly flight to CPH). Cheers Michael Am 14.03.2011 um 11:50 schrieb Jim Webber: Hey Rick, It was a pleasure to meet you too. And this got me thinking - it would be great to meet more folks from this list, or to form user groups, or generally just get a beer and talk Neo4j graphs. Is there, for example, a strong London contingent on this list? I only know me and Nat Pryce so far. Anyone else care to get together in London? Jim ___ 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 ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing
Re: [Neo4j] Where is the beer?
When I added my face, I tested to make sure it scaled the same as the others. The results: no images scale at all, no matter what zoom level. They are all fixed size images. Google said we should load images up to 64x64, so I originally loaded a 64x64 image, but since it was noticeably larger than the others, I scaled it down to 48x48. It is still a bit bigger, which is probably what is still bothering you. Seems we have a +1 for faces (from Peter) and a -1 for faces (from Anders). What do others think? (I must admit if I am going to be the only one with a face, then perhaps the vote is clear ...) On Thu, Mar 17, 2011 at 3:54 PM, Anders Nawroth and...@neotechnology.comwrote: Please don't do the pretty face thing, such icons aren't scaled in any sensible way when zooming out! Or find out how to make them scale down ... /anders On 03/17/2011 03:30 PM, Peter Neubauer wrote: Jordi, do you need an invite to add yourself? Btw, the map looks really pretty now! Need to get some pretty face like Craig on my icon :) 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, Mar 14, 2011 at 9:02 PM, Jordi Valverdede...@eclipsi.net wrote: Invite me: jvalve...@gmail.com :-) El 14/03/11 14:21, Andreas Kollegger andreas.kolleg...@neotechnology.com escribió: I've shared a map with you called Neo4j Graphistas: You can view and edit this map at http://maps.google.com/maps/ms?ie=UTF8hl=enoe=UTF8msa=0msid=2157872407 36307886514.00049e70e573cbd8a91e5 Where are people graphing? Add yourself to the map (or at least your city ;) Note: To edit this map, you'll need to sign into Google with this email address. To use a different email address, just reply to this message and ask me to invite your other one. If you don't have a Google account, you can create one at http://www.google.com/accounts/NewAccount?reqemail=user@lists.neo4j.org. Cheers, Andreas On Mar 14, 2011, at 2:04 PM, Alfredas Chmieliauskas wrote: Great! I think thats a great idea! A On Mon, Mar 14, 2011 at 2:02 PM, Michael Hunger michael.hun...@neotechnology.com wrote: I would, I already have extensive plans for that. I will share them with you :) Cheers Michael Am 14.03.2011 um 13:50 schrieb Alfredas Chmieliauskas: Who would like to start a social networking site for developers (on top of neo4j technology and community)? I'm in. A On Mon, Mar 14, 2011 at 1:45 PM, bhargav gunda bhargav@gmail.com wrote: Stockholm, Sweden On Mon, Mar 14, 2011 at 1:41 PM, Alfredas Chmieliauskas al.fre...@gmail.com wrote: Amsterdam On Mon, Mar 14, 2011 at 1:15 PM, Axel Morgnera...@morgner.de wrote: Hi everybody, as said, here's a new thread for the idea of having beer and talk meetings. Possible locations so far: Malmö London Berlin Frankfurt Looking forward to seeing more Neo4j people in personal! Greetings Axel On 14.03.2011 13:02, Peter Neubauer wrote: Berlin sounds great. Last year a couple of guys met up at StudiVZ, and suddenly we were 30 people. Go for it, there is a LOT of good vibe in Beerlin! 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, Mar 14, 2011 at 12:37 PM, Michael Hunger michael.hun...@neotechnology.com wrote: They guys could create at least one in Malmö? Isn't Andreas there as well, and certainly some more fine folks? We can do one locally here in Gemany, perhaps Berlin (perhaps we can combine that with our monthly flight to CPH). Cheers Michael Am 14.03.2011 um 11:50 schrieb Jim Webber: Hey Rick, It was a pleasure to meet you too. And this got me thinking - it would be great to meet more folks from this list, or to form user groups, or generally just get a beer and talk Neo4j graphs. Is there, for example, a strong London contingent on this list? I only know me and Nat Pryce so far. Anyone else care to get together in London? Jim
Re: [Neo4j] Where is the beer?
I went with a face at first, but since it didn't scale, it just looked ridiculous. Maybe scaled down to 32x32 or something like that would work. I like the idea of faces, but not if they cover all of California. David On Thu, Mar 17, 2011 at 10:26 AM, Craig Taverner cr...@amanzi.com wrote: When I added my face, I tested to make sure it scaled the same as the others. The results: no images scale at all, no matter what zoom level. They are all fixed size images. Google said we should load images up to 64x64, so I originally loaded a 64x64 image, but since it was noticeably larger than the others, I scaled it down to 48x48. It is still a bit bigger, which is probably what is still bothering you. Seems we have a +1 for faces (from Peter) and a -1 for faces (from Anders). What do others think? (I must admit if I am going to be the only one with a face, then perhaps the vote is clear ...) On Thu, Mar 17, 2011 at 3:54 PM, Anders Nawroth and...@neotechnology.com wrote: Please don't do the pretty face thing, such icons aren't scaled in any sensible way when zooming out! Or find out how to make them scale down ... /anders On 03/17/2011 03:30 PM, Peter Neubauer wrote: Jordi, do you need an invite to add yourself? Btw, the map looks really pretty now! Need to get some pretty face like Craig on my icon :) 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, Mar 14, 2011 at 9:02 PM, Jordi Valverdede...@eclipsi.net wrote: Invite me: jvalve...@gmail.com :-) El 14/03/11 14:21, Andreas Kollegger andreas.kolleg...@neotechnology.com escribió: I've shared a map with you called Neo4j Graphistas: You can view and edit this map at http://maps.google.com/maps/ms?ie=UTF8hl=enoe=UTF8msa=0msid=2157872407 36307886514.00049e70e573cbd8a91e5 Where are people graphing? Add yourself to the map (or at least your city ;) Note: To edit this map, you'll need to sign into Google with this email address. To use a different email address, just reply to this message and ask me to invite your other one. If you don't have a Google account, you can create one at http://www.google.com/accounts/NewAccount?reqemail=user@lists.neo4j.org. Cheers, Andreas On Mar 14, 2011, at 2:04 PM, Alfredas Chmieliauskas wrote: Great! I think thats a great idea! A On Mon, Mar 14, 2011 at 2:02 PM, Michael Hunger michael.hun...@neotechnology.com wrote: I would, I already have extensive plans for that. I will share them with you :) Cheers Michael Am 14.03.2011 um 13:50 schrieb Alfredas Chmieliauskas: Who would like to start a social networking site for developers (on top of neo4j technology and community)? I'm in. A On Mon, Mar 14, 2011 at 1:45 PM, bhargav gunda bhargav@gmail.com wrote: Stockholm, Sweden On Mon, Mar 14, 2011 at 1:41 PM, Alfredas Chmieliauskas al.fre...@gmail.com wrote: Amsterdam On Mon, Mar 14, 2011 at 1:15 PM, Axel Morgnera...@morgner.de wrote: Hi everybody, as said, here's a new thread for the idea of having beer and talk meetings. Possible locations so far: Malmö London Berlin Frankfurt Looking forward to seeing more Neo4j people in personal! Greetings Axel On 14.03.2011 13:02, Peter Neubauer wrote: Berlin sounds great. Last year a couple of guys met up at StudiVZ, and suddenly we were 30 people. Go for it, there is a LOT of good vibe in Beerlin! 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, Mar 14, 2011 at 12:37 PM, Michael Hunger michael.hun...@neotechnology.com wrote: They guys could create at least one in Malmö? Isn't Andreas there as well, and certainly some more fine folks? We can do one locally here in Gemany, perhaps Berlin (perhaps we can combine that with our monthly flight to CPH). Cheers Michael Am 14.03.2011
Re: [Neo4j] Where is the beer?
+1 on that. /anders 2011-03-17 18:54, David Montag skrev: I went with a face at first, but since it didn't scale, it just looked ridiculous. Maybe scaled down to 32x32 or something like that would work. I like the idea of faces, but not if they cover all of California. David On Thu, Mar 17, 2011 at 10:26 AM, Craig Tavernercr...@amanzi.com wrote: When I added my face, I tested to make sure it scaled the same as the others. The results: no images scale at all, no matter what zoom level. They are all fixed size images. Google said we should load images up to 64x64, so I originally loaded a 64x64 image, but since it was noticeably larger than the others, I scaled it down to 48x48. It is still a bit bigger, which is probably what is still bothering you. Seems we have a +1 for faces (from Peter) and a -1 for faces (from Anders). What do others think? (I must admit if I am going to be the only one with a face, then perhaps the vote is clear ...) On Thu, Mar 17, 2011 at 3:54 PM, Anders Nawrothand...@neotechnology.com wrote: Please don't do the pretty face thing, such icons aren't scaled in any sensible way when zooming out! Or find out how to make them scale down ... /anders On 03/17/2011 03:30 PM, Peter Neubauer wrote: Jordi, do you need an invite to add yourself? Btw, the map looks really pretty now! Need to get some pretty face like Craig on my icon :) 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, Mar 14, 2011 at 9:02 PM, Jordi Valverdede...@eclipsi.net wrote: Invite me: jvalve...@gmail.com :-) El 14/03/11 14:21, Andreas Kollegger andreas.kolleg...@neotechnology.com escribió: I've shared a map with you called Neo4j Graphistas: You can view and edit this map at http://maps.google.com/maps/ms?ie=UTF8hl=enoe=UTF8msa=0msid=2157872407 36307886514.00049e70e573cbd8a91e5 Where are people graphing? Add yourself to the map (or at least your city ;) Note: To edit this map, you'll need to sign into Google with this email address. To use a different email address, just reply to this message and ask me to invite your other one. If you don't have a Google account, you can create one at http://www.google.com/accounts/NewAccount?reqemail=user@lists.neo4j.org. Cheers, Andreas On Mar 14, 2011, at 2:04 PM, Alfredas Chmieliauskas wrote: Great! I think thats a great idea! A On Mon, Mar 14, 2011 at 2:02 PM, Michael Hunger michael.hun...@neotechnology.com wrote: I would, I already have extensive plans for that. I will share them with you :) Cheers Michael Am 14.03.2011 um 13:50 schrieb Alfredas Chmieliauskas: Who would like to start a social networking site for developers (on top of neo4j technology and community)? I'm in. A On Mon, Mar 14, 2011 at 1:45 PM, bhargav gunda bhargav@gmail.com wrote: Stockholm, Sweden On Mon, Mar 14, 2011 at 1:41 PM, Alfredas Chmieliauskas al.fre...@gmail.com wrote: Amsterdam On Mon, Mar 14, 2011 at 1:15 PM, Axel Morgnera...@morgner.de wrote: Hi everybody, as said, here's a new thread for the idea of having beer and talk meetings. Possible locations so far: Malmö London Berlin Frankfurt Looking forward to seeing more Neo4j people in personal! Greetings Axel On 14.03.2011 13:02, Peter Neubauer wrote: Berlin sounds great. Last year a couple of guys met up at StudiVZ, and suddenly we were 30 people. Go for it, there is a LOT of good vibe in Beerlin! 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, Mar 14, 2011 at 12:37 PM, Michael Hunger michael.hun...@neotechnology.com wrote: They guys could create at least one in Malmö? Isn't Andreas there as well, and certainly some more fine folks? We can do one locally here in Gemany, perhaps Berlin (perhaps we can combine that with our monthly flight to CPH). Cheers Michael Am 14.03.2011 um 11:50 schrieb Jim Webber: Hey Rick, It was a pleasure to meet you too. And this got me thinking - it would be great to meet more folks from this list,
Re: [Neo4j] Representing Statements About Statements
Thanks with the clarification. Is the Sail RDF interface at all accessible from Python, such as via neo4j.py? Regards, Chris On Thu, Mar 17, 2011 at 10:32 AM, Marko Rodriguez okramma...@gmail.com wrote: Hi Chris, However, this doesn't technically represent any statements about statements (i.e. metadata). How would I add a statement, explaining the attribution of each of these statements and the time when they were added? For example, if the first statement was entered-by a specific person on a specific date, I would represent this in RDF like: Peter's example was just showing you the basics of getting an RDF store going over Neo4j. He did not get into the complications of reification (statements about statements). You will need to use Sail quad store functionality. This is where you have named graphs and you can make statements about named graphs. Such issues are for an RDF mailing list. However, here is some specifics in very brief notations so I don't have to type so much: a knows b g1 b likes c g2 These are two quads -- spog. You can now make reference to the forth component called the 'named graph' or 'context.' a believes g2 g1 Thus, a is asserting that he believes that b likes c. This is all possible through Blueprints Sail which is the binding you can use to easily make Neo4j an RDF quad store. Blueprints Sail just binds the Sail API to Neo4j. You will not think Neo4j in this context, you will think Sail. Sail is pretty standard Java-based RDF API developed by OpenRDF. Thus, you should learn about Sail: http://www.openrdf.org/documentation.jsp Really fast. To add quads: sailConnection.addStatement(new URIImpl(a), new URIImpl(knows), new URIImpl(b), new URIImpl(g1)); To query quads, where null acts as a wildcard: sailConnection.getStatements(new URIImpl(a), null, null, null); Hope that gets you started. Good luck with your project, Marko. http://markorodriguez.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
Re: [Neo4j] Representing Statements About Statements
Hi, I dunno about Sail (Java) to Python. You will have to Google that... Sorry -- Good luck, Marko. http://markorodriguez.com On Mar 17, 2011, at 2:26 PM, Chris Spencer wrote: Thanks with the clarification. Is the Sail RDF interface at all accessible from Python, such as via neo4j.py? Regards, Chris On Thu, Mar 17, 2011 at 10:32 AM, Marko Rodriguez okramma...@gmail.com wrote: Hi Chris, However, this doesn't technically represent any statements about statements (i.e. metadata). How would I add a statement, explaining the attribution of each of these statements and the time when they were added? For example, if the first statement was entered-by a specific person on a specific date, I would represent this in RDF like: Peter's example was just showing you the basics of getting an RDF store going over Neo4j. He did not get into the complications of reification (statements about statements). You will need to use Sail quad store functionality. This is where you have named graphs and you can make statements about named graphs. Such issues are for an RDF mailing list. However, here is some specifics in very brief notations so I don't have to type so much: a knows b g1 b likes c g2 These are two quads -- spog. You can now make reference to the forth component called the 'named graph' or 'context.' a believes g2 g1 Thus, a is asserting that he believes that b likes c. This is all possible through Blueprints Sail which is the binding you can use to easily make Neo4j an RDF quad store. Blueprints Sail just binds the Sail API to Neo4j. You will not think Neo4j in this context, you will think Sail. Sail is pretty standard Java-based RDF API developed by OpenRDF. Thus, you should learn about Sail: http://www.openrdf.org/documentation.jsp Really fast. To add quads: sailConnection.addStatement(new URIImpl(a), new URIImpl(knows), new URIImpl(b), new URIImpl(g1)); To query quads, where null acts as a wildcard: sailConnection.getStatements(new URIImpl(a), null, null, null); Hope that gets you started. Good luck with your project, Marko. http://markorodriguez.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