Re: [Neo4j] neo4j-rest
Hum... Check out the gist, I'm getting 7 node level 5's back. Maybe my node layout is wrong, tweak it to what you have and we can try a few things... On Mon, Nov 22, 2010 at 1:28 AM, Anees Haider an...@justlynx.com wrote: Thanks Max, It is now at least full filling some of the requirements. Now the only limitation I am having is that I am only getting close nodes i.e. I -- J -- K (nodes at most 2 hops away) not nodes further away (more than 2 hops away) such as I -- A -- B -- C -- K, (please note I and K are represeneted in both cases). Regards, Anees Haider P.S. That was typo, results filter ---instead of--- return filter ___ 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] Help on an issue about Neoclipse Database is in use issue
Hi, I am new to neo4j, and I used the sample from below link write the first application. After running the programming successfully, I want to use neoclipse to view the result via Database Graph via neoclipse plugin. However, I always meet the issue reporting that the database is in use and cannot show it in visual diagram style. Who knows how to resolve this issue? Any configuration errors? Thanks. http://wiki.neo4j.org/content/Getting_Started_With_Java Regards, Caron ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Neo4J server with my embedded server
Hi, I see there's the Neo4j Server in M4, and it looks really cool, especially with its administration console. My question is: is it possible to have an embedded server (a server that I configure from java, with my own settings, indexers, etc) and have this same Neo4j Web Administration tool working with this embedded server? If possible, how? Thanks for any help or tips! --- balazs ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] neo4j-rest
Just to add to this: just in (in neo4j-kernel trunk) is a new Evaluator which is a merge of prune evaluator and return filter and is set to deprecate those two. I though it might be relevant because your prune evaluator and your return filter have much in common. An Evaluator would return one of: INCLUDE_AND_CONTINUE, INCLUDE_AND_PRUNE, EXCLUDE_AND_CONTINUE, EXCLUDE_AND_PRUNE This has benefits such as not having to duplicate code in pruning/filtering and that only one evaluator have to be run for each position during traversal, instead of one prune evaluator and one return filter. Will soon be incorporated into the REST layer also. 2010/11/22 Anees Haider an...@justlynx.com Hey Max, Sorry I am new (and not much familiar, and can't find time to play) with git, I usually use svn. The nodes architecture is such that no level 5 nodes are connected to each other directly, instead they are at least 2 hops/nodes away, such as follows: node1 = create_node(5, N) node2 = create_node(5, N) node3 = create_node(5, N) node4 = create_node(5, N) node11 = create_node(6, N) node12 = create_node(7, N) node13 = create_node(8, N) @neo.create_relationship(linked, node1, node11) @neo.create_relationship(linked, node2, node11) @neo.create_relationship(linked, node3, node11) @neo.create_relationship(linked, node4, node11) @neo.create_relationship(linked, node1, node12) @neo.create_relationship(linked, node12, node13) @neo.create_relationship(linked, node13, node4) As you can see no level 5 is connected adjacent to other level 5 node. Instead they are at least 2 hops away. Node 1 is connected to node 4 through node 11 and also through node 12, node 13. Thanks and regards, Anees Haider ___ 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] JTA support for Neo
This looks great, very good work! I would like to get this merged into trunk after we releases 1.2 (not after this iteration but after the next one). The changes looks minimal to me and hopefully there are no problems going forward with the current design. Looking forward to the guide so me and others can try this out. Would it be possible to continue investigate this and see how these changes would work in a Spring environment? The goal would be to run on an external TM, in Spring (using annotated transactions) and have both Neo4j and MySQL (or some other resource) participate in the same transaction. Regards, Johan On Sat, Nov 20, 2010 at 6:40 PM, Chris Gioran chris.gio...@gmail.com wrote: IMHO you should start a branch in the SVN so others can look at the code. So, at https://svn.neo4j.org/laboratory/users/cgioran/neo4j-kernel-jta/ you can find the kernel component with my changes incorporated. The classes added are org.neo4j.kernel.impl.transaction.TransactionManagerImpl org.neo4j.kernel.impl.transaction.TransactionManagerService that are the hooks for providing custom transaction managers. The first is an extension of javax.transaction.TransactionManager adding support for startup and shutdown, an operation present in all tx managers but not part of their API. This provides the ability to plugin custom implementations in the TxModule. The second is a convenience class that is extended by tx managers that are to be provided as a service. Also, changes are present in org.neo4j.kernel.impl.transaction.TxModule for using this new way of doing things, org.neo4j.kernel.impl.transaction.TxManager org.neo4j.kernel.impl.transaction.ReadOnlyTxManager for them to fit in this and org.neo4j.kernel.EmbeddedGraphDbImpl org.neo4j.kernel.Config to bind them. This fork is (or should be) completely compatible with the official kernel, so it can be used as a drop in replacement. Any deviation is a bug and if reported it will be fixed. The second project is at https://svn.neo4j.org/laboratory/users/cgioran/JOTMService/ and is a sample implementation of a tx manager service for JOTM. To use this, build it, add the resulting jar to your classpath and, if you are using the new jta fork of the kernel, you can pass a configuration parameter of tx_manager_impl=jotm to your EmbeddedGraphDatabase and presto!, if all is well you will be using a JOTM TxManager to do your thing. Of course, the jotm libraries must be also in your classpath, version 2.1.9 If this way of doing things is met with approval, I will write a complete guide to using the above, implementation and design details and as a result a how to for adding more external tx managers. There is more to come. CG ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Status of visualization options
I've had pretty good luck loading my neo4j graphs into Gephi using the new neo4j plugin. Gephi is a rapidly evolving tool (like neo4j). It keeps getting better and more stable all the time. Hello all, I have successfully imported a large part of my data set into neo4j and have done some basic traversals. I want to start visualizing a portion of the graph or of a traversal and was overwhelmed by the amount of options listed at http://wiki.neo4j.org/content/Visualization_options_for_graphs It is unclear to me which products have actually been successfully integrated with neo4j or which was still have ongoing development. My preference is for simplicity over flexibility and to work at the code level via a library for the generation portion. The actual viewer can be a separate standalone application. The visualizations themselves will be very simple. I am not an Eclipse user so I have not looked into Neoclipse. I have worked with Graphviz files before, so to generate a basic .dot file seems ideal. There was some discussion about JUNG lately, so perhaps that is a better alternative. Unfortunately I do not have the time to explore all of the options. Cheers, Ivan ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Rick Otten rot...@windfish.net O=='=+ ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] JTA support for Neo
On Mon, Nov 22, 2010 at 4:10 PM, Johan Svensson jo...@neotechnology.com wrote: This looks great, very good work! I would like to get this merged into trunk after we releases 1.2 (not after this iteration but after the next one). The changes looks minimal to me and hopefully there are no problems going forward with the current design. Looking forward to the guide so me and others can try this out. Would it be possible to continue investigate this and see how these changes would work in a Spring environment? The goal would be to run on an external TM, in Spring (using annotated transactions) and have both Neo4j and MySQL (or some other resource) participate in the same transaction. Regards, Johan Currently I am working on a branch of the recovery robustness suite that runs the jta kernel with a jotm instance. Works like a charm, after some more successful cycles I will commit it at my laboratory space, probably within the hour. This will contain a completely setup environment for running an example and the guide comes next. If this test is considered enough, I could delay integrating my JDI-based test suite and continue work on the JCA module. Personally, I feel confident with the robustness suite, so if there are no objections until I am done with the guide, I will begin with the connector. cheers, CG ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] JTA support for Neo
Ok, I have written a small post describing how this thing comes together. It is available at http://digitalstain.blogspot.com/2010/11/using-jotm-as-transactionmanager-in.html I hope it is clear enough. Questions asked here will end up as corrections to this. However, let me point out that here: https://svn.neo4j.org/laboratory/users/cgioran/recovery-robustness/ is a branched project that contains everything that is needed to run the JOTM enabled Neo, provided you have installed the jta kernel and the jotm service implementation. All configuration and dependencies are taken care of (the JOTM configuration is in the resources/ directory and the JVM parameters in the run-one script). Thank you for your time. CG ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4J server with my embedded server
Balazs, Yes, this is possible via the RemoteGraphDB RMI connector. However, in order to take one bite at a time, it is not included in the first version of the server, mainly due to current limitations in the remote component for the admin part. This will be added in later versions. If you really want it, you can always take the source code and work on it before anyone else has time - a lot of the code is already in the neo4j server component. Before enabling remote connections to embedded neo4j instances as part of a release, we want to make sure things are tested and have some more features... If you try, let the community know how it goes so we can support you! /peter On Monday, November 22, 2010, Balazs E. Pataki pat...@dsd.sztaki.hu wrote: Hi, I see there's the Neo4j Server in M4, and it looks really cool, especially with its administration console. My question is: is it possible to have an embedded server (a server that I configure from java, with my own settings, indexers, etc) and have this same Neo4j Web Administration tool working with this embedded server? If possible, how? Thanks for any help or tips! --- balazs ___ 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] Neo4J server with my embedded server
It may also be desirable to just have the webadmin part in an otherwise embedded environment, that's what you're really looking for, right? Is that possible (now/soon)? 2010/11/23 Peter Neubauer peter.neuba...@neotechnology.com Balazs, Yes, this is possible via the RemoteGraphDB RMI connector. However, in order to take one bite at a time, it is not included in the first version of the server, mainly due to current limitations in the remote component for the admin part. This will be added in later versions. If you really want it, you can always take the source code and work on it before anyone else has time - a lot of the code is already in the neo4j server component. Before enabling remote connections to embedded neo4j instances as part of a release, we want to make sure things are tested and have some more features... If you try, let the community know how it goes so we can support you! /peter On Monday, November 22, 2010, Balazs E. Pataki pat...@dsd.sztaki.hu wrote: Hi, I see there's the Neo4j Server in M4, and it looks really cool, especially with its administration console. My question is: is it possible to have an embedded server (a server that I configure from java, with my own settings, indexers, etc) and have this same Neo4j Web Administration tool working with this embedded server? If possible, how? Thanks for any help or tips! --- balazs ___ 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