Re: [Neo4j] Announcing: Neo4j 1.4 Kiruna Stol GA

2011-07-12 Thread Dima Gutzeit
Is it only me or the artifacts of 1.4 from maven are not alright ... (size and etc. it does not compile anymore) ? neo4j-kernel: Version TypeDownload 1.4http://mvnrepository.com/artifact/org.neo4j/neo4j-kernel/1.4 release

[Neo4j] Problems with neo4j 1.4 rest server and filter

2011-07-12 Thread mike_t
Hi, I have some problems with the new version of neo4j. For my application i wrote a few unit test. These worked perfectly in neo4j 1.2 and 1.3 but not in 1.4. For example: I wanna have all relationships for a node with a special name. So I post following message to the url

Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-12 Thread mike_t
Please tell me, how can I do that? I couldn´t find anything about it in the api doc (http://components.neo4j.org/neo4j-server/snapshot/rest.html) -- View this message in context: http://neo4j-user-list.438527.n3.nabble.com/Neo4j-auto-indexes-in-REST-in-1-4-tp3159205p3162053.html Sent from the

Re: [Neo4j] Announcing: Neo4j 1.4 Kiruna Stol GA

2011-07-12 Thread Stefan Armbruster
At least we're two now. I've got also trouble upgrading some code from 1.4M05 to 1.4. It seems that neo4j-kernel-1.4.jar does not get downloaded to ~/.ivy2/cache. Regards, Stefan Am Dienstag, den 12.07.2011, 13:27 +0300 schrieb Dima Gutzeit: Is it only me or the artifacts of 1.4 from maven

Re: [Neo4j] Neo4j Spatial - Keep OSM imports - Use in GeoServer

2011-07-12 Thread Craig Taverner
I am travelling at the moment, so cannot give a long answer, but can suggest you look at the wiki page for neo4j in uDig, because there we have made some updates concerning which jars to use, and that will probably help you get this working. On Jul 12, 2011 10:59 AM, Robin Cura

Re: [Neo4j] Problems with neo4j 1.4 rest server and filter

2011-07-12 Thread Ian Robinson
Hi Mike The problem here is that 1.4 no longer accepts spaces in keys and values -instead, use underscores. Try: { order : depth_first, uniqueness : relationship, return_filter : { language : javascript, body : position.length() 0

[Neo4j] Questions

2011-07-12 Thread Nami Zarringhalam
Hi guys, I have a few questions about getting started with neo4j. We have a graph with 4 ppl owning 5 phone numbers (some own 1 some own 2 and others 3). 1. When trying to get a list: friends of friends (that are not my own friends), I write the following query, however my own friends

Re: [Neo4j] Questions

2011-07-12 Thread Michael Hunger
Hi, could you please try: START id_my=(11) MATCH (id_my)-[:KNOWS]-(f)-[:KNOWS]-(fof) RETURN fof for distinct results please use distinct START id_my=(11) MATCH (id_my)-[:KNOWS]-(f)-[:KNOWS]-(fof) RETURN distinct fof I don't know what the -[:KNOWS]-(id_o)-[:KNOWS]- stands for? What is the

Re: [Neo4j] User Digest, Vol 52, Issue 53

2011-07-12 Thread Josh Adell
Mike, Try return_filter and max_depth. I believe most of the JSON property names are underscore separated now. I don't know if depth first also needs the underscore. -- Josh Adell Message: 3 Date: Tue, 12 Jul 2011 03:39:14 -0700 (PDT) From: mike_t t.pr...@gmx.net Subject: [Neo4j]

[Neo4j] missing required jta.jar for debian?

2011-07-12 Thread Eddy Respondek
I'm currently getting the following error message in Debian Lenny when trying to run a class file. Exception in thread main java.lang.NoClassDefFoundError: javax/transaction/TransactionManager As far as I can tell Debian is missing a jta.jar file which is apparently apart Java EE 6 but this

Re: [Neo4j] missing required jta.jar for debian?

2011-07-12 Thread Chris Gioran
Hi Eddy, what you are missing is the JTA specification jar. You can find a copy here: http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1/geronimo-jta_1.1_spec-1.1.jar Neo4j uses maven to manage its dependencies so that such necessary libraries are located and

[Neo4j] how setup lucene fulltext search filter

2011-07-12 Thread 刘运杰
I like to filter fulltext search result,but don't kown where to set lucene search filter. I notice file LuceneIndex.java , line 355, Hits hits = new Hits( searcher, query, null, sorting, forceScore ); line 370, Hits hits = new Hits( additionsSearcher, query, null ); all pass null for

Re: [Neo4j] how setup lucene fulltext search filter

2011-07-12 Thread Adriano Henrique de Almeida
Hi Edgard, sure you can do a FullText Search on your data with Lucene and Neo4j. Did you take a look here http://docs.neo4j.org/chunked/1.4/indexing-create-advanced.html If you need any other help, just let us know. Regards. 2011/7/12 刘运杰 yunjie@163.com I like to filter fulltext search

Re: [Neo4j] Problems with neo4j 1.4 rest server and filter

2011-07-12 Thread mike_t
Thanks a lot for your answer. Now it works perfect! -- View this message in context: http://neo4j-user-list.438527.n3.nabble.com/Problems-with-neo4j-1-4-rest-server-and-filter-tp3162043p3162493.html Sent from the Neo4J User List mailing list archive at Nabble.com.

[Neo4j] Gremlin compiler problem (mvn2) !

2011-07-12 Thread Zhiguo Zhang
hi, when I run the following command: mvn clean package I got the following FATAL ERROR, for the neo4j 1.4 I want to have a Gremlin plug-in. Please help, Thank you! [INFO] Scanning for projects... Downloading:

[Neo4j] math question

2011-07-12 Thread Niels Hoogeveen
Does anyone know the proper mathematical name for a relationship with the following properties: For all x in X and y in Y it holds that if xRy and xR'y then R = R'. Example: There can be only one IS_PARENT relation from one person to another. Someone cannot be twice parent to the same person.

Re: [Neo4j] Neo4j Spatial - Keep OSM imports - Use in GeoServer

2011-07-12 Thread Robin Cura
Craig, Thanks for your answer, I looked at this page and so, I've put those libs inside the WEB-INF/lib/ directory : - neo4j-kernel-1.4-SNAPSHOT.jar - neo4j-lucene-index-1.4-SNAPSHOT.jar - neo4j-graph-algo-1.4-SNAPSHOT.jar - geronimo-jta_1.1_spec-1.1.1.jar - lucene-core-3.1.0.jar

Re: [Neo4j] math question

2011-07-12 Thread Marko Rodriguez
Hi, That is called a functional relationship. A functional relationship states that there is only one unique y in (xRy) for every x. - e.g. Social Security Number, Father, BornIn Inverse functional relationships are that there is a unique x in (xRy), for every y. See ya, Marko.

Re: [Neo4j] Gremlin compiler problem (mvn2) !

2011-07-12 Thread Peter Neubauer
Hi there, The artifactId should be parent - central and not parent - pom. /peter Sent from my phone. On Jul 12, 2011 5:11 PM, Zhiguo Zhang mikewolfx...@gmail.com wrote: hi, when I run the following command: mvn clean package I got the following FATAL ERROR, for the neo4j 1.4 I want to have

Re: [Neo4j] how setup lucene fulltext search filter

2011-07-12 Thread 刘运杰
Adriano,thank you for your response.I do run up FullText Search,and notice the Configuration for Lucene in Neo4j,that is any other configuration is passed onto the backend index (e.g. Lucene) to interpret.and then I set my Analyser for FullText Search, like below : IndexNode fulltextIndex =

Re: [Neo4j] Announcing: Neo4j 1.4 Kiruna Stol GA

2011-07-12 Thread Jim Webber
Hi Stefan, I've only noticed this when I also depend on the server jar. I think it's an upstream pom thing, Ian R. and I will look into this today - we need it to be fixed for later this week for a tutorial we're giving, so the pressure is on... Jim On 12 Jul 2011, at 05:55, Stefan

Re: [Neo4j] User Digest, Vol 52, Issue 53

2011-07-12 Thread Jim Webber
Hi guys, Yeah, all keys are underscore separated now. Jim On 12 Jul 2011, at 06:39, Josh Adell wrote: Mike, Try return_filter and max_depth. I believe most of the JSON property names are underscore separated now. I don't know if depth first also needs the underscore. -- Josh Adell

Re: [Neo4j] how setup lucene fulltext search filter

2011-07-12 Thread Adriano Henrique de Almeida
Hi Edgar, If I correctly understood your question, all you need to do is call the query() method on the fulltextIndex object you've got. The second argument you'll need to pass will be what you're looking for, and there you can use Lucene query syntax to set up your query. You can take a look at

[Neo4j] Get all nodes and relationships in REST

2011-07-12 Thread Javier de la Rosa
Hi all, I know that I could do this using indices, but it's not for me the most natural way to do it. I'm just wondering if there're another way to return all the relationships and all the nodes in the database using the same mechanism for paginating the results that traversals does. Best

Re: [Neo4j] Gremlin compiler problem (mvn2) !

2011-07-12 Thread Mike Zhiguo Zhang
Thank you! Peter! I will try it again. MfG Zhiguo Zhang On 12.07.2011, at 18:47, Peter Neubauer neubauer.pe...@gmail.com wrote: Hi there, The artifactId should be parent - central and not parent - pom. /peter Sent from my phone. On Jul 12, 2011 5:11 PM, Zhiguo Zhang

Re: [Neo4j] math question

2011-07-12 Thread Niels Hoogeveen
Thanks Marko, That's not exactly what I am looking for. I'd like to know what the name is of a relationship where there is only one unique combination of x and y in xRy for every relationship type R. Neo4j allows the creation of 2^64 relationships of the same type between the same two nodes.

Re: [Neo4j] Get all nodes and relationships in REST

2011-07-12 Thread Jim Webber
Hi Javier, I think the simplest thing is to write a traverser that reaches every node on the graph through every relationship. Jim On 12 Jul 2011, at 12:18, Javier de la Rosa wrote: Hi all, I know that I could do this using indices, but it's not for me the most natural way to do it. I'm

Re: [Neo4j] Get all nodes and relationships in REST

2011-07-12 Thread Javier de la Rosa
On Tue, Jul 12, 2011 at 14:44, Jim Webber j...@neotechnology.com wrote: I think the simplest thing is to write a traverser that reaches every node on the graph through every relationship. And this should work even if my graph has several unconnected componentes? Thank you. -- Javier de la

Re: [Neo4j] math question

2011-07-12 Thread Marko Rodriguez
Hi, I suppose I would say that (xRy) is both functional and inverse functional. :) Marko. http://markorodriguez.com On Jul 12, 2011, at 12:36 PM, Niels Hoogeveen wrote: Thanks Marko, That's not exactly what I am looking for. I'd like to know what the name is of a relationship where

Re: [Neo4j] math question

2011-07-12 Thread Marko Rodriguez
Hi, Also, R is bijective. http://en.wikipedia.org/wiki/Bijection,_injection_and_surjection Marko. http://markorodriguez.com On Jul 12, 2011, at 12:36 PM, Niels Hoogeveen wrote: Thanks Marko, That's not exactly what I am looking for. I'd like to know what the name is of a

Re: [Neo4j] math question

2011-07-12 Thread Niels Hoogeveen
Hi Marko, A relationship that is both functional and inverse functional is a one to one relationship, but that is not what I am looking for. For example the relationship type FRIEND is neither functional (I can have more than one friend) nor inverse functional (injective) (my friends can have

[Neo4j] using custom data types with the server plugin API?

2011-07-12 Thread Eelco Hillenius
Hi, I'd like to implement a server function that returns for a given node (id) how many occurrences exist for a relationship. That's easy enough to implement (I think) using an unmanaged extension, but not something that can readily be implemented as a server plugin, as it would require returning

Re: [Neo4j] Get all nodes and relationships in REST

2011-07-12 Thread Jim Webber
Hey Javier, And this should work even if my graph has several unconnected componentes? Oh, no it won't. Then I'd suggest writing a managed/unmanaged plugin that calls getAllNodes() on the server side. Jim ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] using custom data types with the server plugin API?

2011-07-12 Thread Jim Webber
Hi Eelco, The unmanaged extensions simply give you access to the underlying Graph Database instance (through the annotations). The managed plugins do far more than this - they also provide a way of generating JSON/HTML responses automatically (using HTTP content negotiation). In either case

Re: [Neo4j] Get all nodes and relationships in REST

2011-07-12 Thread Jacob Hansson
Here is an example of how such a plugin would look: http://components.neo4j.org/neo4j-server-examples/snapshot/xref/org/neo4j/examples/server/plugins/GetAll.html On Tue, Jul 12, 2011 at 3:01 PM, Jim Webber j...@neotechnology.com wrote: Hey Javier, And this should work even if my graph has

Re: [Neo4j] User Digest, Vol 52, Issue 54

2011-07-12 Thread Nami Zarringhalam
Response to Questions: Hi Michael and thanks for the reply, I tried your suggestionen but the return is empty. If I change the direction of the last [:KNOWS] relation to be -- I do get a result, however that is only the other owners of the numbers I have and not the friends of the owners of the

Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-12 Thread Matt Luongo
+1, we could use configuration through REST as well. -- Matt Luongo Co-Founder, Scholr.ly On Tue, Jul 12, 2011 at 6:45 AM, mike_t t.pr...@gmx.net wrote: Please tell me, how can I do that? I couldn´t find anything about it in the api doc

Re: [Neo4j] Get all nodes and relationships in REST

2011-07-12 Thread Javier de la Rosa
On Tue, Jul 12, 2011 at 16:11, Jacob Hansson ja...@voltvoodoo.com wrote: http://components.neo4j.org/neo4j-server-examples/snapshot/xref/org/neo4j/examples/server/plugins/GetAll.html Thank you both. Does someone knows if this (getAllNodes and getAllRelationships in REST API) will be in the core

Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-12 Thread Javier de la Rosa
On Tue, Jul 12, 2011 at 16:32, Matt Luongo m...@scholr.ly wrote: +1, we could use configuration through REST as well. +1, It would be bery useful. -- Javier de la Rosa http://versae.es ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-12 Thread Jacob Hansson
It is currently possible to configure auto indexing for the server using the neo4j.properties configuration file. Something like this should work: node_auto_indexing=true node_keys_indexable=name, age relationship_auto_indexing=true relationship_keys_indexable=strength, someotherkey

Re: [Neo4j] Get all nodes and relationships in REST

2011-07-12 Thread Jim Webber
Hi Javier, getAllNodes() has been in the API for a long time. getAllRelationships has been talked about, it's in our development backlog, but there is no timing associated with it. You can write getAllRelationships based on getAllNodes. Jim On 12 Jul 2011, at 14:47, Javier de la Rosa wrote:

Re: [Neo4j] Get all nodes and relationships in REST

2011-07-12 Thread Jim Webber
Hi Aseem, I think Javier was asking about how he'd go about writing getAllNodes and getAllRelationships as a plugin/unmanaged extension in REST. Jim On 12 Jul 2011, at 15:15, Aseem Kishore wrote: Jim, Javier was referring to the REST API. Correct me if I'm wrong, but there is no

Re: [Neo4j] Get all nodes and relationships in REST

2011-07-12 Thread Javier de la Rosa
On Tue, Jul 12, 2011 at 17:27, Jim Webber j...@neotechnology.com wrote: I think Javier was asking about how he'd go about writing getAllNodes and getAllRelationships as a plugin/unmanaged extension in REST. Sorry, I was asking about exactly that Aseem Kishore said. I would like to see these

Re: [Neo4j] Get all nodes and relationships in REST

2011-07-12 Thread Jim Webber
From a REST perspective it makes little difference. From a deployment perspective, it makes some difference since I could write this up and host it on my github account very quickly, but the Neo4j release cycle is slower. And if you wrote this plugin, it'd be ever quicker :-) Jim On 12 Jul

Re: [Neo4j] User Digest, Vol 52, Issue 54

2011-07-12 Thread Michael Hunger
Nami, I think this query should do fine for your case: • cypher start n=(0) match (n)-[:KNOWS]-(f)-[:KNOWS]-(o)-[:KNOWS]-(fof) where not (f.name = fof.name) return fof,count(*) order by count(*) desc • cypher • == +---+ • == | fof

[Neo4j] performance relationships

2011-07-12 Thread Romiko Derbynew
Hi, If I have a Node (A) with over 5 relationships outgoing - RelationshipTypeA If I have the same Node (A) with 100 relationships outgoing - RelationshipTypeB Will there be a performance impact for queries travsersing RelationshipTypeB because there are over 5 relationships