[Neo] Slow response times

2010-01-12 Thread Peter Neubauer
Hi folks, we are very busy with the upcoming release of the Neo4j-RC (hopefully to be 1.0) so the response on the list might be a bit slow. Don't despair, we will pick up the threads again very soon! Cheers, /peter neubauer COO and Sales, Neo Technology GTalk: neubauer.peter Skype

Re: [Neo] Request a sample code to illustrate finding all nodes where key value

2010-01-12 Thread Mattias Persson
That's strange, let me have a look at it... I'll try such an example and see if I can figure out why it isn't working! 2010/1/12 Zerony Zhao bw.li...@gmail.com: Thanks for your reply. Since I am trying to search a range of integer, index.getNodes( someKey, [0 TO 1] ) will returns node with

Re: [Neo] Abstract unit test cases

2010-01-12 Thread Mattias Persson
There's some classes I usually use (fits me, since I wrote them :) ). They are in https://svn.neo4j.org/laboratory/users/mattias/neo-test-fw/ 2010/1/12 Raul Raja Martinez raulr...@gmail.com: Anybody care to share a strategy or base classes for unit testing operations in the graph?

Re: [Neo] Abstract unit test cases

2010-01-12 Thread Mattias Persson
Although they use the neo component, they should be updated to use the neo4j-kernel component... I'll fix soon 2010/1/12 Mattias Persson matt...@neotechnology.com: There's some classes I usually use (fits me, since I wrote them :) ). They are in

Re: [Neo] Read Transactions? Really?

2010-01-12 Thread Mattias Persson
Your code doesn't need to be littered with transaction management. You can have a very big MVC (Model-View-Controller) application or something like that and _only_ have transaction handling in one place... in the Controller. See http://wiki.neo4j.org/content/Transactions#Best_practices (page

Re: [Neo] Read Transactions? Really?

2010-01-12 Thread Johan Svensson
Hi, On Tue, Jan 12, 2010 at 6:41 AM, Ryan Levering rrlever...@gmail.com wrote: ... very cumbersome.  In addition, my profiling shows that a lot of program time is being spent on transaction management in very simple reading code. There is a small overhead of managing read only transactions.

Re: [Neo] integer and substring searching using LuceneFulltextQueryIndexService

2010-01-12 Thread Zerony Zhao
Hi, Now we have a solution on numeric searching. Would someone comment on leading wildcard ubstring search such as *foo* using LuceneFulltextQueryIndexService? Any easy way to do this? Zerony On Tue, Jan 12, 2010 at 12:56 AM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Zerony and

Re: [Neo] Abstract unit test cases

2010-01-12 Thread Raul Raja Martinez
Thanks, that is helpful! 2010/1/12 Mattias Persson matt...@neotechnology.com: There's some classes I usually use (fits me, since I wrote them :) ). They are in https://svn.neo4j.org/laboratory/users/mattias/neo-test-fw/ 2010/1/12 Raul Raja Martinez raulr...@gmail.com: Anybody care to share a

[Neo] Announcing Neo4j 1.0-rc

2010-01-12 Thread Johan Svensson
Hello, Neo4j 1.0-rc (release candidate) has just been uploaded. This release only contains renaming stuff compared to the previous b11 release. There was a mail about this on the list a few days ago but for those of you who missed it here is an overview: o neo component renamed to neo4j-kernel

[Neo] Gremlin is now Neo4j 1.0-rc Complaint

2010-01-12 Thread Marko A. Rodriguez
Hello everyone, I just converted Gremlin [ http://gremlin.tinkerpop.com ] over to Neo4j 1.0-rc. This is what my POM looks like: dependency groupIdorg.neo4j/groupId artifactIdneo4j-kernel/artifactId version1.0-rc/version /dependency

Re: [Neo] Gremlin is now Neo4j 1.0-rc Complaint

2010-01-12 Thread Peter Neubauer
I am a bit disappointed that it took the Gremlin community all of 23 minutes to update. ;) Cheers, /peter neubauer COO and Sales, Neo Technology GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter

Re: [Neo] Read Transactions? Really?

2010-01-12 Thread Ryan Levering
Then this wouldn't be M-V-C, it would be M/C-V. The point of having that separate layer is that you don't need to worry about the model abstraction. Generally, controller level transactions should only exist because you actually want to force multi-operation atomicity, not because you

Re: [Neo] Read Transactions? Really?

2010-01-12 Thread Ryan Levering
While that is true, most MVC I have seen use separate POJO for view- controller communication, like an javabean or an action bean in Struts. Generally these are simpler, disconnected objects. But if you didn't separate the view and controller well, your view layer would have to worry

Re: [Neo] Read Transactions? Really?

2010-01-12 Thread Laurent Laborde
On Tue, Jan 12, 2010 at 7:46 PM, Ryan Levering rrlever...@gmail.com wrote: Then this wouldn't be M-V-C, it would be M/C-V. The point of having that separate layer is that you don't need to worry about the model abstraction.  Generally, controller level transactions should only exist because

Re: [Neo] integer and substring searching using LuceneFulltextQueryIndexService

2010-01-12 Thread Mattias Persson
Lucene supports *something*, but not from the query syntax (how odd is that?)... what you can do is to subclass LuceneFulltextQueryIndexService and @Override the formQuery method with something like: @Override protected Query formQuery( String key, Object value ) { if ( value

Re: [Neo] integer and substring searching using LuceneFulltextQueryIndexService

2010-01-12 Thread Peter Neubauer
Cool, er should have that on the wiki, too methinks. /peter Sent from my cellphone, please excuse typos and the gmail sender address. On Jan 12, 2010 8:06 PM, Mattias Persson matt...@neotechnology.com wrote: Lucene supports *something*, but not from the query syntax (how odd is that?)... what

Re: [Neo] Read Transactions? Really?

2010-01-12 Thread Mattias Persson
Yep you're right, that's mentioned in http://wiki.neo4j.org/content/Transactions#MVC_example as well 2010/1/12 Ryan Levering rrlever...@gmail.com: While that is true, most MVC I have seen use separate POJO for view- controller communication, like an javabean or an action bean in Struts.  

Re: [Neo] Read Transactions? Really?

2010-01-12 Thread Mattias Persson
2010/1/12 Laurent Laborde kerdez...@gmail.com: On Tue, Jan 12, 2010 at 7:46 PM, Ryan Levering rrlever...@gmail.com wrote: Then this wouldn't be M-V-C, it would be M/C-V. The point of having that separate layer is that you don't need to worry about the model abstraction.  Generally, controller

Re: [Neo] Read Transactions? Really?

2010-01-12 Thread Raul Raja Martinez
I understand but imaging this case... Model - Person encapsulates underlying node that access name property Controller - Handler that receives http request requests a model has transaction and delegates the model to a template to be rendered View - Template that gets rendered with domain objects