Re: [Neo4j] HA starting issue

2011-08-18 Thread Mattias Persson
If you perform some kind of write operation on a slave it will as a side effect sync up with master. The pull interval is there to keep the sync heartbeat going even if a slave doesn't sync up the before mentioned way in a while. Den torsdagen den 18:e augusti 2011 skrev Brendan

[Neo4j] Neo4j - Just loved It. Couple of queries.

2011-08-18 Thread Husain, Yavar
Hi I just loved the concept of Graph Based Databases. I have some queries: 1. Is there any Architecture document on Neo4j? I specifically want to know, suppose if I use Java API how the graph would persist in memory? I mean to say I want to create the graph once and then search multiple times

Re: [Neo4j] Neo4j - Just loved It. Couple of queries. [Resolved]

2011-08-18 Thread Husain, Yavar
Got answers to my previous questions. I was actually using Embedded Neo4j, just had a look on Server Edition (java +REST) Simply loving it :) /PRE BR **BRThis message may contain confidential or proprietary

Re: [Neo4j] Neo4j - Just loved It. Couple of queries. [Resolved]

2011-08-18 Thread Peter Neubauer
Husain, Good to hear! Don't hesitate to ask here if you have more questions or comments - we all love to help and get feedback for the project! /peter Sent from my phone. On Aug 18, 2011 12:42 PM, Husain, Yavar yhus...@firstam.com wrote: Got answers to my previous questions. I was actually

Re: [Neo4j] partitioning the relationship store

2011-08-18 Thread Niels Hoogeveen
Jim, Can you tell me how to add my suggestions for a solution to this problem to your issue tracker? Niels From: pd_aficion...@hotmail.com To: user@lists.neo4j.org Date: Tue, 16 Aug 2011 16:33:04 +0200 Subject: Re: [Neo4j] partitioning the relationship store The partitioning is a

Re: [Neo4j] partitioning the relationship store

2011-08-18 Thread Jim Webber
Hi Niels, The devteam backlog isn't public because it contains private customer activities (as well as features from the community). Andreas and Peter are working on a way that we can collaborate more effectively with (the relatively small number of) community code contributors. Until then,

Re: [Neo4j] Depth and traversals in journey planner migration.

2011-08-18 Thread picklepete
Hey Paddy, Thanks for the inspiration, I had a scour through the source and website, the speed in which you can traverse the graph is incredible! Jim: I don't suppose you know if/when the REST API will support these complex traversals (or END_OF_GRAPH queries)? This unfortunately makes Neo4j a

Re: [Neo4j] Depth and traversals in journey planner migration.

2011-08-18 Thread Peter Neubauer
Hi Peter, using Gremlin or Cypher, you can do more complicated traversals even with the Neo4j Server, see http://docs.neo4j.org/chunked/snapshot/cypher-plugin.html and http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html . While Cypher support for variable length pathes is coming, in

Re: [Neo4j] Filter traversal result by relationship type (REST API)

2011-08-18 Thread Peter Neubauer
Nuo, I don't think you can refer to the return filter via a reference. Could you post your graph and the curl command you are doing so I could take a look at it? It should work ... take even a look at

Re: [Neo4j] Depth and traversals in journey planner migration.

2011-08-18 Thread picklepete
Hey Peter, Thanks for the quick reply. I actually started work on my migration using Gremlin, my original query looks like this: g.v(%d).outE{it.label=='JOURNEY'}.inV.loop(3){it.loops 5 it.object.getProperty('stop_id') != '%d'}.outE{it.label=='HOP'}.inV.paths I would be querying on one of the

Re: [Neo4j] Depth and traversals in journey planner migration.

2011-08-18 Thread Peter Neubauer
Peter, there is no concept of END_OF_GRAPH in Neo4j or Gremlin. It is merely the concept of not including a depth-related component into the stop condition of a traversal. So, your query could maybe be something like g.v(%d).out('JOURNEY').loop(1){it.object.getProperty('stop_id') !=

Re: [Neo4j] Depth and traversals in journey planner migration.

2011-08-18 Thread Jim Webber
Hi Peter, Jim: I don't suppose you know if/when the REST API will support these complex traversals (or END_OF_GRAPH queries)? This unfortunately makes Neo4j a no-go for our project until then. The REST API does support some complex traversals, but it's not totally equivalent to the either of

Re: [Neo4j] Filter traversal result by relationship type (REST API)

2011-08-18 Thread Jim Webber
Hi Nuo, I've been playing with this for a little while, and after talking it over with the devteam, I'm pretty certain that want you want to do isn't yet possible through the REST API. To solve your problem, you'd need a return filter like: position.endNode().hasProperty('name')

Re: [Neo4j] Filter traversal result by relationship type (REST API)

2011-08-18 Thread Jim Webber
Hi Nuo, Please ignore my previous mail - Tobias pointed out that my syntax was wrong (thanks Tobias!). Try: position.endNode().hasProperty('name') !position.endNode().hasRelationship([org.neo4j.graphdb.DynamicRelationshipType.withName( 'bar' )]) And it should work fine (look out for

Re: [Neo4j] possible to query spatial indexes from gremlin?

2011-08-18 Thread Boris Kizelshteyn
Hi Peter, I am experiencing a weird phenomenon where I have some nodes in a spatial layer that are not being returned by the find node in layer query. I have checked everything I know of and they are just not being found. Other nodes are fine. I can see the Rtree index and relationships and they

[Neo4j] Is neo4j support routing with turn restrictions?

2011-08-18 Thread equazen
Hi, Our team is building app using neo4j with aStar algorithm to make routing from node to node using own data model from OpenStreetMap. Anybody know how to make search using aStar with turn restrictions and how to implement them? We are using component graph-algo I am thinking about some

Re: [Neo4j] possible to query spatial indexes from gremlin?

2011-08-18 Thread Boris Kizelshteyn
Hi Peter, I'm finally trying this query out, but not getting any results. Do I need to rebuild neo4j-spatial? I sent the index command successfully: - http POST /db/data/index/node/ {name:UsersWorld, config:{provider:spatial}} - == 201 Created - == { - == template :

[Neo4j] is there a way to programmatically determine number of nodes and relationship in a datastore?

2011-08-18 Thread Gautam Thaker
Hi: I am somewhat new to neo4j. I wanted to track the number of nodes and relations in my datastore over time, and to do so from my own program (as opposed to from the webadmin gui that one reaches at http://localhost:7474.) Are there API calls that provide this information? Thanks. Gautam

Re: [Neo4j] possible to query spatial indexes from gremlin?

2011-08-18 Thread Peter Neubauer
Boris, Could you please share the database or some creation script leading up to this so I can have a look? /peter Sent from my phone. On Aug 18, 2011 7:03 PM, Boris Kizelshteyn bo...@popcha.com wrote: Hi Peter, I'm finally trying this query out, but not getting any results. Do I need to

Re: [Neo4j] Problems with Aspects, @Transactional, and neo4j not shutting down properly.

2011-08-18 Thread Michael Hunger
Hi Raffi, the spring configuration contains a shutdown hook on destruction of your spring context. You should call appCtx.close() at the end of your application, which will automatically also shut down the graph database. Sorry for the eclipse STS annoyances. Can you determine any cause for

Re: [Neo4j] is there a way to programmatically determine number of nodes and relationship in a datastore?

2011-08-18 Thread Peter Neubauer
Hi Gautam, a lot of monitoring info is exposed via the JMX and Monitoring API, see http://docs.neo4j.org/chunked/snapshot/operations-monitoring.html for details. I believe the number of nodes and releationships is part of the community edition, so just try it out using the JMX API (there is Java

Re: [Neo4j] ShortestPath Exception

2011-08-18 Thread John Howard
Any pointers to why am getting this exception? Appreciate your help. Thanks. On Mon, Aug 15, 2011 at 9:33 PM, John Howard johnyho...@gmail.com wrote: I am using 1.4 M03. Not sure if this is already reported/fixed. java.util.ConcurrentModificationException at

[Neo4j] how to use neo4j in server mode w/o using HTTP/REST stuff?

2011-08-18 Thread Gautam Thaker
Hi: I want to create Java applications that will connect to a neo4j server. Some of these apps will be doing a lot of updates to the graph, and others will do lots of read/query/traversals, and some will do a mix of both. Highest performance that I can achieve are important to me. From reading

Re: [Neo4j] possible to query spatial indexes from gremlin?

2011-08-18 Thread Boris Kizelshteyn
sorry false alarm, a runaway job was removing nodes :) On Thu, Aug 18, 2011 at 3:31 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Boris, Could you please share the database or some creation script leading up to this so I can have a look? /peter Sent from my phone. On

[Neo4j] HA consistency

2011-08-18 Thread David Rader
It looks like the HA implementation is for eventual consistency, tunable by how often a slave polls the master for updates from other nodes. With a load balanced cluster, is the best practice to simply use sticky sessions on clients to ensure that immediate reads of updated data are served by

Re: [Neo4j] ShortestPath Exception

2011-08-18 Thread Dmitriy Shabanov
Why do you use 1.4 M03? there are 1.4 1.4.1. You should try it first. On Fri, Aug 19, 2011 at 2:55 AM, John Howard johnyho...@gmail.com wrote: Any pointers to why am getting this exception? Appreciate your help. Thanks. On Mon, Aug 15, 2011 at 9:33 PM, John Howard johnyho...@gmail.com