Re: [Neo4j] Gremlin - how to flatten a tree, and sort

2011-11-11 Thread Kevin Versfeld
hi Michael/Peter Peter: yes, that about sums it up. Webadmin console is fine, but REST not so much. Michael: my final set is a little over 100K nodes, and while I am still playing around as part of a technical proof of concept, I think I will need this data more or less in its entirety. I

Re: [Neo4j] Save files?

2011-11-11 Thread Dmitriy Shabanov
Best doc that we have is tests =) There are here https://github.com/animotron/core/blob/master/src/test/java/org/animotron/graph/StoreBinaryTest.java binary expression is only this one Relationship r = new CommonExpression(new ByteArrayInputStream(TXT.getBytes()), PATH);

[Neo4j] FOSDEM 2012 - welcome

2011-11-11 Thread Peter Neubauer
Hi all, Pere Urbon and Jordi Valverde are organizing a graph processing room at FOSDEM , see http://fosdem.org/2012/devrooms_for_2012 If anyone is feeling like OSS, beers, NOSQL, graphs and good relations - let people know here! Thanks Pere and Jordi - you guys rock it. Cheers, /peter neubauer

Re: [Neo4j] Use Cases - Please tell your story

2011-11-11 Thread Peter Neubauer
Jim, that is a very good idea! I think we should maybe have some common place to collect these things. I personally have a number of slides demonstrating different use cases, but nothing crowdsourced. Does anyone have a good idea of collecting usecases and demos in a distributed way? Cheers,

Re: [Neo4j] How to show all nodes and relationships in Neo4j web admin data browser?

2011-11-11 Thread Peter Neubauer
Yobi, there isn't currently. If you had an index, you can display searches of that in the webadmin (potentially getting all matching items). I hope we soon can merge the console and the search bar, making the tabular or visual view optional outcomes of arbitrary searches, Gremlin or Cypher

Re: [Neo4j] Using 'Spatial' IndexProvider from Within Webadmin

2011-11-11 Thread Peter Neubauer
Hi there, make sure you are first loading the index with a special configuration, otherwise it will not be discovered by the indexing framework. You can do this with something like https://github.com/neo4j/spatial/blob/master/features/start-and-stop.feature#L16 . In webadmin, this would be a POST

Re: [Neo4j] Use Cases - Please tell your story

2011-11-11 Thread Pablo Pareja
Maybe we could build a Neo4j graph with all the use-cases grouped by their field or application, creating the relationships that may link them and so on and then visualize all with the webadmin ;) Pablo On Fri, Nov 11, 2011 at 11:14 AM, Peter Neubauer peter.neuba...@neotechnology.com wrote:

Re: [Neo4j] Use Cases - Please tell your story

2011-11-11 Thread Peter Neubauer
Sounds great! Michael, could we fire up a demo instance for that and see how it goes? 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

[Neo4j] overriding protected I underlyingObjectToObject(T object) return null

2011-11-11 Thread jbeau
Hello all, I stuck with returning null in underlyingObjectToObject. First of all, I have this class: public class ClosableIterableAdapterI, T extends IterableWrapperI, T implements IClosableIterable { private final ClosableIterableT closableNodeIterable; public static IF, TY

Re: [Neo4j] overriding protected I underlyingObjectToObject(T object) return null

2011-11-11 Thread Michael Hunger
Jack, can you provide some more context? Where do you want to use it and what is what you are trying to achieve? Thanks a lot Michael Am 11.11.2011 um 11:51 schrieb jbeau: Hello all, I stuck with returning null in underlyingObjectToObject. First of all, I have this class: public

Re: [Neo4j] persist() undefined

2011-11-11 Thread Michael Hunger
Hi, How did you import the project? (STS 2.8 has imho some issues with the m2e plugin) You might try to use the 2.0.0-SNAPSHOT of SDN, we are aiming to release the RC1 later today. 1) make sure that the project has the Aspectj nature switched on, it should show in the context-menu of the

Re: [Neo4j] overriding protected I underlyingObjectToObject(T object) return null

2011-11-11 Thread jbeau
Hello Michael, greetings to the Neustadt :) I try to realize a multi tenancy environment and started with a first approach. In a abstract repository I call methods like this: @Override public IClosableIterable findByName(final String name) { return

Re: [Neo4j] Neo4j REST server's log files

2011-11-11 Thread andrew ton
Hi David, I'm happy to. Do we use skype? Thanks, A. From: David Montag david.mon...@neotechnology.com To: Neo4j user discussions user@lists.neo4j.org Sent: Thursday, November 10, 2011 9:34 PM Subject: Re: [Neo4j] Neo4j REST server's log files Hi Andrew,

Re: [Neo4j] overriding protected I underlyingObjectToObject(T object) return null

2011-11-11 Thread Michael Hunger
Hey Jack, actually it is Dresden(Striesen) right now :) you might look into org.neo4j.helpers.collection.FilteringIterable, which takes a predicate to allow you arbitrary filtering. class FilteringClosableIterableT extends FilteringIterableT implements ClosableIterableT {

Re: [Neo4j] overriding protected I underlyingObjectToObject(T object) return null

2011-11-11 Thread jbeau
Thx a lot for your advice! Multitenancy by API would be a great feature. I favor the idea of partitionated repos found here: http://blog.vivekprahlad.com/multitenancy-with-neo4jrb Striesen is ooch schön! -- View this message in context:

Re: [Neo4j] overriding protected I underlyingObjectToObject(T object) return null

2011-11-11 Thread Peter Neubauer
True, nice approach! The https://github.com/neo4j/community/pull/51 is now merged, so the way is free for doing a Java version as a component of this if you want to get coding? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn  

Re: [Neo4j] overriding protected I underlyingObjectToObject(T object) return null

2011-11-11 Thread jbeau
I'll talk with James (ractive) about that :) -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/overriding-protected-I-underlyingObjectToObject-T-object-return-null-tp3499362p3499476.html Sent from the Neo4j Community Discussions mailing list archive at

Re: [Neo4j] persist() undefined

2011-11-11 Thread Gr3y
Hey You are helping me out, no need to be sorry about anything. :) I imported the project via ImportMaven project 1) This should be on. There is a little AJ in the project icon (slightly concealed behind the M icon though). 2) Both spring-aspects and spring-data-neo4j-aspects are listed.

Re: [Neo4j] persist() undefined

2011-11-11 Thread Gr3y
Hey You are helping me out, no need to be sorry about anything. :) I imported the project via ImportMaven project 1) This should be on. There is a little AJ in the project icon (slightly concealed behind the M icon though). 2) Both spring-aspects and spring-data-neo4j-aspects are listed.

Re: [Neo4j] persist() undefined

2011-11-11 Thread Michael Hunger
That should be enough. Can you share your maven config? Did you build your project upon on of the example projects (like helloworld-aspects or cineasts-aspects) ? If not, try to import on those into STS and see if the same issues arise. Michael Am 11.11.2011 um 13:14 schrieb Gr3y: Hey

Re: [Neo4j] persist() undefined

2011-11-11 Thread Gr3y
http://neo4j-community-discussions.438527.n3.nabble.com/file/n3499577/pom.xml pom.xml (master) http://neo4j-community-discussions.438527.n3.nabble.com/file/n3499577/pom.xml pom.xml Here are the pom files to begin with. Our project is layered, so I included the master pom file. -- View this

Re: [Neo4j] persist() undefined

2011-11-11 Thread Gr3y
Master file http://neo4j-community-discussions.438527.n3.nabble.com/file/n3499579/pom.xml pom.xml -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/persist-undefined-tp3497682p3499579.html Sent from the Neo4j Community Discussions mailing list archive at

Re: [Neo4j] persist() undefined

2011-11-11 Thread Gr3y
http://neo4j-community-discussions.438527.n3.nabble.com/file/n3499596/pom.xml pom.xml Here is the master file. I reuploaded it. -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/persist-undefined-tp3497682p3499596.html Sent from the Neo4j Community

Re: [Neo4j] persist() undefined

2011-11-11 Thread Gr3y
Third times the charm. http://neo4j-community-discussions.438527.n3.nabble.com/file/n3499605/pom2.xml pom2.xml Master file. Renamed pom2.xml. -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/persist-undefined-tp3497682p3499605.html Sent from the Neo4j

Re: [Neo4j] osm_import.rb

2011-11-11 Thread Craig Taverner
Hi, Sorry for a late contribution to this discussion. I will try make a few comments to cover the various mails above. Firstly, the neo4j-spatial.rb GEM at version 0.0.8 on RubyGems works with Neo4j-Spatial 0.6, which does include the non-batch inserter code, so in principle should work for you.

Re: [Neo4j] Lucene sort with diacritic characters

2011-11-11 Thread Niels Hoogeveen
anyone? From: pd_aficion...@hotmail.com To: user@lists.neo4j.org Date: Thu, 10 Nov 2011 20:20:46 +0100 Subject: [Neo4j] Lucene sort with diacritic characters When retrieving items from a Lucene index, using the sort method, it seems the order doesn't abide proper rules for sorting

Re: [Neo4j] Lucene sort with diacritic characters

2011-11-11 Thread Rick Bullotta
You probably need to create a custom analyzer using one of Lucene's collation filters (which you will provide as a parameter to the Neo4J index creation method). Unfortunately, you can't apply a new analyzer after the fact. I think you'll need to delete and regenerate the index. Lucene has

Re: [Neo4j] Lucene sort with diacritic characters

2011-11-11 Thread Niels Hoogeveen
Thanks Rick, I will try out your suggestions. Niels From: rick.bullo...@thingworx.com To: user@lists.neo4j.org Date: Fri, 11 Nov 2011 07:33:44 -0700 Subject: Re: [Neo4j] Lucene sort with diacritic characters You probably need to create a custom analyzer using one of Lucene's collation

Re: [Neo4j] Lucene sort with diacritic characters

2011-11-11 Thread Peter Neubauer
Thanks Rick for jumping in here - Mattias was busy with Lab-day and I am a N00b regarding Lucene internals :/ Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter     

Re: [Neo4j] Gremlin - how to flatten a tree, and sort

2011-11-11 Thread Peter Neubauer
Hi there, I wanted to look into more efficient ways to send back big responses, but had not time. Basically, throwing in more memory is what you have to do right now, or get Cypher or Gremlin to return more effective representations like only the properties you need, which cuts down the amount of

Re: [Neo4j] Lucene sort with diacritic characters

2011-11-11 Thread Niels Hoogeveen
It works like a dream. One note for others needing this functionality. The ICUCollationKeyAnalyzer has a constructor which takes a Collator (from icu4j) as argument. Neo4j's index requires a constructor without arguments, so it's necessary to wrap the ICUCollationKeyAnalyzer and provide it the

Re: [Neo4j] Lucene sort with diacritic characters

2011-11-11 Thread Rick Bullotta
Excellent! A suggestion for the Neo4J team: enhance the Index framework to allow the Map of property values that is passed to the index creation method to be propagated/passed to the constructor for custom analyzers. Niels, there's a trick I use as a workaround, which is to set the parameters

Re: [Neo4j] Neo4j REST server's log files

2011-11-11 Thread David Montag
Yup, Skype is good. Does some time in the afternoon PST work for you? David On Fri, Nov 11, 2011 at 3:11 AM, andrew ton andrewt...@yahoo.com wrote: Hi David, I'm happy to. Do we use skype? Thanks, A. From: David Montag david.mon...@neotechnology.com

Re: [Neo4j] START a = node(10) vs START a = (10)

2011-11-11 Thread yobi
Just wanna follow up, is 1.5 up yet? -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/START-a-node-10-vs-START-a-10-tp3497036p3500347.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.

Re: [Neo4j] START a = node(10) vs START a = (10)

2011-11-11 Thread David Montag
Yes, it is. Head over to http://neo4j.org for the download while it's hot :) David On Fri, Nov 11, 2011 at 9:15 AM, yobi johnny@yobistore.com wrote: Just wanna follow up, is 1.5 up yet? -- View this message in context:

Re: [Neo4j] Neo4j REST server's log files

2011-11-11 Thread andrew ton
Hi David, Anytime in the afternoon is fine to me. How about 2:30pm?  Andrew From: David Montag david.mon...@neotechnology.com To: UserList user@lists.neo4j.org Sent: Friday, November 11, 2011 8:59 AM Subject: Re: [Neo4j] Neo4j REST server's log files Yup,

Re: [Neo4j] Neo4j REST server's log files

2011-11-11 Thread David Montag
That works. See ya then. I'm ddmontag on Skype. David On Fri, Nov 11, 2011 at 9:55 AM, andrew ton andrewt...@yahoo.com wrote: Hi David, Anytime in the afternoon is fine to me. How about 2:30pm? Andrew From: David Montag david.mon...@neotechnology.com

Re: [Neo4j] Neo4j REST server's log files

2011-11-11 Thread andrew ton
Great, see you. Andrew From: David Montag david.mon...@neotechnology.com To: Neo4j user discussions user@lists.neo4j.org Sent: Friday, November 11, 2011 10:00 AM Subject: Re: [Neo4j] Neo4j REST server's log files That works. See ya then. I'm ddmontag on

[Neo4j] Using Webadmin Console to Execute Spatial Cypher Query

2011-11-11 Thread b m
I got the spatial index provider working, but now I'm having trouble getting a spatial cypher query to execute from within the webadmin console. I want to perform a 'withinDistance' query and am having trouble getting the syntax correct. No luck with the following: start

Re: [Neo4j] Using Webadmin Console to Execute Spatial Cypher Query

2011-11-11 Thread Peter Neubauer
Hi there, this is a very good question. You basically can't do it right now, since this query is expecting a map of parameters MapString, Object params = new HashMapString, Object(); params.put( LayerNodeIndex.POINT_PARAMETER, new Double[] { 37.87, 41.13 } );

Re: [Neo4j] Using 'Spatial' IndexProvider from Within Webadmin

2011-11-11 Thread Peter Neubauer
got details? can then do an example. 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              - NOSQL for the

Re: [Neo4j] Using 'Spatial' IndexProvider from Within Webadmin

2011-11-11 Thread bm3780
I actually just placed spatial jar into the serverRoot/plugin directory. I then placed all the spatial-specific jars into the serverRoot/lib directory. After restarting, the spatial index provider was recognized. -- View this message in context:

[Neo4j] Cypher: relationship between nodes as condition in WHERE

2011-11-11 Thread D. Frej
Hi, how can I put the condition relationship between two nodes in the WHERE clause of a Cypher statement? I have the following Cypher (simplified): START p=... MATCH p-...path...-(d1), p-...differentpath...-(d2) and I only want those d1 and d2 nodes that have a relationship. I tried MATCH

Re: [Neo4j] persist() undefined

2011-11-11 Thread Gr3y
The hello world aspects project works. There are aspects markers all over the place. I wonder why I'm not getting them. I tried various thing. Added a dependency to spring-data-neo4j-aspects - didnt help. Added Spring nature to the project - didnt help. Aspect Capability is already on, but I

Re: [Neo4j] Using 'Spatial' IndexProvider from Within Webadmin

2011-11-11 Thread Peter Neubauer
Ahh sorry, that is of course cool. /plugins would work too. 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              -

Re: [Neo4j] Cypher: relationship between nodes as condition in WHERE

2011-11-11 Thread Peter Neubauer
Hi Didi, is something like http://docs.neo4j.org/chunked/snapshot/query-where.html#where-filter-on-null-values something that could help? Also, there is an example of this in http://docs.neo4j.org/chunked/snapshot/cypher-cookbook.html#_find_people_based_on_similar_favorites Cheers, /peter

Re: [Neo4j] Cypher: relationship between nodes as condition in WHERE

2011-11-11 Thread Andres Taylor
On Fri, Nov 11, 2011 at 8:28 PM, D. Frej dieter_f...@gmx.net wrote: Hi, how can I put the condition relationship between two nodes in the WHERE clause of a Cypher statement? I have the following Cypher (simplified): START p=... MATCH p-...path...-(d1), p-...differentpath...-(d2) and I

Re: [Neo4j] Travers using curl

2011-11-11 Thread Peter Neubauer
Francois, I just tried your query from the Web HTTP console and it works with http POST /db/data/node/0/traverse/node {order:breadth_first,uniqueness:node_global,return_filter:{body:position.endNode().getProperty('name','').toLowerCase().contains('pepsi'),language:javascript},max_depth:1} ==

Re: [Neo4j] py2neo 0.982

2011-11-11 Thread Peter Neubauer
Nigel, On Thu, Nov 10, 2011 at 11:01 PM, Nigel Small ni...@nigelsmall.name wrote: We could possibly create some form of syntax which would designate a this node, e.g. (@). This could allow a file to reference it's external context, in this case the node to which we are submitting the subgraph.

Re: [Neo4j] py2neo 0.982

2011-11-11 Thread Nigel Small
Hi Peter Imagine we are trying to inject a simple graph, such as the following: (dad) {name:Nigel} (son1) {name:Joshua} (son2) {name:Stephen} (dad)-[:FATHER_OF]-(son1) (dad)-[:FATHER_OF]-(son2) Currently, this would be loaded into graphspace without any attachment to existing structures; a join

[Neo4j] Confirming existence of relationship between two nodes

2011-11-11 Thread gsingh93
I have two nodes, NodeA and NodeB, that are related by the relationship of type RelType. Is there a way I can confirm that these two nodes have this relationship? At the moment, I have to create an Iterable of relationships of that type connected to NodeA using getRelationships(RelType), and then

Re: [Neo4j] py2neo 0.982

2011-11-11 Thread Michael Hunger
Nigel, Sounds good, although I'd rather have named parameters as well, otherwise parameter indexes will easily get unwieldy. I would like to propose to use the same syntax cypher uses for parameters (that's also the syntax used by the batch-inserter) aka. {0} and {name}