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]

Re: [Neo4j] println and Table Projections

2011-12-07 Thread Romiko Derbynew
, 2011 at 8:10 AM, Romiko Derbynew romiko.derby...@readify.net wrote: 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

[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

[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

[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

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

2011-12-06 Thread Romiko Derbynew
[mailto:user-boun...@lists.neo4j.org] On Behalf Of Romiko Derbynew Sent: Wednesday, 7 December 2011 3:14 PM To: Neo4j user discussions (user@lists.neo4j.org) Subject: [Neo4j] Help needed - Gremlin IfThenElse and As Clause with Table Projections - Cap Hi, I am trying to write a query that does

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

2011-12-06 Thread Romiko Derbynew
- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Romiko Derbynew Sent: Wednesday, 7 December 2011 3:34 PM To: Neo4j user discussions Subject: Re: [Neo4j] Help needed - Gremlin IfThenElse and As Clause with Table Projections - Cap I also tried

[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')

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 romiko.derby...@readify.net 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 here

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:

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

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

2011-12-04 Thread Romiko Derbynew
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 romiko.derby...@readify.net wrote: Hi Marko, Thank you very much for this information, is it possible that the documentation

Re: [Neo4j] Aggregates inside copySplit()

2011-12-04 Thread Romiko Derbynew
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 romiko.derby...@readify.net wrote: Sorry, forgot to complete question. So I use a x=[];g.v(0).out.copySplit

Re: [Neo4j] Aggregates inside copySplit()

2011-12-04 Thread Romiko Derbynew
. If you just want 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 romiko.derby...@readify.net wrote: Sorry, forgot to complete question. So I use a x=[];g.v(0

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

2011-12-03 Thread Romiko Derbynew
://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 support I do this Out.unique._().out

[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

[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

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

Re: [Neo4j] New Bug Logged - Gremlin 114

2011-11-30 Thread Romiko Derbynew
/in/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 romiko.derby...@readify.net wrote: Hi, New bugged logged at: https://github.com/neo4j/community/issues/114 Details below for others

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

[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

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

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

2011-11-07 Thread Romiko Derbynew
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-developers] Gremlig Plugin

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

2011-11-05 Thread Romiko Derbynew
3, 2011 at 4:07 PM, Romiko Derbynew romiko.derby...@readify.net 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

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 tat...@oddie.com.au wrote: Any tips on where to start? I'm going to go looking for ServerProcessConsole.java but any other pointers are welcome. :)

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

2011-11-04 Thread Romiko Derbynew
://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, Romiko Derbynew romiko.derby...@readify.net wrote: Hi

[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

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:

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

2011-11-03 Thread Romiko Derbynew
, Romiko Derbynew romiko.derby...@readify.net 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.1

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 protosap...@mightyelephant.com wrote: Anybody working on a neo4j .Net Data Provider? regards, Christian Straight .:. Typed with thumbs and sent from my HTC Evo

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 yan@gmail.com wrote: I use neo4j as a standalone server with REST. I currently set the log level to be INFO in conf/logging.properties:

[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# REST binding / wrapper

Re: [Neo4j] C# REST binding / wrapper

2011-10-09 Thread Romiko Derbynew
: Monday, 10 October 2011 4:33 AM To: Romiko Derbynew Subject: RE: [Neo4j] C# REST binding / wrapper That makes a lot of sense. I guess my follow up question is a more generic Neo4j/graph question; in your schema below, would you have N links from the root to N CompanyNodes or one line

Re: [Neo4j] C# REST binding / wrapper

2011-10-09 Thread Romiko Derbynew
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 a nice tool you can

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 bill...@billbak.com 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

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 bill...@billbak.com wrote: Thanks! I will check it

Re: [Neo4j] Turning Off or Configuring log rotation

2011-09-26 Thread Romiko Derbynew
-a-Thing party. On Mon, Sep 26, 2011 at 4:16 AM, Romiko Derbynew romiko.derby...@readify.net wrote: Hi Guys, We managed to fix the performance issue. * Used Paramterised Queries - increased performance by 1 extra node per second, reduced frequency usage of heap thus no jvm memory errors

Re: [Neo4j] Turning Off or Configuring log rotation

2011-09-26 Thread Romiko Derbynew
- Scandinavia's coolest Bring-a-Thing party. On Mon, Sep 26, 2011 at 1:24 PM, Romiko Derbynew romiko.derby...@readify.net 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 the last

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-22 Thread Romiko Derbynew
://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 romiko.derby...@readify.net wrote: Hi, I am using Neo4j on a Windows Server, is there any way I can configure

Re: [Neo4j] Turning Off or Configuring log rotation

2011-09-22 Thread Romiko Derbynew
- Scandinavia's coolest Bring-a-Thing party. On Thu, Sep 22, 2011 at 1:52 PM, Romiko Derbynew romiko.derby...@readify.net wrote: Hi, It's the database logging, I'm finding the transaction logs are causing the rest API to become unresponsive when it flushes to disk. Basically just want

Re: [Neo4j] Turning Off or Configuring log rotation

2011-09-22 Thread Romiko Derbynew
/    - Ö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 romiko.derby...@readify.net wrote: Hi Peter, I think this will be ok via gremlin. Have you got any sample gremlin code that can do

[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 Hi Guys, I

[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 romiko.derby...@readify.net wrote: Sorry, clicked wrong button: http://wiki.neo4j.org/content/Configuration_Settings The stack size

Re: [Neo4j] Garbage Collection not in wrapper config

2011-09-19 Thread Romiko Derbynew
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 romiko.derby...@readify.net wrote: Hi Guys, I notice the docs (http://docs.neo4j.org/chunked/snapshot/server-configuration.html) mention

[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

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 yani...@gmail.com wrote: Hi Axel, I've read the syntax, which is why I was surprised. There

Re: [Neo4j] Neo4j .Net Api - Indexing

2011-08-28 Thread Romiko Derbynew
28, 2011, Romiko Derbynew romiko.derby...@readify.net wrote: 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

Re: [Neo4j] Neo4j .Net Api - Indexing

2011-08-28 Thread Romiko Derbynew
? Is it on GIThub for people to try? /peter On Sunday, August 28, 2011, Romiko Derbynew romiko.derby...@readify.net wrote: 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

Re: [Neo4j] Neo4j .Net Api - Indexing

2011-08-28 Thread Romiko Derbynew
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 Derbynew

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

Re: [Neo4j] Fuzzy Search Not Working :(

2011-08-23 Thread Romiko Derbynew
://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 romiko.derby...@readify.net wrote: For those that need to work with multiple words. This how fuzzy search works

[Neo4j] Fuzzy Search Not Working :(

2011-08-22 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 Guys

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] 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

Re: [Neo4j] Indexing - Rest Api

2011-08-19 Thread Romiko Derbynew
for simple one to one non composite values?? Cheers Sent from my iPhone On 20/08/2011, at 9:10 AM, Romiko Derbynew romiko.derby...@readify.net 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

[Neo4j] Indexing - Rest Api

2011-08-12 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

[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 romiko.derby...@readify.net 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 to do string

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

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

[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

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

2011-06-20 Thread Romiko Derbynew
Hi Guys, Small error. IEnumerableUser 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 Nodes and Type Safety vs

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

[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 IEnumerableUser list = g.v(0).outE[[label:'HOSTS']].inV[[Key:'MyCompanyName']].inE[[label:'IS_COMPANY']].inV So the part highlighted

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

[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

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] 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.