Re: [Neo4j] 回复: Fans of Neo4j From Chinese

2011-03-22 Thread Michael Hunger
Hi, You can try to create intermediary nodes that aggregate certain kinds of relationships, i.e. create a abstraction on top of them. This is also used for write heavy scenarios e.g. activity streams with super-nodes which are connected to millions of others - you just introduce a second round

Re: [Neo4j] Finding a Path Between Nodes (filtered by relationship property)

2011-03-22 Thread Mattias Persson
If you're only returning nodes on depth=X (let's say X=4) and want to filter relationships all along the way then maybe I'd use something along the lines of: prune evaluator: { language: javascript, body: position.lastRelationship().getProperty(\userGroupId\,0) == 111; } return filter:

[Neo4j] Index Manager

2011-03-22 Thread 孤竹
Hi ,all I find something confused. There is a method named forNodes (http://api.neo4j.org/1.2/org/neo4j/graphdb/index/IndexManager.html#forNodes(java.lang.String)) Does it mean we can create muti-index with different name ? and I found we can set the index name with

Re: [Neo4j] Index Manager

2011-03-22 Thread Mattias Persson
2011/3/22 孤竹 ho...@foxmail.com Hi ,all I find something confused. There is a method named forNodes ( http://api.neo4j.org/1.2/org/neo4j/graphdb/index/IndexManager.html#forNodes(java.lang.String) ) Does it mean we can create muti-index with different name ? and I found we can set

Re: [Neo4j] Index Manager

2011-03-22 Thread Michael Hunger
Hi, we are no longer using svn, we moved to github a while ago. You can find the code located in repositories of this account: http://github.com/neo4j With regard to the index, you can have multiple indexes, for large indexes splitting them up into domain driven parts should speed them up as

Re: [Neo4j] Possible performance regression issue?

2011-03-22 Thread Johan Svensson
Could you start by verifying it is not GC related. Turn on verbose GC and see if larger transactions trigger GC pause times. Another possible cause could be that the relationship store file has grown so configuration needs to be tweaked. The OS may be flushing pages to disk when it should not.

[Neo4j] Neo4j's projects delicious Bookmarks

2011-03-22 Thread Pablo Pareja
Hi all! I was wondering how can Neo4j projects be added to delicious Neo4j's projects bookmarks ? I already created the link to Bio4j http://www.bio4j.com project in my delicious account http://www.delicious.com/pablopareja tagging it with neo4j and projects, however it's not displayed yet under

Re: [Neo4j] Neo4j's projects delicious Bookmarks

2011-03-22 Thread Anders Nawroth
Well, you just have to tell me to add it :-) Now it's there: http://www.delicious.com/neo4j/projects /anders 2011-03-22 12:43, Pablo Pareja skrev: Hi all! I was wondering how can Neo4j projects be added to delicious Neo4j's projects bookmarks ? I already created the link to

[Neo4j] Kernel tests missing in M04

2011-03-22 Thread Donovan Muller
Hi, What's happened to: lib/neo4j-kernel-1.3.M04-tests.jar I just downloaded the Windows zip... Thanks ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Kernel tests missing in M04

2011-03-22 Thread Anders Nawroth
Hi! Oh, I thought that should was included! You'll find the jar file here: http://repo1.maven.org/maven2/org/neo4j/neo4j-kernel/1.3.M04/neo4j-kernel-1.3.M04-tests.jar /anders 2011-03-22 14:07, Donovan Muller skrev: Hi, What's happened to: lib/neo4j-kernel-1.3.M04-tests.jar I just

Re: [Neo4j] Kernel tests missing in M04

2011-03-22 Thread Donovan Muller
Thanks! On 22 March 2011 15:29, Anders Nawroth and...@neotechnology.com wrote: Hi! Oh, I thought that should was included! You'll find the jar file here: http://repo1.maven.org/maven2/org/neo4j/neo4j-kernel/1.3.M04/neo4j-kernel-1.3.M04-tests.jar /anders 2011-03-22 14:07, Donovan

Re: [Neo4j] Possible performance regression issue?

2011-03-22 Thread Massimo Lusetti
On Mon, Mar 21, 2011 at 11:07 PM, Rick Bullotta rick.bullo...@thingworx.com wrote: Here's the quick summary of what we're encountering: We are inserting large numbers of activity stream entries on a nearly constant basis.  To optimize transactioning, we queue these up and have a single

Re: [Neo4j] Graph design

2011-03-22 Thread Massimo Lusetti
On Thu, Mar 17, 2011 at 12:15 AM, David Montag david.mon...@neotechnology.com wrote: One key point of Davids suggestion is that it takes into account that each action of the user could take place from a different IP. Massimo's original model implied that the user would always be at the same IP

Re: [Neo4j] Fans of Neo4j From Chinese

2011-03-22 Thread Tobias Ivarsson
Rick, I don't quite understand what you are asking for. Could you elaborate further? -tobias 2011/3/22 Rick Bullotta rick.bullo...@thingworx.com I'd like to explore this question a bit further. Does this mean that basically there's no way to scale beyond a single thread/CPU for disconnected

Re: [Neo4j] Possible performance regression issue?

2011-03-22 Thread Rick Bullotta
Hi, Massimo. When you say you are using an externally managed Lucene index, does that imply that you are not using the Neo index framework and interacting with Lucene directly? Thanks for any advice! Rick -Original Message- From: user-boun...@lists.neo4j.org

[Neo4j] Path traverser in Neoclipse

2011-03-22 Thread bhargav gunda
Respected, I wrote some code like creating nodes and providing relationships between nodes Along with that i am providing system time to relation i.e at what time the two nodes are related. So it is working perfectly. I visualize the code in Neoclipse and its showing perfectly. Now i want to

Re: [Neo4j] Possible performance regression issue?

2011-03-22 Thread Massimo Lusetti
On Tue, Mar 22, 2011 at 6:40 PM, Rick Bullotta rick.bullo...@thingworx.com wrote: Hi, Massimo. When you say you are using an externally managed Lucene index, does that imply that you are not using the Neo index framework and interacting with Lucene directly? Summarizing, yes. My use case

Re: [Neo4j] Possible performance regression issue?

2011-03-22 Thread Massimo Lusetti
On Tue, Mar 22, 2011 at 6:40 PM, Rick Bullotta rick.bullo...@thingworx.com wrote: Hi, Massimo. When you say you are using an externally managed Lucene index, does that imply that you are not using the Neo index framework and interacting with Lucene directly? Thanks for any advice! Oh...

Re: [Neo4j] Possible performance regression issue?

2011-03-22 Thread Peter Neubauer
Interesting, Could you write a test scenario that shows this? Would be very helpful in tracking down why this is. I don't think there is much magic going on beside building lucene indicies in memory before committing? /peter Send from my mobile device, please excuse typos and brevity. On Mar 22,

Re: [Neo4j] Possible performance regression issue?

2011-03-22 Thread Massimo Lusetti
On Tue, Mar 22, 2011 at 7:19 PM, Peter Neubauer neubauer.pe...@gmail.com wrote: Interesting, Could you write a test scenario that shows this? Would be very helpful in tracking down why this is. I don't think there is much magic going on beside building lucene indicies in memory before

[Neo4j] Wiki documentation neo4j+restfulie.

2011-03-22 Thread jdbjun...@gmail.com
Hi, going through the neo4j documentation I found some examples of how access neo4j api using two rest libaries (rest-client, neography). After reading it, I've decided to do the same tests using the library restfulie, which I'm committer. Am I allowed to change the wiki adding the restfulie

Re: [Neo4j] buggy webadmin

2011-03-22 Thread Anton Kulaga
Sorry for the delay in answer. Yes, {firstkey:Val, secondkey:Val2} happened to be valid json-s but I got Maps are not supported property values error. I wonder how soon maps support will be added? 2011/3/14 Peter Neubauer peter.neuba...@neotechnology.com: Anton, just wanted to check if things

Re: [Neo4j] Wiki documentation neo4j+restfulie.

2011-03-22 Thread Anders Nawroth
Hi! Hi, going through the neo4j documentation I found some examples of how access neo4j api using two rest libaries (rest-client, neography). After reading it, I've decided to do the same tests using the library restfulie, which I'm committer. Am I allowed to change the wiki adding the

Re: [Neo4j] Path traverser in Neoclipse

2011-03-22 Thread Anders Nawroth
Hi! The only filtering possible in Neoclipse at the moment is on relationship type and direction, not on properties. /anders 2011-03-22 19:13, bhargav gunda skrev: Respected, I wrote some code like creating nodes and providing relationships between nodes Along with that i am providing

[Neo4j] Dynamic GEXF node attributes in neo4j database

2011-03-22 Thread Matěj Plch
Hi! Do you have any experience how to store changing attributes of node? It's like to build a table of changes for each changed node attribute. In SQL datastore quite simple, but in no-SQL? And one more question. Is it possible with some easy call though Java API how to get number of nodes and

Re: [Neo4j] Dynamic GEXF node attributes in neo4j database

2011-03-22 Thread Pablo Pareja
Hi Matěj, Regarding the number of nodes/edges in the database you can use the following lines of code in case you haven't deleted any (because of id re-use): *l*ong number = ((EmbeddedGraphDatabase)

[Neo4j] Data type returned by extensions in REST

2011-03-22 Thread Javier de la Rosa
Hi all, I'm ending the support for extensions in the neo4j-rest-interface [1] and it will be soon available for installing through easy_install and pip, the Python Package Index, and probably with a new name, I don't know yet. But I have just find a little problem, the data type returned is not

Re: [Neo4j] Dynamic GEXF node attributes in neo4j database

2011-03-22 Thread Anders Nawroth
Hi! To get the exact number you still have to count nodes/relationships. getNumberOfIdsInUse includes Id slots waiting to get reused. So the number you get may be higher than the actual number of nodes/relationships in the database. /anders 2011-03-22 23:12, Pablo Pareja skrev: Hi Matěj,

[Neo4j] Starting a Gremlin plugin for Neo4j Server

2011-03-22 Thread Peter Neubauer
Hi Folks, Saikat and me have been setting up a first embryo of a Gremlin plugin, which later maybe can server for other scripting languages. Take a look at https://github.com/peterneubauer/neo4j-gremlin-plugin/blob/master/src/main/java/org/neo4j/server/plugin/gremlin/GremlinPlugin.java and feel

[Neo4j] Filter by relationship Property

2011-03-22 Thread Justine Mathews
Please find below the traversal syntax I am using from rest client, The result is not filtered by the customerId( relationship property) value 2. {order: depth first,relationships: [ { type: Friend, direction: all } ],prune evaluator: { language: javascript, body:

Re: [Neo4j] Starting a Gremlin plugin for Neo4j Server

2011-03-22 Thread Saikat Kanjilal
Thanks Peter, I'll be heavily beefing up the methods soon, I have been looking at Marko's list of basic methods to enter into the service seen in the link below: https://github.com/tinkerpop/rexster/wiki/Using-Gremlin Peter I'll send you some more code soon. Date: Tue, 22 Mar 2011 23:43:42

Re: [Neo4j] Path traverser in Neoclipse

2011-03-22 Thread bhargav gunda
Is there any other graph services which supports those functionalities I read about spring but I don't exactly how it works If there is any let me know... I wanna try for something... Thanks in advance and Thanks for your time. Regards, B. On Tue, Mar 22, 2011 at 10:03 PM, Anders

[Neo4j] neo4j reade with getNodeById index.with...

2011-03-22 Thread 孤竹
HI,all I Found something interesting, The test as follow: public static void main(String args[]) { GraphDatabaseService db = new EmbeddedGraphDatabase(testDB); indexService = new LuceneIndexService(db); Long startTime = System.currentTimeMillis(); for(int

Re: [Neo4j] New Blog post: Strategies for Scaling Neo4j

2011-03-22 Thread Guru GV
From Neo4j perspective - would there be strategies that would scale well for writes? Just curious. On Tue, Mar 22, 2011 at 6:37 AM, Jim Webber j...@neotechnology.com wrote: Duly updated, thanks for the feedback. Jim On 22 Mar 2011, at 00:56, Emil Eifrem wrote: Great post. Only thing I'd

Re: [Neo4j] New Blog post: Strategies for Scaling Neo4j

2011-03-22 Thread Emil Eifrem
Absolutely. Option #3 can scale writes horizontally. Cheers, -EE On Tue, Mar 22, 2011 at 22:20, Guru GV guru...@gmail.com wrote: From Neo4j perspective - would there be strategies that would scale well for writes? Just curious. On Tue, Mar 22, 2011 at 6:37 AM, Jim Webber