[Neo4j] Gremlin

2011-06-09 Thread Romiko Derbynew
Hi, I am currently using the latest version of Neo4J. However, when I run: curl -v http://localhost:7474/db/data/ I get this response for extensions: "extensions" : { } And when I look in System\Lib, I can see gremlin-0.9.jar. So, how do I register or configure the server to enable gremlin. Sin

Re: [Neo4j] User Digest, Vol 51, Issue 57

2011-06-11 Thread Romiko Derbynew
Thanks for the help on gremlin plugin, will start a series of blogs, first one is up: http://romikoderbynew.wordpress.com/2011/06/11/neo4j-and-gremlin-plugin-install-guide/ Cheers -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of

[Neo4j] Query Number of Nodes with Property Filter

2011-06-13 Thread Romiko Derbynew
Hi, I would like to write a Gremlin Query via the Gremlin Rest plugin to count the number of Nodes with a certain property. Some pseudo code: g.aidx-agency-key('key','agency').count() So, my questions are. How do I create the automatic index initially through the gremlin rest plugin or rest ap

Re: [Neo4j] Query Number of Nodes with Property Filter

2011-06-14 Thread Romiko Derbynew
Thank you for the response. Indeed for now we doing this, and perhaps will take the advice to have category nodes. var gremlinQuery = @"g.V.outE[[label:'HOSTS']].inV[['Key':'ACME']]"; Again, much appreciated for the tips. Romiko -Original Message- From: user-boun...@lists.neo4j.org [mai

[Neo4j] Category Nodes and Type Safety vs Performance and Scaling

2011-06-19 Thread Romiko Derbynew
Hi Guys, We currently thinking of how we can get type safety when we do queries, one thing we do is have a category nodes, so e.g. Here is a sample query IEnumerable list = g.v(0).outE[[label:'HOSTS']].inV[[Key:'MyCompanyName']].inE[[label:'IS_COMPANY']].inV So the part highlighted in b

Re: [Neo4j] Category Nodes and Type Safety vs Performance and Scaling

2011-06-19 Thread Romiko Derbynew
Hi Guys, Small error. IEnumerable list = g.v(0).outE[[label:'HOSTS_COMPANY']].inV[[Key:'MyCompanyName']]. From: Romiko Derbynew Sent: Monday, 20 June 2011 3:56 PM To: Neo4j user discussions Cc: Tatham Oddie; Jamal Abreu (jab...@barnardos.org.au) Subject: Category Node

Re: [Neo4j] Category Nodes and Type Safety vs Performance and Scaling

2011-06-20 Thread Romiko Derbynew
Hi Marko, Thank you very much for the tips, indeed, we will follow this route as well to guarantee type safety without causing a negative impact on performance. Romiko -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Marko Rodrigu

[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 irrespective

Re: [Neo4j] performance relationships

2011-07-13 Thread Romiko Derbynew
Thank you :) -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Niels Hoogeveen Sent: Wednesday, 13 July 2011 8:46 PM To: user@lists.neo4j.org Subject: Re: [Neo4j] performance relationships There will indeed be a performance impact i

[Neo4j] Neo4J Gremlin Query for dates

2011-07-29 Thread Romiko Derbynew
Hi Guys, I have dates in Neo4j stored as JSON Dates. e.g. DateCreated: "/Date(1310360656147+)/" LastLogin: "/Date(1311927251851+)/" I use the iterator and lambda way of query data e.g. g.v(0).outE[[label:'HOSTS']].inV{it.'Name'.compareTo('Agency1') == 0}.Name However I want to compare

[Neo4j] neo4j.bat - java path

2011-07-29 Thread Romiko Derbynew
Hi Guys, Is it possible to update the neo4j.bat file for future releases to have a global variable for "java " Currently it is located in two places in the file neo4j.bat. We using Neo4j in the cloud and currently we have to do string replacements at two locations: e.g. - these are my configs

Re: [Neo4j] neo4j.bat - java path

2011-07-29 Thread Romiko Derbynew
, Romiko Derbynew wrote: > Hi Guys, > > Is it possible to update the neo4j.bat file for future releases to have a > global variable for "java " > > Currently it is located in two places in the file neo4j.bat. We using  Neo4j > in the cloud and currently we have t

Re: [Neo4j] Neo4J Gremlin Query for dates

2011-07-29 Thread Romiko Derbynew
Thanks Marko, Indeed, thanks for the tips, I now have a an idea how to do the conversion from c# to java. Indeed, I use the iterator most of the time, will refrain from the index notation in the future :) If you interested, I have written a short blog post about the c# client that we have bui

[Neo4j] Indexing - Rest Api

2011-08-11 Thread Romiko Derbynew
Hi, I am planning to extend the .Net client that we use for CRUD operation and now add indexing support. I am keen to go the route of AutoIndexing, so we just query the index and it automatically gets create. Just a few questions. * Configuration File: Autoindexing enabled here is related

Re: [Neo4j] Indexing - Rest Api

2011-08-19 Thread Romiko Derbynew
Hi Jim Thanks for the response. I have built a .Net API to manage manual indexes. So basically when I create a node I have an option to parse in a collection of key/Val pairs to index the node. I'm using Lucene and fulltext. However it sounds like auto indexing might be a better option? I avoid

Re: [Neo4j] Indexing - Rest Api

2011-08-19 Thread Romiko Derbynew
simple one to one non composite values?? Cheers Sent from my iPhone On 20/08/2011, at 9:10 AM, "Romiko Derbynew" wrote: > Hi Jim > > Thanks for the response. I have built a .Net API to manage manual indexes. So > basically when I create a node I have an option to parse in

[Neo4j] Fuzzy Search Not Working :(

2011-08-21 Thread Romiko Derbynew
Hi Guys, The problem I am having is that I have created multiple index entries e.g. Key:Name Value: Joe Key:Name Value: Joe Blogs Works I am now querying the index, and can find "Name:\"Joe\"" I am now querying the index, and can find "Name:\"Joe\"~" I am now querying the index, and can find

Re: [Neo4j] Fuzzy Search Not Working :(

2011-08-22 Thread Romiko Derbynew
Hi Guys, I got fuzzy search working now, I had to use the query version: http://localhost:5102/db/data/index/node/agency1-clients?query=Name:Bobbs~ :) From: Romiko Derbynew Sent: Monday, 22 August 2011 4:53 PM To: 'User@lists.neo4j.org' Subject: Fuzzy Search Not Working :( Hi

Re: [Neo4j] Fuzzy Search Not Working :(

2011-08-22 Thread Romiko Derbynew
~%20+Name:Builder~%20AND%20Gender:Male -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Romiko Derbynew Sent: Tuesday, 23 August 2011 9:21 AM To: User@lists.neo4j.org Subject: Re: [Neo4j] Fuzzy Search Not Working :( Hi Guys, I got

Re: [Neo4j] Fuzzy Search Not Working :(

2011-08-23 Thread Romiko Derbynew
/www.neo4j.org - Your high performance graph database. > http://startupbootcamp.org/- Öresund - Innovation happens HERE. > http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. > > > > On Mon, Aug 22, 2011 at 11:52 PM, Romiko Derbynew > wrote: >&g

[Neo4j] Neo4j .Net Api - Indexing

2011-08-27 Thread Romiko Derbynew
Hi Guys, I have written a blog on using our .Net Api for indexes in .Net, so any .Net dudes out there might want to give it a bash, look forward hearing feedback. http://romikoderbynew.com/2011/08/28/lucene-full-text-indexing-with-neo4j/ Cheers ___ N

Re: [Neo4j] Neo4j .Net Api - Indexing

2011-08-28 Thread Romiko Derbynew
the link to the full project for people to try? Is > it on GIThub for people to try? > > /peter > > On Sunday, August 28, 2011, Romiko Derbynew > wrote: >> Hi Guys, >> >> I have written a blog on using our .Net Api for indexes in .Net, so >> any

Re: [Neo4j] Neo4j .Net Api - Indexing

2011-08-28 Thread Romiko Derbynew
miko, > Nice writeup! Do you have the link to the full project for people to try? Is it on GIThub for people to try? > > /peter > > On Sunday, August 28, 2011, Romiko Derbynew > > wrote: >> Hi Guys, >> >> I have written a blog on using our .Net Api for

Re: [Neo4j] Neo4j .Net Api - Indexing

2011-08-28 Thread Romiko Derbynew
Behalf Of Peter Neubauer Sent: Sunday, 28 August 2011 5:55 PM To: Neo4j user discussions Subject: Re: [Neo4j] Neo4j .Net Api - Indexing Romiko, Nice writeup! Do you have the link to the full project for people to try? Is it on GIThub for people to try? /peter On Sunday, August 28, 2011, Romiko

Re: [Neo4j] Querying a full text index

2011-09-08 Thread Romiko Derbynew
Remember that the default match is 0.5 e.g director~0.5 hence why it matches up to two letter differences e.g ditectof, directors etc Sent from my iPhone On 08/09/2011, at 5:10 AM, "Yaniv Ben Yosef" wrote: > Hi Axel, > > I've read the syntax, which is why I was surprised. There are wildcard >

[Neo4j] Garbage Collection not in wrapper config

2011-09-18 Thread Romiko Derbynew
Hi Guys, I notice the docs (http://docs.neo4j.org/chunked/snapshot/server-configuration.html) mention that this line of config exists commented out. However, I cannot find it in the neo4j-wrapper.conf wrapper.java.additional.3=-Xloggc:data/log/neo4j-gc.log (1.4.M01 (2011-04-28) Is the docs out

Re: [Neo4j] Garbage Collection not in wrapper config

2011-09-18 Thread Romiko Derbynew
e that adding manually this line in the configuration in versions before 1.4M04 should work as expected. cheers, CG On Mon, Sep 19, 2011 at 8:16 AM, Romiko Derbynew wrote: > Hi Guys, > > I notice the docs > (http://docs.neo4j.org/chunked/snapshot/server-configuration.html) mention &

[Neo4j] Error in performance docs - Stack Size

2011-09-21 Thread Romiko Derbynew
Hi Guys, I think there is an error in the performance docs. I am currently tuning the stack size as we use multiple threads, however, I see this in the docs: ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Error in performance docs - Stack Size

2011-09-21 Thread Romiko Derbynew
-tuning.xtp#stack-size The stack size in in kilobytes, which kind a makes sense. -Xss determines the size of the stack: -Xss1024k Please confirm? From: Romiko Derbynew Sent: Thursday, 22 September 2011 11:19 AM To: 'user@lists.neo4j.org' Subject: Error in performance docs - Stack Size H

[Neo4j] Turning Off or Configuring log rotation

2011-09-21 Thread Romiko Derbynew
Hi, I am using Neo4j on a Windows Server, is there any way I can configure log rotation via the configuration files? I would like to turn it off or try a different log rotation size. Since I am on windows, I am not sure how I would do it at runtime. Thanks!

Re: [Neo4j] Error in performance docs - Stack Size

2011-09-21 Thread Romiko Derbynew
user discussions Subject: Re: [Neo4j] Error in performance docs - Stack Size k/m/g all work. just tried on 1.6. On Thu, Sep 22, 2011 at 2:22 AM, Romiko Derbynew wrote: > Sorry, clicked wrong button: > http://wiki.neo4j.org/content/Configuration_Settings > > The stack size is set b

Re: [Neo4j] Turning Off or Configuring log rotation

2011-09-22 Thread Romiko Derbynew
; http://www.neo4j.org - Your high performance graph database. > http://startupbootcamp.org/- Öresund - Innovation happens HERE. > http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. > > > > On Thu, Sep 22, 2011 at 1:38 AM, Romiko Derbynew > wrote:

Re: [Neo4j] Turning Off or Configuring log rotation

2011-09-22 Thread Romiko Derbynew
tp://startupbootcamp.org/- Öresund - Innovation happens HERE. > http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. > > > > On Thu, Sep 22, 2011 at 1:52 PM, Romiko Derbynew > wrote: >> Hi, >> >> It's the database logging, I'm fi

Re: [Neo4j] Turning Off or Configuring log rotation

2011-09-22 Thread Romiko Derbynew
org/    - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Thu, Sep 22, 2011 at 11:17 PM, Romiko Derbynew wrote: > Hi Peter, > > I think this will be ok via gremlin. Have you got any sample gremlin code > that can do this

Re: [Neo4j] Turning Off or Configuring log rotation

2011-09-25 Thread Romiko Derbynew
...@lists.neo4j.org] On Behalf Of Romiko Derbynew Sent: Friday, 23 September 2011 1:06 PM To: Neo4j user discussions Cc: Tatham Oddie Subject: Re: [Neo4j] Turning Off or Configuring log rotation Apologise. Issue Number: https://github.com/neo4j/community/issues/28 Blog: http://bit.ly/r9hBZC Cheers

Re: [Neo4j] Turning Off or Configuring log rotation

2011-09-26 Thread Romiko Derbynew
p://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. > > > > On Mon, Sep 26, 2011 at 4:16 AM, Romiko Derbynew > wrote: >> Hi Guys, >> >> We managed to fix the performance issue. >> >> * Used Paramterised Queries - increased performan

Re: [Neo4j] Turning Off or Configuring log rotation

2011-09-26 Thread Romiko Derbynew
htmade.com - Scandinavia's coolest Bring-a-Thing party. On Mon, Sep 26, 2011 at 1:24 PM, Romiko Derbynew wrote: > Hi Peter, > > Indeed our desired result is now achieved. Tatham added batching to our .net > client as well. We are more than happy to assist with HA as this is one of &g

Re: [Neo4j] C# REST binding / wrapper

2011-09-29 Thread Romiko Derbynew
Here is something to help you get started http://romikoderbynew.com/2011/07/30/neo4jclient-primer/ http://romikoderbynew.com/2011/08/28/lucene-full-text-indexing-with-neo4j/ Cheers Sent from my iPhone On 30/09/2011, at 3:03 AM, "Bill Baker" wrote: > Thanks! I will check it out. > > Connect

Re: [Neo4j] Problem with lucene indexing

2011-10-01 Thread Romiko Derbynew
You can also do a Rest call to shutdown the server, via execute gremlin. Sent from my iPhone On 01/10/2011, at 7:27 PM, "andrew ton" wrote: > > > Hello, > > I have a problem with indexing when using the Neo4J embedded database. I'm > using neo4j-1.5M01, neo4j-lucene-index-1.5M01. > I have t

Re: [Neo4j] C# REST binding / wrapper

2011-10-03 Thread Romiko Derbynew
There is some examples at http://romikoderbynew.com Cheers Sent from my iPhone On 03/10/2011, at 6:36 PM, "Bill Baker" wrote: > Thank you. I have started using it. I have to take a week off the project > for other things going on, but will pick it up again soon. If anyone knows > of any e

Re: [Neo4j] C# REST binding / wrapper

2011-10-09 Thread Romiko Derbynew
sort of schema check. See this link below for examples of gvedit and code using the graph client to create lookup data in the DB: http://hg.readify.net/neo4jclient/wiki/samples Cheers -Original Message- From: Bill Baker [mailto:bill...@billbak.com] Sent: Monday, 10 October 2011 4:33 AM

Re: [Neo4j] C# REST binding / wrapper

2011-10-09 Thread Romiko Derbynew
b. Cheers -Original Message----- From: Romiko Derbynew Sent: Monday, 10 October 2011 10:14 AM To: 'Bill Baker' Cc: Tatham Oddie; user@lists.neo4j.org Subject: RE: [Neo4j] C# REST binding / wrapper Hi Bill, Indeed, it makes sense to have the relationships stemming from the root node. There is

[Neo4j] Neo4JClient - .Net - Wiki Documentation updated

2011-10-13 Thread Romiko Derbynew
Hi, The Neo4j documentation has been updated at: http://hg.readify.net/neo4jclient/wiki/Home HTH -Original Message- From: Romiko Derbynew Sent: Monday, 10 October 2011 10:22 AM To: 'Bill Baker' Cc: Tatham Oddie; 'user@lists.neo4j.org' Subject: RE: [Neo4j] C# RE

Re: [Neo4j] Standalone neo4j server log question

2011-10-16 Thread Romiko Derbynew
It uses same settings as JVM, try FINEST, this will do everything including all rest calls. Sent from my iPhone On 17/10/2011, at 6:47 AM, "Nuo Yan" wrote: > I use neo4j as a standalone server with REST. I currently set the log level > to be INFO in conf/logging.properties: > > org.neo4j.serv

Re: [Neo4j] .Net Data Provider for Neo4j

2011-10-20 Thread Romiko Derbynew
http://hg.readify.net/neo4jclient Sent from my iPhone On 20/10/2011, at 6:11 AM, "Christian Straight" wrote: > Anybody working on a neo4j .Net Data Provider? > > regards, > Christian Straight > > > .:. Typed with thumbs and sent from my HTC Evo > >

Re: [Neo4j] Neo4jRestNet Update

2011-10-24 Thread Romiko Derbynew
Tatham has also added support for paging queries, so queries returning more than 100 results are retrieved via an enumerator per 100 results, this optimises the heap usage as well, by leveraging the groovy Take and Drop functions. Cheers. -Original Message- From: user-boun...@lists.neo

[Neo4j] 1.5.M02 - JVM BootStrapper Issues

2011-11-03 Thread Romiko Derbynew
Hi Guys, I have downloaded the latest Community edition and notice these three custom lines of code causing the Neo4J server not to start up: wrapper.java.additional.1=-d64 wrapper.java.additional.1=-server wrapper.java.additional.1=-Xss2048k With the previous version, they worked fine. They li

Re: [Neo4j] Exception when converting older graph

2011-11-03 Thread Romiko Derbynew
Hi Guys, Is it possible to fix this in future release or not, this means in the event of a unclean shutdown, a regression is needed or is it possible to had detection if the old db was not shutdown cleanly and improve the error message? -Original Message- From: user-boun...@lists.neo4j.

Re: [Neo4j] 1.5.M02 - JVM BootStrapper Issues

2011-11-03 Thread Romiko Derbynew
, Romiko Derbynew wrote: > Hi Guys, > > I have downloaded the latest Community edition and notice these three custom > lines of code causing the Neo4J server not to start up: > > wrapper.java.additional.1=-d64 > wrapper.java.additional.1=-server > wrapper.java.additional.

Re: [Neo4j] java.lang.IllegalArgumentException launching 1.5M02

2011-11-04 Thread Romiko Derbynew
Any custom JVM switches do not work. Sent from my iPhone On 03/11/2011, at 8:56 AM, "Tatham Oddie" wrote: > Any tips on where to start? > > I'm going to go looking for ServerProcessConsole.java but any other pointers > are welcome. :) > > > C:\AzureTemp\Resources\2e546563-a35c-42f6-b903-033

Re: [Neo4j] 1.5.M02 - JVM BootStrapper Issues

2011-11-04 Thread Romiko Derbynew
kedIn http://www.linkedin.com/in/neubauer > Twitter http://twitter.com/peterneubauer > > http://www.neo4j.org - NOSQL for the Enterprise. > http://startupbootcamp.org/- Öresund - Innovation happens HERE. > > > > On Thu, Nov 3, 2011 at 5:22 PM, Romi

Re: [Neo4j] 1.5.M02 - JVM BootStrapper Issues

2011-11-05 Thread Romiko Derbynew
- Innovation happens HERE. > > > > On Thu, Nov 3, 2011 at 4:07 PM, Romiko Derbynew > wrote: >> Hi Guys, >> >> I have downloaded the latest Community edition and notice these three custom >> lines of code causing the Neo4J server not to start up: >&g

Re: [Neo4j] Wrong Gremlin results through REST interface

2011-11-07 Thread Romiko Derbynew
Is it possible this might be related to the problem I reported with subject Gremlig Plugin - Paramerterised Queries + Enumeration - Neo4j 1.5M02 It seems with 1.5M02 that Gremlin via REST is not working as expected. I am going to test the Gremlin Query in the console as well, and update my thread

Re: [Neo4j] Gremlig Plugin - Paramerterised Queries + Enumeration - Neo4j 1.5M02

2011-11-07 Thread Romiko Derbynew
4j/gremlin-plugin/issues/3 Thank you From: mystory-develop...@barnardos.org.au [mailto:mystory-develop...@barnardos.org.au] On Behalf Of Romiko Derbynew Sent: Monday, 7 November 2011 10:48 AM To: Neo4j user discussions Cc: Tatham Oddie; mystory-develop...@barnardos.org.au Subject: [mystory-

Re: [Neo4j] Wrong Gremlin results through REST interface

2011-11-08 Thread Romiko Derbynew
Hi, I am not sure of this, since the console version with .filter{ it works, and in rest it does not. I then ran a version in the console and via rest and they both the same version, am I doing something wrong? Either way, I will update our rest client to use the explicit filter expression.

[Neo4j] Invalid JSON Issue

2011-11-27 Thread Romiko Derbynew
Hi, Ticket opened https://github.com/neo4j/community/issues/110 Details: When I try run this query via rest. {"script":"g.v(0).out('HOSTS').filter{ it.Key == 'romikoagency'}.in('USER_BELONGS_TO').as('username').as('userGivenName').out('USER_LINKED_TO_PROGRAM').as('program').table(new Table())

[Neo4j] New Bug Logged - Gremlin 114

2011-11-29 Thread Romiko Derbynew
Hi, New bugged logged at: https://github.com/neo4j/community/issues/114 Details below for others to peruse. Gremlin Table Projections - Column Order Incorrect when using chained .As('x').As('y') EXPECTED Order: Createdy, ReferralGroup, ReferralId, ReferralData When AS statements appear next t

Re: [Neo4j] New Bug Logged - Gremlin 114

2011-11-30 Thread Romiko Derbynew
/neubauer Twitter      http://twitter.com/peterneubauer brew install neo4j && neo4j start heroku addons:add neo4j On Wed, Nov 30, 2011 at 1:31 AM, Romiko Derbynew wrote: > Hi, > > New bugged logged at: https://github.com/neo4j/community/issues/114 > > Details bel

[Neo4j] Gremlin Query - Help

2011-11-30 Thread Romiko Derbynew
Hi, Scenario 1: I would like to get all Nodes that do not have a relationship to another node. What is the best way to do this Gremlin? Root => NodeA => NodeB Root => NodeC Output should be NodeC Scenario 2: Root = > User -> Centre I would like to get all centres for userA, and then get all

[Neo4j] Gremlin/Groovy UNIQUE + Closure support

2011-12-02 Thread Romiko Derbynew
Hi Guys, If I do a query with out.as(xyz)...out.unique()..out.tablecap I find that the table projections for the closure do not work and I lose all AS references. So to get closure support I do this Out.unique._().out..table The above sorts out the closure error, but then I lose my previous

Re: [Neo4j] Gremlin Query - Help

2011-12-02 Thread Romiko Derbynew
Marko, Thank you very much, I really appreciate it, I will start going through your response here. I have also added the copy/split aggregate functionality into our Gremlin Client. I was not aware of the if then else as well, will extend our client to support this. Apologise, will explain Sce

Re: [Neo4j] Gremlin/Groovy UNIQUE + Closure support

2011-12-03 Thread Romiko Derbynew
rko. http://markorodriguez.com On Dec 2, 2011, at 9:13 PM, Romiko Derbynew wrote: > Hi Guys, > > If I do a query with out.as(xyz)...out.unique()..out.tablecap I find that > the table projections for the closure do not work and I lose all AS > references. > So to get closure suppo

[Neo4j] Aggregates inside copySplit()

2011-12-03 Thread Romiko Derbynew
Hi, Is it possible to use aggregates within a copySplit pipe? ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Aggregates inside copySplit()

2011-12-03 Thread Romiko Derbynew
...@lists.neo4j.org] On Behalf Of Romiko Derbynew Sent: Sunday, 4 December 2011 2:38 PM To: Neo4j user discussions (user@lists.neo4j.org) Subject: [Neo4j] Aggregates inside copySplit() Hi, Is it possible to use aggregates within a copySplit pipe? ___ Neo4j

Re: [Neo4j] Gremlin/Groovy UNIQUE + Closure support

2011-12-04 Thread Romiko Derbynew
p. To see the Gremlin 1.3 > documentation, see the wiki/ directory of the distribution. > > HTH, > Marko. > > http://markorodriguez.com > > On Dec 3, 2011 4:13 PM, "Romiko Derbynew" > > wrote: > > Hi Marko, > > Thank you very much for this inf

Re: [Neo4j] Aggregates inside copySplit()

2011-12-04 Thread Romiko Derbynew
lazily store and not aggregate then: Gremlin 1.3: sideEffect{x.add(it)} Gremlin 1.4: store(x) HTH, Marko. http://markorodriguez.com On Dec 3, 2011, at 8:50 PM, Romiko Derbynew wrote: > Sorry, forgot to complete question. So I use a > x=[];g.v(0).out.copySplit(_().out.aggre

Re: [Neo4j] Aggregates inside copySplit()

2011-12-04 Thread Romiko Derbynew
nt to lazily store and not aggregate then: Gremlin 1.3: sideEffect{x.add(it)} Gremlin 1.4: store(x) HTH, Marko. http://markorodriguez.com On Dec 3, 2011, at 8:50 PM, Romiko Derbynew wrote: > Sorry, forgot to complete question. So I use a > x=[];g.v(0).out.copySplit(_().out.aggr

Re: [Neo4j] Aggregates inside copySplit()

2011-12-05 Thread Romiko Derbynew
&& neo4j start heroku addons:add neo4j On Mon, Dec 5, 2011 at 6:34 AM, Romiko Derbynew wrote: > Hi Marko, > > Working nicely now :) > > Here is how it looks on our client. I am not sure if I can call _() an > identityPipe, any inspiration here? I had to use Aggregate

Re: [Neo4j] Aggregates inside copySplit()

2011-12-05 Thread Romiko Derbynew
Hi Marko, Indeed, I think I get it now, in what scenarios would you use a non greedy collection and how would you know when that collection has be filled, I guess you would not want to query a collection that is still busy filling up in the background? -Original Message- From: user-bo

Re: [Neo4j] Gremlin Query - Help

2011-12-05 Thread Romiko Derbynew
Marko, I am thinking of using this statement. g.V.ifThenElse{it.out('hasCentre').filter{it == aCentre}.hasNext()}{}{println "${it} has center unknown"} to get nodes that DO NOT have a relationship, is this the best way to do it? I guess so, if this is the case, I am now adding support to the .N

[Neo4j] IfTheElese - .Net GraphClient

2011-12-06 Thread Romiko Derbynew
Hi Guys, IfThenElse is now supported with the Neo4jClient. Below are some examples, it supports nested declarations and parameters. https://gist.github.com/1437793 Cheers :) ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/l

[Neo4j] Help needed - Gremlin IfThenElse and As Clause with Table Projections - Cap

2011-12-06 Thread Romiko Derbynew
Hi, I am trying to write a query that does a table projection, however, there is two nested ifthenelse statements. I find that the As clause does not work correctly when I mark the iterator and I cannot find a way to get a consistent projection. Ideally. Each THEN statement should contribute t

Re: [Neo4j] Help needed - Gremlin IfThenElse and As Clause with Table Projections - Cap

2011-12-06 Thread Romiko Derbynew
;null", "null", "null" ], [ "null", "null", "null", "null" ], [ "null", "null", "Builder", "null" ], [ 1, "null", "null", "null" ], [ "Centre", "Builder",

Re: [Neo4j] Help needed - Gremlin IfThenElse and As Clause with Table Projections - Cap

2011-12-06 Thread Romiko Derbynew
centre => centre.Name, user => user.FamilyName, user => user.GivenName, referral => referral.UniqueId ); -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists

[Neo4j] println and Table Projections

2011-12-06 Thread Romiko Derbynew
Hi, I have this statement. g.v('0').outE[[label:'HOSTS']].inV.filter{ it['Key'].equalsIgnoreCase('romikoagency') }.inE[[label:'USER_BELONGS_TO']].outV.filter{ it['Username'].equalsIgnoreCase('romiko.derbynew') }.ifThenElse{it.outE[[label:'USER_LINKED_TO_CENTRE']].inV.hasNext()}{it.outE[[label:

Re: [Neo4j] println and Table Projections

2011-12-07 Thread Romiko Derbynew
auer wrote: > Mmh, > I was thinking on how to return the contents of the output stream, I > am not quite sure how to return that. What woudl be a good format for > you? > > Also could you reduce this into a small testcase that I can work on? > > Cheers, > > /pet

[Neo4j] Neo4jClient - Query optmised

2011-12-07 Thread Romiko Derbynew
Finally thanks to Peter and Marko, the .Net Neo4jClient code has been optimised to use short hand version of in('') and out(''). ChangeSet is http://hg.readify.net/neo4jclient/changeset/91ef447a9053 ___ NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOG

Re: [Neo4j] How To Properly Shutdown Neo4J

2011-12-10 Thread Romiko Derbynew
public void ShutdownServer() { ExecuteScalarGremlin("g.getRawGraph().shutdown()", null); } http://hg.readify.net/neo4jclient/src/468ba9578548/Neo4jClient/GraphClient.cs -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org]