[Neo4j] Graph traversal doubt

2011-03-20 Thread Adriano Henrique de Almeida
Hi, I have the following attached graph where I have persons who traveled to some cities. What I want to find out is, for a given city, for instance Toronto, "the ones who traveled there, also traveled to these other cities" (in the attached graph are Tokyo (by Adriano) and Paris (by Peter)). To

[Neo4j] a small consideration on the index api

2011-04-02 Thread Adriano Henrique de Almeida
Hi everyone, I was playing right now with the index api to do some fulltext search, and I found something what I think is not good for the API. The index API rely heavily on Strings, just like the following: Index typeIndex = index.forNodes("places"); I do write the call to forNodes method a

Re: [Neo4j] a small consideration on the index api

2011-04-03 Thread Adriano Henrique de Almeida
vegetables, >headsofstate > } > > -Original Message- > From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] > On Behalf Of Adriano Henrique de Almeida > Sent: Saturday, April 02, 2011 10:31 PM > To: user@lists.neo4j.org > Subject:

Re: [Neo4j] Wiki documentation neo4j+restfulie.

2011-04-26 Thread Adriano Henrique de Almeida
Hi Jim, We (Adriano and Jose) wrote the Restfulie example and it is already published on the wiki. Thanks for the attention. It is the basic doc, just like the rest-client one. Thanks 2011/4/19 Jim Webber > Hi José, > > Please feel free to add to the wiki. We've had a problem with spammers > r

Re: [Neo4j] Regd: Neo4j basic questions.

2011-05-02 Thread Adriano Henrique de Almeida
Hi Anil, if you're also interested, there is the IMDB example: https://github.com/neo4j-examples/imdb. Also I have an example project at my github: https://github.com/adrianoalmeida7/neo4j-vraptor-example where I integrate Neo4j with a webframework other than SpringMVC (in this case, VRaptor). I a

Re: [Neo4j] Getting started with Ruby

2011-05-11 Thread Adriano Henrique de Almeida
I'll put some cons, but the pros are just the opposite for the other. - Well, one con that comes to my mind regarding the use of the embedded API that you're attached to JRuby and maybe you want/have to use plain MRI, Rubinius or something else. - One con that I can think on the REST API is netwo

Re: [Neo4j] Color suggestions for the Self-Relationship bike shed

2011-05-16 Thread Adriano Henrique de Almeida
I agree with Marko. In fact, I'd say that if you can choose more than one option, I'd go with option 1 and 2. The option one when you're not sure you're creating a loop (not sure if the end node will be the start node), so in order to avoid ifs on the client code, option 1 will go for it. If you'r

Re: [Neo4j] Embedded with webadmin

2011-05-24 Thread Adriano Henrique de Almeida
Yep, the neo4jserver is just a rest api over neo4j database, so it's still stored in at the disk. So, all you need to do, is to point your java application to the neo4j db directory. Remember, that you'll be unable to start both you app and the neo4j server at the same time, at the same database.

Re: [Neo4j] Embedded with webadmin

2011-05-26 Thread Adriano Henrique de Almeida
rhaps you could run both > the > >> server and your app together in the same process? One obvious way of > doing > >> this is to write your app as a server extension within the neo4j-server > >> extensions API. I suspect there are other ways to do this where you

Re: [Neo4j] Embedded with webadmin

2011-05-27 Thread Adriano Henrique de Almeida
> > If you use it in the M03 release, you're on your own :-) > > > > Jim > > > > On 27 May 2011, at 00:04, Adriano Henrique de Almeida wrote: > > > > > Wow... very good to know that the code exists! > > > > > > 2011/5/26 Jim Web

[Neo4j] checked exception using Cypher with Java

2011-07-04 Thread Adriano Henrique de Almeida
Hi, I've been doing some stuffs with the Cypher API on M4 and found a couple strange issues at the API, that I'd like to discuss. - CypherParser.parse("") method throws SyntaxError, which is a checked exception. 2 issues here. a) a checked exception called Error, seems weird and going against c

Re: [Neo4j] checked exception using Cypher with Java

2011-07-04 Thread Adriano Henrique de Almeida
8210babb01d861a5ef9df823c054b > >you > suggested. > > Thanks for your help! > > Andrés > > On Mon, Jul 4, 2011 at 4:35 PM, Adriano Henrique de Almeida < > adrianoalmei...@gmail.com> wrote: > > > Hi, > > > > I've been doing some stuffs with the

Re: [Neo4j] Unable to upgrade neostore

2011-07-05 Thread Adriano Henrique de Almeida
Paul, Did you try to upgrade to 1.2, then to 1.3 and then to 1.4 before going from the 1.1 straight to the 1.4? Regards 2011/7/5 Paul A. Jackson > I have a neo4j 1.1 graph that I tried opening with 1.4M5. I had a > configuration that contained allow_store_upgrade=true: > [15] = {java.util.Hash

Re: [Neo4j] typo in Expander interface

2011-07-07 Thread Adriano Henrique de Almeida
I've sent a Pull Request long time ago fixing this, but it was to the old neo4j repository. Guess it wasn't merged. https://github.com/neo4j/graphdb/pull/2 Can send it again, if the guys want. 2011/7/7 Niels Hoogeveen > > The interface of org.neo4j.graphdb.Expander contains a typo. > The metho

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 刘运杰 > I like to filter fulltext search result,but don't k

Re: [Neo4j] how setup lucene fulltext search filter

2011-07-12 Thread Adriano Henrique de Almeida
"fulltext" ) ); > > > but now I need filter FullText Search result, that mean I should set filter > for lucene,I wonder how to pass filter setting to lucene from Neo4j. And how > search in search result,Thanks. > > > Edgar. > At 2011-07-12 21:56:50,"Adriano H

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-26 Thread Adriano Henrique de Almeida
Hey Nuo, wrapper.java.maxmemory and Xmx won't help, since it is a PermGenSpace problem, and they only deal with HeapSpace. Did you try with: -XX:*MaxPermSize **?* Anyway, something very wrong is happening, since you have few nodes. It is happening only on production, or development also? If it i

Re: [Neo4j] Neo4j Events Coming Up in September

2011-08-26 Thread Adriano Henrique de Almeida
Hi Allison, just adding, There will be Jim Webber's talk at QCon São Paulo, in my track, ( http://www.qconsp.com/schedule/sabado), which will be on Saturday, September 10, and the workshop, 1 day before. (which I'll attend). ;) Cheers, Adriano Almeida 2011/8/26 Allison Sparrow >

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-29 Thread Adriano Henrique de Almeida
gh the REST APIs, the app is > separate from Neo. I will see if I can do some profiling on Neo when I run > my tests. > > Thanks, > Nuo > > > > On Fri, Aug 26, 2011 at 3:53 PM, Adriano Henrique de Almeida < > adrianoalmei...@gmail.com> wrote: > > > Hey Nuo, >

Re: [Neo4j] Unable to being transaction

2011-09-06 Thread Adriano Henrique de Almeida
Hi Dima, and regarding your second message, the NotFoundException for the phone property, what happens is that, on the beginning you had some nodes without the phone property, and some time after, nodes were created with this phone property, and that's a good thing, each node can have it's own pro

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-09-07 Thread Adriano Henrique de Almeida
t; > are more relationships, but at most thousands. > > > > > > That's basically all of the things that are done against neo4j server > > during a test run. Given this, do you think the PermGen usage is > reasonable? > > Or do you think something is very wrong?

Re: [Neo4j] how to get the User who has been B Followed who has Followed Back.

2011-09-20 Thread Adriano Henrique de Almeida
With cypher you can do: start a=(10) match a-[:FOLLOW]->b-[:FOLLOW]->a return a where 10 can be your node Id or you can either use an index. Cheers. 2011/9/20 iamyuanlong > hi all, > I have some relation like this: > > http://neo4j-community-discussions.438527.n3.nabble.com/file/n3352328/fol

Re: [Neo4j] neo4jphp and some cypher question

2011-09-25 Thread Adriano Henrique de Almeida
Hi Filip, if you need only those nodes who have the Geemente property, you can specify it on the where clause. Example: where a.Geemente and a.Geemente = 'Antwerpen' with this, the verification for Antwerpen (lovely city, BTW) is only executed if Geemente property exists on a node. See if this

Re: [Neo4j] See the graph in the Neo4J embedded db

2011-09-28 Thread Adriano Henrique de Almeida
Andrew, check out the download page: http://neo4j.org/download/, you can find Neoclipse at the bottom of the page. Regards 2011/9/28 andrew ton > > > Hi noppanit, > > Thank you for your quick reply! I have checked > http://wiki.neo4j.org/content/Neoclipse#Configuration about Neoclipse. > Where