Re: [Neo4j] Re: Route planner software based on neo4j

2014-01-17 Thread Craig Taverner
Hi Angelo, Yes, certainly. The original design of Neo4j Spatial was specifically to support users keeping their own domain model, and there are several examples in the test cases of this. If your model matches some of the built in models, then you can just specify that model when you create the sp

Re: [Neo4j] 20 Second Shutdown

2014-01-17 Thread Jack Jones
I actually tried that before my original post. On Friday, January 17, 2014 9:42:17 PM UTC-5, Michael Hunger wrote: > > It automatically starts transactions. > > Try to do g.commit() before you shut down. > > Michael > > Am 18.01.2014 um 03:18 schrieb Jack Jones > >: > > Hmm, I'm actually not read

Re: [Neo4j] 20 Second Shutdown

2014-01-17 Thread Michael Hunger
It automatically starts transactions. Try to do g.commit() before you shut down. Michael Am 18.01.2014 um 03:18 schrieb Jack Jones : > Hmm, I'm actually not reading or writing anything, just starting up and > shutting down. I am using it with TinkerPop Blueprints 2.5 though, I wonder > if tha

Re: [Neo4j] 20 Second Shutdown

2014-01-17 Thread Jack Jones
Hmm, I'm actually not reading or writing anything, just starting up and shutting down. I am using it with TinkerPop Blueprints 2.5 though, I wonder if that's doing something with a transaction. Let me look into that a bit. On Friday, January 17, 2014 8:33:18 PM UTC-5, Michael Hunger wrote: > > J

Re: [Neo4j] 20 Second Shutdown

2014-01-17 Thread Michael Hunger
Jack, you have still open/dangling transactions, if you close them correctly it will shut down instantly. Michael Am 18.01.2014 um 01:55 schrieb Jack Jones : > Hi there, > > I've noticed since I started using 1.9.5 and continuing with 2.0, shutting > down the database takes a very long time.

[Neo4j] 20 Second Shutdown

2014-01-17 Thread Jack Jones
Hi there, I've noticed since I started using 1.9.5 and continuing with 2.0, shutting down the database takes a very long time. Looking at the messages.log file shows that the delay seems to occur between the "Database is now unavailable" and the "GC Monitor stopped" messages, with a delay of ex

Re: [Neo4j] Re: Gephi Streaming and Neo4j

2014-01-17 Thread Michael Hunger
+1 that would be awesome I wanted to give it a try myself but haven't found the time. Btw. my neo4j-shell-tools now export Neo4j to GraphML, so you can visualize your db in Gephi, would love some feedback: https://github.com/jexp/neo4j-shell-tools/tree/20#graphml-export Michael Am 18.01.2014

[Neo4j] Re: Gephi Streaming and Neo4j

2014-01-17 Thread Marcelo Gagliano
Hi, Caleb. Did you developed that client? If so, could you share the source code? I am trying to create a similar solution, but I am not having much success. Thank you, Marcelo Gagliano On Friday, June 21, 2013 3:12:20 AM UTC-3, Caleb Jones wrote: > > I'm currently working on building a Java cl

Re: [Neo4j] Upgrade from 1.9.5 to 2.0 failed

2014-01-17 Thread brian
Ah that was it! I removed the graph.db directory and then copied in the one from 1.9.5 and it worked. Thanks! -brian On Friday, January 17, 2014 5:17:03 PM UTC-5, Michael Hunger wrote: > > Did you "copy it over" the db in 2.0 or did you remove the db directory of > the 2.0 server first? > >

Re: [Neo4j] Upgrade from 1.9.5 to 2.0 failed

2014-01-17 Thread Michael Hunger
Did you "copy it over" the db in 2.0 or did you remove the db directory of the 2.0 server first? Michael Am 17.01.2014 um 22:03 schrieb brian : > Hi, > > Environment: > - OS/X 10.9 > - Oracle JDK 1.7.0_51 > - Neo4j Community 1.9.5 and 2.0 > > While trying to start the 2.0 server using a 1.

Re: [Neo4j] Looking for 2.0.1 (milestone is OK)

2014-01-17 Thread Michael Hunger
They have been, at least in master. the most prominent one was breaking legacy indexing for put-if-absent. Michael Am 17.01.2014 um 22:56 schrieb Mark Needham : > Hi Alan, > > Could I ask you to list the fatal bugs in 2.0.0 so I can check when they'll > be addressed/if they already have been.

Re: [Neo4j] Looking for 2.0.1 (milestone is OK)

2014-01-17 Thread Mark Needham
Hi Alan, Could I ask you to list the fatal bugs in 2.0.0 so I can check when they'll be addressed/if they already have been. Cheers Mark On 17 January 2014 22:48, Alan Robertson wrote: > Hi, > > Because of the fatal bugs (or at least fatal to me) in 2.0.0, I really > need a version of 2.0.1 t

[Neo4j] Looking for 2.0.1 (milestone is OK)

2014-01-17 Thread Alan Robertson
Hi, Because of the fatal bugs (or at least fatal to me) in 2.0.0, I really need a version of 2.0.1 that I can use -- or I'm stuck in the past indefinitely... Any word on a 2.0.1 milestone release? Thanks! -- Alan Robertson - @OSSAlanR "Openness is the foundation and preservative of f

Re: [Neo4j] are indexes leveraged for ' > ' and ' < ' in a where clause?

2014-01-17 Thread Javad Karabi
michael, just wanted to say thank you for taking the time to do that! On Fri, Jan 17, 2014 at 2:16 PM, Michael Hunger < michael.hun...@neopersistence.com> wrote: > Indexes are exact lookups. > > Except if you did a manual numeric legacy indexes > > > db.index().forNodes("member_age").add(node,"b

[Neo4j] Upgrade from 1.9.5 to 2.0 failed

2014-01-17 Thread brian
Hi, Environment: - OS/X 10.9 - Oracle JDK 1.7.0_51 - Neo4j Community 1.9.5 and 2.0 While trying to start the 2.0 server using a 1.9.5 graph.db, I saw the following error: java.lang.IllegalStateException: Mismatching store version found (v0.A.0 while expecting v0.A.1). The store cannot be au

Re: [Neo4j] are indexes leveraged for ' > ' and ' < ' in a where clause?

2014-01-17 Thread Michael Hunger
Indexes are exact lookups. Except if you did a manual numeric legacy indexes db.index().forNodes("member_age").add(node,"birth_year",ValueContext.numeric(node.get("birth_year")); db.index().forNodes("member_age").query(NumericRangeQuery.newIntRange("birth_year", from , to, true, true));

Re: [Neo4j] are indexes leveraged for ' > ' and ' < ' in a where clause?

2014-01-17 Thread Javad Karabi
is it possible to accomplish this using gremlin, or the java api? that is, if i was to attempt to search for nodes with birth_year > x, via gremlin or java, would the index be used? On Fri, Jan 17, 2014 at 10:47 AM, Michael Hunger < michael.hun...@neopersistence.com> wrote: > Something like that

Re: [Neo4j] GraphClient.cs Not Found

2014-01-17 Thread Michael Hunger
Could you post this question to StackOverflow, there are probably more people who can help you. And tag it neo4jclient. Thanks, Michael Am 17.01.2014 um 15:00 schrieb GarageWerks : > I have installed the Neo4jClient Nuget package on my project and when I > attempt to create a new client (code

[Neo4j] GraphClient.cs Not Found

2014-01-17 Thread GarageWerks
I have installed the Neo4jClient Nuget package on my project and when I attempt to create a new client (code below) I get an error of "GraphClient.cs not found". Any ideas on how to address this error? Dim client As New GraphClient(New Uri("http://localhost:7474/db/data";)) -- You received th

Re: [Neo4j] Web Admin shows that entities counts increased after restarting neo4j server (1.9.5 version)

2014-01-17 Thread Denys Hryvastov
Ok, so the results of my experience. 1) Installed neo4j as a service (neo-1.9.5), using neo4j.bat install command. Service is installed. 2) Started neo4j. 1 node (root node) and 0 relationships are present. This is expected. 3) Started neoclipse, created new connection, created 4 nodes and 5 re

Re: [Neo4j] Web Admin shows that entities counts increased after restarting neo4j server (1.9.5 version)

2014-01-17 Thread Denys Hryvastov
Thank you for quick response, Michael. I will verify again, but I stopped neo4j server from the list of windows services, I do not think that this is hard kill... My only concern is that neo4j server was installed as windows service my our code, may be there is some issue here. I will try to inst

Re: [Neo4j] Web Admin shows that entities counts increased after restarting neo4j server (1.9.5 version)

2014-01-17 Thread Michael Hunger
Believe cypher Ignore webadmin This happens after a hard kill Try to shutdown your Neo4j correctly with the appropriate jboss undeploy hooks Sent from mobile device Am 17.01.2014 um 17:16 schrieb Denys Hryvastov : > Hi - > > Our team was previously using neo4j-1.8.2, now we want to upgrade t

Re: [Neo4j] shut down web server

2014-01-17 Thread Michael Hunger
Should be possible by implementing your own subclass of CommunityNeoServer and override some methods Sent from mobile device Am 17.01.2014 um 17:37 schrieb Alex Frieden : > Is it possible to shut down the webserver and leave the rest endpoint up? > -- > You received this message because you ar

Re: [Neo4j] are indexes leveraged for ' > ' and ' < ' in a where clause?

2014-01-17 Thread Michael Hunger
Something like that is planned to be adressed in 2.1 Sent from mobile device Am 17.01.2014 um 16:54 schrieb Javad Karabi : > on a similar note, > > MATCH (p:Product)<-[c:contains]-(w:Warehouse) > WHERE c.available = 1 > RETURN p > > is it possible to create an index on the contains relationsh

[Neo4j] shut down web server

2014-01-17 Thread Alex Frieden
Is it possible to shut down the webserver and leave the rest endpoint up? -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more o

[Neo4j] Web Admin shows that entities counts increased after restarting neo4j server (1.9.5 version)

2014-01-17 Thread Denys Hryvastov
Hi - Our team was previously using neo4j-1.8.2, now we want to upgrade to neo4j-1.9.5 (later on we will possibly upgrade to version 2.0). But I have noticed such strange behavior. After loading data from our application to neo4j, I have 226 nodes in neo4j database and 1092 relationships. This

Re: [Neo4j] are indexes leveraged for ' > ' and ' < ' in a where clause?

2014-01-17 Thread Michael Hunger
No range queries are planned after 2.1 Sent from mobile device Am 17.01.2014 um 16:38 schrieb Javad Karabi : > for example, i executed (once with and without index one :Member(birth_year) > ): > > MATCH (m:Member) > WHERE m.birth_year > 1980 AND m.birth_year < 2000 > RETURN m > > and i notice

[Neo4j] are indexes leveraged for ' > ' and ' < ' in a where clause?

2014-01-17 Thread Javad Karabi
for example, i executed (once with and without index one :Member(birth_year) ): MATCH (m:Member) WHERE m.birth_year > 1980 AND m.birth_year < 2000 RETURN m and i noticed that the time to perform the query did not change. this led me to believe that the index did not help. does this mean that th

Re: [Neo4j] are indexes leveraged for ' > ' and ' < ' in a where clause?

2014-01-17 Thread Javad Karabi
on a similar note, MATCH (p:Product)<-[c:contains]-(w:Warehouse) WHERE c.available = 1 RETURN p is it possible to create an index on the contains relationship, and available attribute, such that this query could lookup the index to perform faster? On Fri, Jan 17, 2014 at 9:47 AM, Michael Hunge

Re: [Neo4j] java one-liner to flush all caches?

2014-01-17 Thread Stefan Armbruster
No. The JMX extension are a enterprise feature. 2014/1/17 Javad Karabi : > Is it possible on community edition? > > On Jan 17, 2014 8:34 AM, "Stefan Armbruster" wrote: >> >> If you're using enterprise edition, you can flush the object caches >> via JMX by calling clear() on the mbean, >> http://d

Re: [Neo4j] java one-liner to flush all caches?

2014-01-17 Thread Javad Karabi
Is it possible on community edition? On Jan 17, 2014 8:34 AM, "Stefan Armbruster" wrote: > If you're using enterprise edition, you can flush the object caches > via JMX by calling clear() on the mbean, > http://docs.neo4j.org/chunked/stable/jmx-mxbeans.html#jmx-cache-nodecache. > The manual also

Re: [Neo4j] java one-liner to flush all caches?

2014-01-17 Thread Stefan Armbruster
If you're using enterprise edition, you can flush the object caches via JMX by calling clear() on the mbean, http://docs.neo4j.org/chunked/stable/jmx-mxbeans.html#jmx-cache-nodecache. The manual also has an example how to access JMX programatically: http://docs.neo4j.org/chunked/stable/tutorials-ja

Re: [Neo4j] extensions and /ext inconsistent?

2014-01-17 Thread Michael Hunger
Oh sorry true You should see them the at the node rest url Sent from mobile device Am 17.01.2014 um 14:57 schrieb Georg Summer : > Could it be related with the fact that ShortestPath and DepthTwo are > extensions of nodes whereas "extensions" captures server-wide ones? > > issue: > https://gi

[Neo4j] java one-liner to flush all caches?

2014-01-17 Thread Javad Karabi
is there a java one-liner to flush all the caches? -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https://g

Re: [Neo4j] extensions and /ext inconsistent?

2014-01-17 Thread Georg Summer
Could it be related with the fact that ShortestPath and DepthTwo are extensions of nodes whereas "extensions" captures server-wide ones? issue: https://github.com/neo4j/neo4j/issues/1830 On Friday, 17 January 2014 14:41:33 UTC+1, Michael Hunger wrote: > > Looks like a bug, can you raise an GH is

Re: [Neo4j] extensions and /ext inconsistent?

2014-01-17 Thread Michael Hunger
Looks like a bug, can you raise an GH issue at github.com/neo4j/neo4j/issues? Thanks a lot Michael Am 17.01.2014 um 14:38 schrieb Georg Summer : > I installed the neo4j/community/server-example/ extensions in a fresh > neo4j-community 2.0 edition. > results in: > $ curl http://localhost:7474/

[Neo4j] extensions and /ext inconsistent?

2014-01-17 Thread Georg Summer
I installed the neo4j/community/server-example/ extensions in a fresh neo4j-community 2.0 edition. results in: $ curl http://localhost:7474/db/data/ { "extensions" : { "GetAll" : { "get_all_nodes" : "http://localhost:7474/db/data/ext/GetAll/graphdb/get_all_nodes";, "getAllRelat

[Neo4j] Embedded HIghlyAvailableGraphDatabase - database path

2014-01-17 Thread Kalidhakani J
HI all, I created a cluster with three nodes. In every server I gave my database path as data/myGraph.db For creating HIghlyAvailableGraphDatabase, I used the following code, GraphDatabaseService graphDb = databaseFactory.newHighlyAvailableDatabaseBuilder("/data/myGraph.db") .loadPropertiesFromF

Re: [Neo4j] HA /db/data/ corrupted

2014-01-17 Thread Michael Hunger
Please send us more information. As minimum we need the graph.db/messages.log from all cluster servers. And the logical logs. Better would be the full databases if possible. Please upload the information somewhere and send a private email with the link. Thanks Michael Am 17.01.2014 um 11:27 s

[Neo4j] HA /db/data/ corrupted

2014-01-17 Thread Juliano Baggio di Sopra
After created an HA cluster the /db/data/ has corrupted in many ocasions. Nothing in the webadmin open. The last error: HTTP ERROR 500 Problem accessing /db/data/. Reason: INTERNAL_SERVER_ERROR Caused by: java.lang.NullPointerException at org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.node

Re: [Neo4j] Further plans about nodes' IDs as a part of a public API

2014-01-17 Thread Philip Rathle
Hi Roman, Node IDs will not go away in the foreseeable future, but will continue to diminish in importance. For example, the 2.0 release diminished the need to use node IDs by introducing labels & unique indexes as an easy way to find individual nodes. Because node IDs are internal IDs represen