[Neo4j] Compile error from git

2011-07-21 Thread Николай Ижиков
Hi, guys. I try to compile neo4j from sources. I execute following commands and got some error messages. How can I fix it? git clone https://github.com/neo4j/community.git cd community mvn [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Neo4j - Graph Database Kernel

Re: [Neo4j] Compile error from git

2011-07-21 Thread Peter Neubauer
Nikolai, what JDK are you running? 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

Re: [Neo4j] OSGi and Neo4j - superbundle approach

2011-07-21 Thread Peter Neubauer
So, now, with another merge from Toni, you should be able to build https://github.com/neo4j/neo4j-osgi with just mvn clean install Enjoy! Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer

Re: [Neo4j] Compile error from git

2011-07-21 Thread Николай Ижиков
[~/backup/src/neo4j/community] $ mvn -version Apache Maven 2.2.1 (rdebian-4) Java version: 1.6.0_26 Java home: /usr/lib/jvm/java-6-sun-1.6.0.26/jre Default locale: ru_RU, platform encoding: UTF-8 OS name: linux version: 2.6.38-10-generic arch: i386 Family: unix [~/backup/src/neo4j/community] $

Re: [Neo4j] Compile error from git

2011-07-21 Thread Michael Hunger
Could you please set your JAVA_HOME pointing to the JDK not the JRE? That should help. I wonder how it would compile things w/o a javac :) Cheers Michael Am 21.07.2011 um 08:55 schrieb Николай Ижиков: [~/backup/src/neo4j/community] $ mvn -version Apache Maven 2.2.1 (rdebian-4) Java

Re: [Neo4j] Compile error from git

2011-07-21 Thread Peter Neubauer
Nikolaj, it seems you are on a JRE, not a JDK, which you need to compile java programs. Try installing apt-cache search jdk apt-get install sun-java6-jdk Does that work? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn  

Re: [Neo4j] Cypher request with where clause on relations count

2011-07-21 Thread Guillaume ALLEE
Request is working like a charm and is fast (around 6 objects are checked in my 2M node 6M rel DB). I have to check the result with the corresponding RDBMS KPI. Thanks again ! I definitively have to take more time to learn Gremlin ! -- View this message in context:

Re: [Neo4j] Cypher request with where clause on relations count

2011-07-21 Thread Marko Rodriguez
Hey, Request is working like a charm and is fast (around 6 objects are checked in my 2M node 6M rel DB). I have to check the result with the corresponding RDBMS KPI. Nice. Thanks again ! No problem. I definitively have to take more time to learn Gremlin ! You are more than welcome

[Neo4j] Evaluation questions : Neo4j features

2011-07-21 Thread acmeguy
Hi, I'm relatively new to graphs and Neo4j but I have gathered a list of questions I hoping this community can answer or point me onward towards them. 1. Typed edges - What is available in Neo4j to tackle semantics (as in hierarchical structure of edge types) - What are the best practices when

Re: [Neo4j] how many relationships?

2011-07-21 Thread Michael Hunger
We're already on it. Looking through the causes for that issue and will keep you and everyone else informed. Michael Am 21.07.2011 um 06:52 schrieb cyuczi eekc: about this, should I create an issue? ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] Compile error from git

2011-07-21 Thread Николай Ижиков
Sorry, guys. Silly question :). First time try to use standard ubuntu packages to install java. 2011/7/21 Peter Neubauer peter.neuba...@neotechnology.com Nikolaj, it seems you are on a JRE, not a JDK, which you need to compile java programs. Try installing apt-cache search jdk apt-get

Re: [Neo4j] Evaluation questions : Neo4j features

2011-07-21 Thread Rick Bullotta
Hi, Stefan. FWIW, we use Neo4J for time series data, at reasonably high volumes of near-real-time storage. What storage rates are you looking for/volume of data in your application? Rick From: user-boun...@lists.neo4j.org

Re: [Neo4j] Evaluation questions : Neo4j features

2011-07-21 Thread Michael Hunger
Hi Stefan, some short answer inline. Am 21.07.2011 um 11:27 schrieb acmeguy: Hi, I'm relatively new to graphs and Neo4j but I have gathered a list of questions I hoping this community can answer or point me onward towards them. 1. Typed edges - What is available in Neo4j to tackle

Re: [Neo4j] OSGi and Neo4j - superbundle approach

2011-07-21 Thread Jean-Pierre Bergamin
Thank you. It worked with mvn -u clean install. Best regards, James 2011/7/21 Peter Neubauer peter.neuba...@neotechnology.com: So, now, with another merge from Toni, you should be able to build https://github.com/neo4j/neo4j-osgi with just mvn clean install Enjoy! Cheers, /peter

[Neo4j] NOSQL article on InfoWorld

2011-07-21 Thread Michael Hunger
Hey Graphistas, there is a new article on NOSQL databases on InfoWorld. The part for Neo4j is badly researched. If anyone of you thinks he could add some useful information for the reader, please do so in the commenting section. Thanks so much Michael

[Neo4j] Eclipse and Neo4J

2011-07-21 Thread Hannes Niederhausen
Hi everybody, I found [1] in the mailing list archive. I'm an eclipse rcp developer, too and thinking about using Neo4J in an RCP application (License: EPL) . Are there any news of the licensing problem? Thank in advance Hannes [1] http://www.mail-archive.com/user@lists.neo4j.org/msg05004.html

Re: [Neo4j] Propertiy keys with slashes and spaces in REST server

2011-07-21 Thread Javier de la Rosa
On Wed, Jul 20, 2011 at 22:06, Michael Hunger michael.hun...@neotechnology.com wrote: what is the concrete error that happens if you send over that space + slash encoded property? Returned by HTTP console on Neo4j server (but the behaviour is the same in my Python client): - Regular property

Re: [Neo4j] Eclipse and Neo4J

2011-07-21 Thread Anders Nawroth
Hi! EPL-licensed software can't be combined with GPL-licensed software, so you'll need a differently licensed version of Neo4j. Get in touch with Neo Technology to find a solution for your case! http://neotechnology.com/contact /anders 2011-07-21 16:05, Hannes Niederhausen skrev: Hi

Re: [Neo4j] Eclipse and Neo4J

2011-07-21 Thread Peter Neubauer
Yup, We have done some of these, like the Amanzitel AWE which is RCP based. /peter Sent from my phone. On Jul 21, 2011 4:48 PM, Anders Nawroth and...@neotechnology.com wrote: Hi! EPL-licensed software can't be combined with GPL-licensed software, so you'll need a differently licensed version

[Neo4j] nested transactions feature ?

2011-07-21 Thread cyuczi eekc
Hello. Are nested transaction supported? From what I'm testing here, it looks like unless I specify .failure() on the nested transaction, before it reaches .finish() the transaction is considered to be successful (even if I didn't call .success() on it). Though if I do call .failure() then the

Re: [Neo4j] Hyperedges and Objects

2011-07-21 Thread Niels Hoogeveen
i made a start on this. It's not all too difficult to enhance relationships such that relationships can be created upon them, which is a first step towards supporting hypergraphs. In fact hypergraphs are more constrained than an enhanced graph that supports the creation of relationships on

Re: [Neo4j] Hyperedges and Objects

2011-07-21 Thread Michael Hunger
Perhaps we can also add to this enhanced API: * creation of nodes and rels with a initial map of properties, with optional auto-indexing of some of those properties * a getOrCreate method * fluent, chained API for creating stuff in a readable language * getRelationshipCount() * some more that I

Re: [Neo4j] Hyperedges and Objects

2011-07-21 Thread Mattias Persson
Niels, sounds like fun. Looking forward to get a look at this 2011/7/21 Niels Hoogeveen pd_aficion...@hotmail.com i made a start on this. It's not all too difficult to enhance relationships such that relationships can be created upon them, which is a first step towards supporting

Re: [Neo4j] Hyperedges and Objects

2011-07-21 Thread Peter Neubauer
Cool Nils, where should it live? Some own package or? 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

[Neo4j] org.neo4j.kernel.impl.nioneo.store.InvalidRecordException while trying to delete relationships of a node, followed by a delete of the node

2011-07-21 Thread Joel Cordeiro
Hi, i'm getting the followed stack trace after trying to delete the relationships of a node, followed by the delete of the node (the goal is to remove the node from the store, which must have no relationships, before doing that). org.neo4j.kernel.impl.nioneo.store.InvalidRecordException:

Re: [Neo4j] Hyperedges and Objects

2011-07-21 Thread Niels Hoogeveen
Good points and worth adding. Let me first finish the work I am doing now, which implements the current API and adds some methods that mirror the current API, then we can start looking at making things even niftier. Niels From: michael.hun...@neotechnology.com Date: Thu, 21 Jul 2011

Re: [Neo4j] Hyperedges and Objects

2011-07-21 Thread Niels Hoogeveen
Right now I have it in org.neo4j.collections.graphdb and org.neo4j.collections.graphdb.impl, but maybe it should have a completely separate package and its own repo. Niels From: peter.neuba...@neotechnology.com Date: Thu, 21 Jul 2011 20:38:06 +0200 To: user@lists.neo4j.org Subject: Re:

Re: [Neo4j] org.neo4j.kernel.impl.nioneo.store.InvalidRecordException while trying to delete relationships of a node, followed by a delete of the node

2011-07-21 Thread Mattias Persson
Was your data inserted with the BatchInserter on 1.4.M05 or 1.4.M04 or similar? 2011/7/21 Joel Cordeiro jkorde...@gmail.com Hi, i'm getting the followed stack trace after trying to delete the relationships of a node, followed by the delete of the node (the goal is to remove the node from

Re: [Neo4j] org.neo4j.kernel.impl.nioneo.store.InvalidRecordException while trying to delete relationships of a node, followed by a delete of the node

2011-07-21 Thread Joel Cordeiro
Yes, the data was inserted with BatchInserter on 1.4M04. Joel Filipe Antunes Cordeiro jkorde...@gmail.com j...@student.dei.uc.pt 2011/7/21 Mattias Persson matt...@neotechnology.com Was your data inserted with the BatchInserter on 1.4.M05 or 1.4.M04 or similar? 2011/7/21 Joel Cordeiro

Re: [Neo4j] org.neo4j.kernel.impl.nioneo.store.InvalidRecordException while trying to delete relationships of a node, followed by a delete of the node

2011-07-21 Thread Mattias Persson
I'm sad to say that there was a bug in BatchInserter in M04 and M05 which could create some invalid relationship records. Is it a critical data set or is it easy to reinsert it with the BatchInserter of 1.4? 2011/7/21 Joel Cordeiro jkorde...@gmail.com Yes, the data was inserted with

Re: [Neo4j] org.neo4j.kernel.impl.nioneo.store.InvalidRecordException while trying to delete relationships of a node, followed by a delete of the node

2011-07-21 Thread Joel Cordeiro
Thank you for the answer. The data set is not critical. It is easy to reinsert with the BatchInserter of 1.4. What is critical on my dataset is to keep it updated at runtime, that's why i need to add and remove nodes, and consequently their relationships. How can i solve that issue? Best regards,

Re: [Neo4j] embedded database means it cannot be simultaneously used by multiple processes?

2011-07-21 Thread Jim Webber
I think this raises an important point: so it looks like, HA is better than using neo4j server then , but I thought they were both using the same way to access data, via URI and weird messy stuff :) You can use HA whether you embed Neo4j in your process or whether it's embedded within the

Re: [Neo4j] org.neo4j.kernel.impl.nioneo.store.InvalidRecordException while trying to delete relationships of a node, followed by a delete of the node

2011-07-21 Thread Mattias Persson
Just start from a fresh database with 1.4 and you wont run into this issue... No other change required. Den torsdagen den 21:e juli 2011 skrev Joel Cordeirojkorde...@gmail.com: Thank you for the answer. The data set is not critical. It is easy to reinsert with the BatchInserter of 1.4. What is

[Neo4j] Ask embedded neo4j database with REST api ?

2011-07-21 Thread reyman
Hello neo4j comunity, I want to create a plugin in netlogo http://ccl.northwestern.edu/netlogo/to access neo4j database. In this future extension of netlogo (java simulation program) i try to write custom function which help to create, delete, traverse a graph stored in an imbedded neo4j database

Re: [Neo4j] Ask embedded neo4j database with REST api ?

2011-07-21 Thread Michael Hunger
Why would you then use REST after all? If you want to decouple netlogo from the core Neo4j API, feel free to write a Facade that effectively encapsulates the Neo4J API publishing only what you need and only in the API format you want to support. Cheers Michael Am 21.07.2011 um 23:17 schrieb

Re: [Neo4j] clean database / unit tests

2011-07-21 Thread Michael Hunger
Boris, Patrik, Javier, sorry that it took so long, I fixed the issues with the plugin: There were two of them - a jar-dependency that got removed around 1.4.M05 and the refusal of Auto-Indexes to be deleted. Please try and report back. Cheers Michael Am 12.07.2011 um 04:11 schrieb Boris

Re: [Neo4j] Propertiy keys with slashes and spaces in REST server

2011-07-21 Thread Michael Hunger
Javier, I quickly tried it with curl, escaping the space to %20 and the forward slash to %2F worked just fine. Please note, that in your examples the forward slash was never escaped: my example is a/b c for both key and value. ADD: curl -i -H Content-Type:application/json -X POST -d

Re: [Neo4j] Propertiy keys with slashes and spaces in REST server

2011-07-21 Thread Javier de la Rosa
I'm so sorry. The problem was a default value in a Python library for URL encoding. Thank you. On Thu, Jul 21, 2011 at 17:41, Michael Hunger michael.hun...@neotechnology.com wrote: Javier, I quickly tried it with curl, escaping the space to %20 and the forward slash to %2F worked just fine.

Re: [Neo4j] Officially supported mechanism for J2EE

2011-07-21 Thread eialbur
I have two projects. One is full-on J2EE using Glassfish. The other is Servlet based, using Tomcat. At this point I am not using Spring or Guice - the only injection I get is the standard J2EE injection for my beans. -- View this message in context:

Re: [Neo4j] Officially supported mechanism for J2EE

2011-07-21 Thread eialbur
BTW - I am willing to document what I learn in a cookbook if there are enough people with enough patience to hold my hand as I get everything running. (I wouldn't want to clog up the mail list with the hand holding - especially if I summarize it in a cookbook). -- View this message in context:

Re: [Neo4j] Officially supported mechanism for J2EE

2011-07-21 Thread Michael Hunger
We can fork of the discussion to a thread at help.neo4j.org then it stays separate. I would love if you could do that. Btw. I also meant plain J2EE injection not spring or guice. Michael Am 22.07.2011 um 00:34 schrieb eialbur: BTW - I am willing to document what I learn in a cookbook if

[Neo4j] How often are Spatial snapshots published?

2011-07-21 Thread Nolan Darilek
I'm looking at the Spatial sources from Git, and am seeing lots of versions of SpatialTopologyUtils.findClosestEdges that don't appear to be in the snapshot I'm downloading. For instance, public static ArrayListPointResult findClosestEdges(Point point, Layer layer) { doesn't

Re: [Neo4j] Hyperedges and Objects

2011-07-21 Thread Niels Hoogeveen
I uploaded the first edit (still needs to completely be tested - IS-PRE-ALPHA quality) of the enhanced API. See: https://github.com/peterneubauer/graph-collections/tree/master/src/main/java/org/neo4j/collections/graphdb The enhanced API has several new features: 1.) A new interface

Re: [Neo4j] how many relationships?

2011-07-21 Thread cyuczi eekc
Hey, btw, the issue was fixed: https://trac.neo4j.org/ticket/356#comment:1 However, github didn't yet sync the git-readonly (ie. git:// github.com/neo4j/community.git ) and looks like I am 3-4 days back, since my HEAD is at: Minor fix to the cypher/identifiers section.

Re: [Neo4j] how many relationships?

2011-07-21 Thread Michael Hunger
github has no separate repo for tge readonly url most probably your git pull failed due to local changes git stash them or use git pull --rebase Michael mobile mail please excuse brevity and typos Am 22.07.2011 um 04:32 schrieb cyuczi eekc cyuczie...@gmail.com: Hey, btw, the issue was