Re: [Neo4j] Filter by relationship Property

2011-03-24 Thread Tobias Ivarsson
For the first position (at the start node), there is no relationship leading up to it, which means that the lastRelationship() method returns null. This is a special case that has to be dealt with. Cheers, Tobias On Wed, Mar 23, 2011 at 9:05 PM, Justine Mathews justine.math...@megree.com wrote:

Re: [Neo4j] Data type returned by extensions in REST

2011-03-24 Thread Michael Hunger
Javier, unfortunately it is not clear what you're asking for. Is it the discoverable part of the REST API which describes parameters and return values? I think the parameter description is generated from the server plugin method parameter names, types and annotation values. This is handled by

[Neo4j] neo4j-spatial pulled from neo4j maven repo?

2011-03-24 Thread Axel Morgner
Hi, is it true that the current neo4j-spatial jarfiles are not available on http://m2.neo4j.org/org/neo4j/neo4j-spatial/ anymore? I cannot find it at http://m2.neo4j.org/snapshots/org/neo4j/ either. On https://repo.neo4j.org/ I only find 0.1-SNAPSHOT.

Re: [Neo4j] buggy webadmin

2011-03-24 Thread Peter Neubauer
Anton, we are thinking of adding more property types to Neo4j after 1.3, among them a structured document one that would be exactly this. Until then, you can of course either just have properties for each of the map entries, or escape the whole JSON map and store it as a String property. Would any

Re: [Neo4j] neo4j-spatial pulled from neo4j maven repo?

2011-03-24 Thread Anders Nawroth
Hi! Lots of files in the repo got moved yesterday while some work was done there. I'll try to bring them back ASAP. /anders On 03/24/2011 10:18 AM, Axel Morgner wrote: Hi, is it true that the current neo4j-spatial jarfiles are not available on http://m2.neo4j.org/org/neo4j/neo4j-spatial/

Re: [Neo4j] neo4j-spatial pulled from neo4j maven repo?

2011-03-24 Thread Anders Nawroth
Hi! The neo4j-spatial snapshots are now back. /anders On 03/24/2011 10:18 AM, Axel Morgner wrote: Hi, is it true that the current neo4j-spatial jarfiles are not available on http://m2.neo4j.org/org/neo4j/neo4j-spatial/ anymore? I cannot find it at http://m2.neo4j.org/snapshots/org/neo4j/

Re: [Neo4j] neo4j-spatial pulled from neo4j maven repo?

2011-03-24 Thread Axel Morgner
Yes, thanks a lot!! Am 24.03.2011 10:42, schrieb Anders Nawroth: Hi! The neo4j-spatial snapshots are now back. /anders On 03/24/2011 10:18 AM, Axel Morgner wrote: Hi, is it true that the current neo4j-spatial jarfiles are not available on http://m2.neo4j.org/org/neo4j/neo4j-spatial/

[Neo4j] Neo4J High Availability : embedded or server mode ?

2011-03-24 Thread Clement Honore
Hi, I'm new to Neo4J and I'm a little bit confused (maybe totally lost...) about the use of the Neo4J server against an embedded database in high availability mode... I need a database with high availability, replication and high concurrency management accessed as a remote server. If I have well

Re: [Neo4j] Neo4J High Availability : embedded or server mode ?

2011-03-24 Thread Jim Webber
Hi Kiiv, Both the embedded database *and* the server database can run in HA mode. We tend to think of the server as simply a wrapper around the database that provides a RESTful API to augment the local API. So go right ahead and pick the configuration that's right for you, and you'll be able

Re: [Neo4j] neo4j-spatial pulled from neo4j maven repo?

2011-03-24 Thread Andreas Kollegger
Hi Axel, We had a brief outtage of the m2.neo4j.org snapshot repository. It should all be back up again. Apologies, Andreas On Mar 24, 2011, at 10:18 AM, Axel Morgner wrote: Hi, is it true that the current neo4j-spatial jarfiles are not available on

[Neo4j] Neo4J Spatial - issue with bounding box indices in OSM Layer.

2011-03-24 Thread Robert Boothby
Hi, I've been playing with Neo4j Spatial and the OSM data imports to see how it all fits together. I've been blogging on my experiences (http://bbboblog.blogspot.com). It's still early days but think that I have run into an issue. Having imported the OSM data successfully I've tried to execute

Re: [Neo4j] Neo4J High Availability : embedded or server mode ?

2011-03-24 Thread Clement Honore
Hi Jim, thanks for your answer. So the Neo4J server and REST API are principaly interesting for non supported langages but with Java you confirm that the embedded database in high availability mode act like a standalone server. Nice ;) Kiiv 2011/3/24 Jim Webber j...@neotechnology.com Hi

[Neo4j] Cron job inside embedded neo4j

2011-03-24 Thread Saikat Kanjilal
Folks, I was wondering if there's a way to simulate the notion of a cron job inside embedded neo4j, I nerd to have a way to periodically update a certain property of each and every node in my graph by calling into a remote service . Regards Sent from my iPhone

Re: [Neo4j] Cron job inside embedded neo4j

2011-03-24 Thread Andreas Kollegger
Hi Saikat, The embedded graph database does not have such a facility. You'd have to manage a timer thread yourself or use perhaps Quartz[1] for sophisticated job scheduling. Cheers, Andreas [1] http://www.quartz-scheduler.org/ On Mar 24, 2011, at 3:08 PM, Saikat Kanjilal wrote: Folks, I

Re: [Neo4j] Data type returned by extensions in REST

2011-03-24 Thread Javier de la Rosa
On Thu, Mar 24, 2011 at 04:58, Michael Hunger michael.hun...@neotechnology.com wrote: unfortunately it is not clear what you're asking for. Sorry about that. The only thing I want in the REST component is a way to identify the data type of the value returned by an extension. Is it the

Re: [Neo4j] Cron job inside embedded neo4j

2011-03-24 Thread Peter Neubauer
Hit there, there is a nice write-up at http://onjava.com/pub/a/onjava/2005/09/28/what-is-quartz.html?page=1 on quartz. I have used Quartz before - it's VERY convenient, and does handle threads etc nicely. I am not certain what use a wrapper or utility would provide in itself since Quartz already

Re: [Neo4j] Neo4J Spatial - issue with bounding box indices in OSM Layer.

2011-03-24 Thread Craig Taverner
Hi Robert, Interesting work you're doing. I just read your blogs and I think it would be great to discuss your tests in more detail. Michael Hunger has done some interesting tests on the scalability of the OSM import, and could probably give suggestions on configuring the import. Looking at your

Re: [Neo4j] Cron job inside embedded neo4j

2011-03-24 Thread Saikat Kanjilal
Yes to be clear what I need is some hook in neo4j connected to a utility that does update of global data using quartz, in my case I would need this to update a specific property of all nodes. Date: Thu, 24 Mar 2011 15:56:37 +0100 From: peter.neuba...@neotechnology.com To:

Re: [Neo4j] Neo4J Spatial - issue with bounding box indices in OSM Layer.

2011-03-24 Thread Robert Boothby
Thanks for the response Craig. You're right I had mixed up the latitude and longitude coordinates. I've now got the expected answers... However the transposition of the elements of the spatial index's root node geometry envelope definitely occurs. I just wouldn't have spotted it if I hadn't mixed

[Neo4j] A picture worth a 170'000 nodes and 650'000 edges

2011-03-24 Thread Alfredas Chmieliauskas
For fun: This is a visualization of the graph resulting from a simulation (interacting energy markets). http://test.eeni.tbm.tudelft.nl/~alfredas/d13n-graph.png After 10 simulation ticks we have ~170'000 entities (agents, markets, power plants, bids, substances, technologies, etc) and ~650'000

[Neo4j] Adding Nodes, transactions and such...

2011-03-24 Thread jisenhart
Hi All, When I load data via an EmbeddedGraphDatabase - I need to stop the server, load the nodes and then restart the server. Is there a way to load the server while it is active? Are there ways to do intermittent transaction commits? I was thinking to call transaction.finish and then get a

Re: [Neo4j] Adding Nodes, transactions and such...

2011-03-24 Thread David Montag
Hi, Is this of help? http://wiki.neo4j.org/content/Transactions#Big_transactions David On Thu, Mar 24, 2011 at 12:11 PM, jisenhart jisenh...@yoholla.com wrote: Hi All, When I load data via an EmbeddedGraphDatabase - I need to stop the server, load the nodes and then restart the server.

Re: [Neo4j] Adding Nodes, transactions and such...

2011-03-24 Thread Michael Hunger
only one jvm can access a graphdb at a time you could write a server plugin or extension for loading the data those share the db with the other server modules for intermittent commits just use a counter to commit and restart transactions after xx inserts Michael Sent from my iBrick4 Am

Re: [Neo4j] Cron job inside embedded neo4j

2011-03-24 Thread Michael Hunger
What kind of property is that? Is it the same on all nodes? So perhaps you can abstract that and just put it on one node and have the others linked to that? Could you please elaborate on your domain? Thanks Michael Am 24.03.2011 um 18:19 schrieb Saikat Kanjilal: Yes to be clear what I

Re: [Neo4j] A picture worth a 170'000 nodes and 650'000 edges

2011-03-24 Thread Peter Neubauer
Wow! That is some wicked impressive visualization! Well done! Also, there will be a GeekOut in Tallin, Estonia, http://twitter.com/#!/GeekOut_ee Maybe we could meet up there and have some Graph-fun and you show off this stuff to the geeks? Cheers, /peter neubauer GTalk:      neubauer.peter

Re: [Neo4j] A picture worth a 170'000 nodes and 650'000 edges

2011-03-24 Thread Michael Hunger
But Alfredas is in the Netherlands, right, in Delft? Btw. they used Spring Data Graph successfully for their project, I already got some great feedback. Thanks for that Cheers Michael Am 24.03.2011 um 21:06 schrieb Peter Neubauer: Wow! That is some wicked impressive visualization! Well

Re: [Neo4j] Adding Nodes, transactions and such...

2011-03-24 Thread jisenhart
Thanks! On Thu, 24 Mar 2011 20:29:01 +0100, Michael Hunger michael.hun...@neotechnology.com wrote: only one jvm can access a graphdb at a time you could write a server plugin or extension for loading the data those share the db with the other server modules for intermittent commits just

[Neo4j] Read property file from a plugin

2011-03-24 Thread jisenhart
Is there a way to determine the path to the conf directory from within a plugin? ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] A picture worth a 170'000 nodes and 650'000 edges

2011-03-24 Thread Alfredas Chmieliauskas
Estonia is nice. But unfortunately I'm in Delft, NL most of the time. It would be great though to meet somewhere in the middle at some point, maybe Cph? Alfredas On Thu, Mar 24, 2011 at 9:20 PM, Michael Hunger michael.hun...@neotechnology.com wrote: But Alfredas is in the Netherlands, right, in

Re: [Neo4j] A picture worth a 170'000 nodes and 650'000 edges

2011-03-24 Thread Tobias Ivarsson
Nice to see my visualization code being put to good use. The most recent version has moved to github, along with the rest of Neo4j, since this is an unofficial tool it is on my personal github: https://github.com/thobe/neoviz Cheers, Tobias On Thu, Mar 24, 2011 at 8:09 PM, Alfredas

[Neo4j] Neo4j 1.3 Abisko Lampa M05 - Preparing for arrival

2011-03-24 Thread Andreas Kollegger
Hello everyone, Another milestone has arrived, bringing a new webadmin UI, extended server extensions and improvements on the Windows side of things. For a thorough description of the changes present, as always, refer to the official blog post, available at: http://blog.neo4j.org/ A new

Re: [Neo4j] Neo4J Spatial - issue with bounding box indices in OSM Layer.

2011-03-24 Thread Craig Taverner
I will need to double check this. I know there was a dispute early on with Neo4j Spatial because the JTS library orders bbox params in one way, and GeoTools does it another way, so you might be seeing the results of that. I believed we sorted that all out, but perhaps not. I have have just checked

Re: [Neo4j] A picture worth a 170'000 nodes and 650'000 edges

2011-03-24 Thread Keiichiro Ono
Nice visualization! How long did it take to render this image? By the way, we are going to hire a student through Google Summer of Code to use Cytoscape 3 as a visualizer for Neo4j. If any of you are a student and interested in this type of coding project, please apply:

[Neo4j] General question: relationships vs indexes

2011-03-24 Thread Rick Bullotta
Easy question (I hope): For a simple, one key index, is it better (more performant on write and query) to use the indexing framework or to create your own index using relationships? Thanks, Rick ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] General question: relationships vs indexes

2011-03-24 Thread Rick Bullotta
Oh, and one related question: With the index framework, is there a way to limit the # of items returned from a query? I could potentially have millions of values, but am only interested in the top or bottom 100 (based on sort order). -Original Message- From:

[Neo4j] LuceneTimeline in 1.3

2011-03-24 Thread Rick Bullotta
Hi, Mattias. This looks like it is almost exactly what I need for one of our use cases, but I can't find any examples/documentation on its usage. Can you point me to an example of creating/adding/querying using these index? Cheers, Rick ___ Neo4j

Re: [Neo4j] General question: relationships vs indexes

2011-03-24 Thread Rick Bullotta
Answering (part of) my own question, I found top(n) in QueryContext. Anyone have an example of its proper usage? -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Rick Bullotta Sent: Thursday, March 24, 2011 9:01 PM To: Neo4j user

[Neo4j] the Problem about the real-time of index

2011-03-24 Thread 孤竹
Hi,all I am confused at the index real-time, If I make an index, and add some nodes in , when I can used the index and find the node ? if it's real-time , It will cause some CPU and calculate ? It is worth for me to use real-time ? how can config that

Re: [Neo4j] Neo4J High Availability : embedded or server mode ?

2011-03-24 Thread Guru GV
Though I don't see a reason not to support it, but I did not understand the point of HA in a embedded mode. Would be interested in hearing couple of examples of what that would be... Embedded would mean - same VM - so replication and concurrency - do they really mean much here ? Also, that