[Neo] Requirements for an event framework for Neo4j

2010-03-31 Thread Tobias Ivarsson
Fellow developers! The time has come to start the work on an event framework for Neo4j. In order to do a good work at this we would get input on what requirements you have on an event framework. We would like to get a list of use cases for which you would use an event framework, along with the

Re: [Neo] Requirements for an event framework for Neo4j

2010-03-31 Thread Stefan Armbruster
Hi, having an event mechanism in Neo4j is definitly a good idea. Just two quick thoughts on that: * consider integration into Spring's event stuff: http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/beans.html#context-functionality-events * using the proa

Re: [Neo] Neo framework documentations...

2007-06-28 Thread Tobias Ivarsson
On 6/28/07, Johan Svensson <[EMAIL PROTECTED]> wrote: On 6/28/07, Tobias Ivarsson <[EMAIL PROTECTED]> wrote: > >From the neo4j.org website: > """ > ... > Neo provides: > ... > >- an event framework with proactive and reactive events on

Re: [Neo] Requirements for an event framework for Neo4j

2010-03-31 Thread Tobias Ivarsson
Hi, I agree that being able to integrate with Spring's event system would be highly useful. Although I think I would settle at "being able to integrate", I would not like the event framework to introduce a dependency on Spring. But I agree, it is very useful when you are using Ne

Re: [Neo] Neo framework documentations...

2007-06-28 Thread Johan Svensson
On 6/28/07, Tobias Ivarsson <[EMAIL PROTECTED]> wrote: >From the neo4j.org website: """ ... Neo provides: ... - an event framework with proactive and reactive events on modification of the node space. Actually, we haven't exposed the event framework yet in

Re: [Neo] Requirements for an event framework for Neo4j

2010-03-31 Thread Rick Bullotta
Hi, Tobias. That's awesome news. A few general questions regarding an event framework for Neo4J... - In the current implementation, there's a thread affinity for transactions. I am guessing that this could create big challenges for "proactive" handlers that are poten

Re: [Neo] Requirements for an event framework for Neo4j

2010-04-02 Thread Dennis Peterson
Make it all async with an external api and it will work nicely with node.js. On Wed, Mar 31, 2010 at 11:26 AM, Rick Bullotta < rick.bullo...@burningskysoftware.com> wrote: > Hi, Tobias. > > That's awesome news. > > A few general questions regarding an event framework

Re: [Neo] Requirements for an event framework for Neo4j

2010-04-02 Thread rick . bullotta
nts for an event framework for Neo4j From: Dennis Peterson Date: Fri, April 02, 2010 9:34 am To: Neo user discussions Make it all async with an external api and it will work nicely with node.js. On Wed, Mar 31, 2010 at 11:26 AM, Rick Bullotta < rick.bullo...@burningsk

Re: [Neo] Requirements for an event framework for Neo4j

2010-03-31 Thread Niels Hoogeveen
gt; Subject: [Neo] Requirements for an event framework for Neo4j > > Fellow developers! > > The time has come to start the work on an event framework for Neo4j. In > order to do a good work at this we would get input on what requirements you > have on an event framework. We would like to get

Re: [Neo] Requirements for an event framework for Neo4j

2010-03-31 Thread Tobias Ivarsson
me an event with a reference to this change > log, would seem the nicest solution. > > Kind regards, > Niels Hoogeveen > > > From: tobias.ivars...@neotechnology.com > > Date: Wed, 31 Mar 2010 12:39:25 +0200 > > To: user@lists.neo4j.org > > Subject: [Neo] Re

[Neo] [ticket] #22: Update and publish the Event framework

2007-11-20 Thread neo4j.org
#22: Update and publish the Event framework -+-- Reporter: tobias | Owner: johans Type: enhancement request | Status: new Priority: major| Milestone: neo-1.0

Re: [Neo] Requirements for an event framework for Neo4j

2010-03-31 Thread Niels Hoogeveen
as.ivars...@neotechnology.com > Date: Wed, 31 Mar 2010 14:43:24 +0200 > To: user@lists.neo4j.org > Subject: Re: [Neo] Requirements for an event framework for Neo4j > > Yes. I can tick of one of the use cases on my list of expected ones. > > I would like some more input on this

Re: [Neo] Requirements for an event framework for Neo4j

2010-03-31 Thread Tobias Ivarsson
o4j.org > > Subject: Re: [Neo] Requirements for an event framework for Neo4j > > > > Yes. I can tick of one of the use cases on my list of expected ones. > > > > I would like some more input on this though. I'm assuming that you would > > want proactive eve

Re: [Neo] Requirements for an event framework for Neo4j

2010-03-31 Thread Andreas Ronge
e an event with a reference to this change log, > would seem the nicest solution. > > Kind regards, > Niels Hoogeveen > >> From: tobias.ivars...@neotechnology.com >> Date: Wed, 31 Mar 2010 12:39:25 +0200 >> To: user@lists.neo4j.org >> Subject: [Neo] Requirements

Re: [Neo4j] How to embed neo4j to OSGI env without spring?

2011-06-13 Thread Nicolas Jouanin
whereas db.index().forNodes() returns an instance of Index. [Framework Event Dispatcher] INFO org.neo4j.kernel.impl.osgi.OSGiExtensionLoader - Bundle org.neo4j.lucene-index: Service org.neo4j.graphdb.index.IndexProvider registered with implementation org.neo4j.graphdb.index.IndexProvider[lucene

Re: [Neo4j] How to embed neo4j to OSGI env without spring?

2011-06-14 Thread Peter Neubauer
registered as OSGi service (see first line of dump). Now an > exception comes later when registering the index. I guess this come from the > fact that you register a service of class IndexProvider whereas > db.index().forNodes() returns an instance o

[Neo] [ticket] #5: Expose event framework in API

2007-07-05 Thread neo4j.org
#5: Expose event framework in API -+-- Reporter: emil | Owner: emil Type: enhancement request | Status: new Priority: major| Milestone: neo-1.0 Component: neo

Re: [Neo4j] How to embed neo4j to OSGI env without spring?

2011-06-14 Thread Nicolas Jouanin
service (see first line of dump). Now > an exception comes later when registering the index. I guess this come from > the fact that you register a service of class IndexProvider whereas > db.index().forNodes() returns an instance of Index. > > > > [Framework Event

Re: [Neo4j] How to embed neo4j to OSGI env without spring?

2011-06-14 Thread Nicolas Jouanin
r when registering the index. I guess this come from the >> fact that you register a service of class IndexProvider whereas >> db.index().forNodes() returns an instance of Index. >> >> [Framework Event Dispatcher] INFO >> org.neo4j.kernel.impl.osgi.OSGiExtensionLoader - B

Re: [Neo4j] How to embed neo4j to OSGI env without spring?

2011-06-14 Thread Peter Neubauer
as Jouanin >> wrote: >>> Hi Peter, >>> >>> As shown below, exporting the implementation package is enough to make the >>> IndexProvider registered as OSGi service (see first line of dump). Now an >>> exception comes later when registering the index. I

Re: [Neo4j] How to embed neo4j to OSGI env without spring?

2011-06-15 Thread Nicolas Jouanin
oughtmade.com - Scandinavia's coolest Bring-a-Thing party. > >> > >> > >> > >> On Mon, Jun 13, 2011 at 11:10 AM, Nicolas Jouanin > >> wrote: > >>> Hi Peter, > >>> > >>> As shown below,

Re: [Neo] Requirements for an event framework for Neo4j

2010-04-08 Thread Tobias Ivarsson
lotta < rick.bullo...@burningskysoftware.com> wrote: > Hi, Tobias. > > That's awesome news. > > A few general questions regarding an event framework for Neo4J... > > - In the current implementation, there's a thread affinity for > transactions. > I am guessing that

Re: [Neo4j] How to embed neo4j to OSGI env without spring?

2011-06-11 Thread Nicolas Jouanin
Hi Peter, I've tried to run your test case on my forked version. First of all, I got a Framework exception when running the test case out of the box : [Framework Event Dispatcher] DEBUG wrap_mvn_org.apache.lucene_lucene-core_3.1.0 - BundleEvent STARTED [Framework Event Dispatcher]

Re: [Neo4j] How to embed neo4j to OSGI env without spring?

2011-06-13 Thread Peter Neubauer
rsion. > First of all, I got a Framework exception when running the test case out of > the box : > [Framework Event Dispatcher] DEBUG > wrap_mvn_org.apache.lucene_lucene-core_3.1.0 - BundleEvent STARTED > [Framework Event Dispatcher] DEBUG org.neo4j

[Neo] Re: [ticket] #5: Expose event framework in API

2007-11-01 Thread neo4j.org
#5: Expose event framework in API -+-- Reporter: emil |Owner: emil Type: enhancement request | Status: assigned Priority: major|Milestone: neo-1.0 Component

Re: [Neo] Requirements for an event framework for Neo4j

2010-04-16 Thread Tobias Ivarsson
Based on the feedback we have received here we have created a draft of an API for an event framework. The semantics of the system that we have outlined are: * There are two kinds of events - Database Lifecycle Events and Transaction Events * The interesting Lifecycle events are: - "b

[Neo] Re: [ticket] #22: Update and publish the Event framework

2007-11-21 Thread neo4j.org
#22: Update and publish the Event framework -+-- Reporter: tobias |Owner: johans Type: enhancement request | Status: closed Priority: major|Milestone: neo-1.0

[Neo] Re: [ticket] #5: Expose event framework in API

2007-11-28 Thread neo4j.org
#5: Expose event framework in API -+-- Reporter: emil |Owner: emil Type: enhancement request | Status: assigned Priority: major|Milestone: neo-1.0-rc1

Re: [Neo] Requirements for an event framework for Neo4j

2010-03-31 Thread Tobias Ivarsson
No, we are not planning to build a component for stored procedures. The event framework could be used to build such a system though. That is: we are not building a system for stored procedures, but we are planning a framework that could be used to build it. Cheers, Tobias On Wed, Mar 31, 2010 at

[Neo] Neo framework documentations...

2007-06-27 Thread Tobias Ivarsson
From the neo4j.org website: """ ... Neo provides: ... - an event framework with proactive and reactive events on modification of the node space. - a validator framework for expressing data integrity constraints. ... """ These frameworks could be quite intere

Re: [Neo] Requirements for an event framework for Neo4j

2010-04-01 Thread Jonny Wray
Event support is a great idea. Just in case people aren't aware of it, I've used the event bus project http://www.eventbus.org/ with great success in that past, for in VM events. Maybe something to avoid reinventing the wheel. Jonny ___ N

Re: [Neo] LuceneIndexService dependencies on EmbeddedGraphDatabase

2010-03-18 Thread Tobias Ivarsson
As you say, a meta model validator is something that would sit nicely on top of the event framework. And the plans for such a component is to not work on it before the event framework is in place. Regarding the timeline for the event framework it looks like we could have a first version in the

[Neo] Event framework has landed

2010-04-27 Thread Mattias Persson
Hi everyone! I'm quite pleased to announce that the new event framework has been committed in kernel 1.1-SNAPSHOT. After feedback from you guys the framework got quite small and cosy. Here's a summary. *TransactionEventHandler* can be registered at a GraphDatabaseService and will

Re: [Neo] Event framework has landed

2010-04-29 Thread Atle Prange
I am using the event framework to auto-index nodes based on a special name i give the properties: Whenever i want a property to be indexed, i append :index= to the property-name. On afterCommit() i check all changed properties, and re-index the values that have changed. Really simple and smooth

Re: [Neo] Event framework has landed

2010-04-29 Thread Atle Prange
Really nice, but it seems that afterCommit() never receives any data, the TransactionData argument is always null.. On Tue, Apr 27, 2010 at 10:15 AM, Mattias Persson wrote: > Hi everyone! > > I'm quite pleased to announce that the new event framework has been > committed in ke

Re: [Neo] Event framework has landed

2010-04-29 Thread Mattias Persson
gt; > wrote: > > > Hi everyone! > > > > I'm quite pleased to announce that the new event framework has been > > committed in kernel 1.1-SNAPSHOT. After feedback from you guys the > > framework > > got quite small and cosy. Here's a summary. > >

Re: [Neo] Event framework has landed

2010-04-29 Thread Mattias Persson
son < > matt...@neotechnology.com > > wrote: > > > Hi everyone! > > > > I'm quite pleased to announce that the new event framework has been > > committed in kernel 1.1-SNAPSHOT. After feedback from you guys the > > framework > > got quite small a

Re: [Neo] Event framework has landed

2010-04-29 Thread Atle Prange
r receives any data, the > > TransactionData argument is always null.. > > > > On Tue, Apr 27, 2010 at 10:15 AM, Mattias Persson < > > matt...@neotechnology.com > > > wrote: > > > > > Hi everyone! > > > > > > I'm quite pleased to announce tha

Re: [Neo4j] OSGi and Neo4j - superbundle approach

2011-07-17 Thread Peter Neubauer
r API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling JULI Logger API support. [Framework Event Dispatcher] DEBUG org.ops4j.pax.logging.pax-logging-service - BundleEvent STARTED [Framework Event Dispatcher] DEBUG org.neo4j.neo4j-osgi-bundle - BundleEv

Re: [Neo] Requirements for an event framework for Neo4j

2010-03-31 Thread Laurent Laborde
I don't remember the exact english name but... are you, in fact, planning some kind of stored function (like PLSQL in postgresql) ? (exemple of "stored function" : BEFORE INSERT ON something FOR EACH ROW EXECUTE someFunction() ) -- Laurent "ker2x" Laborde Sysadmin & DBA at http://www.over-blog.

[Neo4j] Need Node.isDeleted() again ...

2010-12-14 Thread Andreas Ronge
Hi I'm still struggling with not having a Node.isDeleted() method in the API. Here is an example where I need this method: I'm using the event framework to implemented a simple rule system. When a node/relationship changes it can trigger an action like setting a property on another

Re: [Neo4j] [Neo] Event framework has landed

2010-06-11 Thread Tobias Ivarsson
On Fri, Jun 11, 2010 at 12:54 PM, Mattias Persson wrote: > > BabuDb has a > > db.prefixLookup( "key|value|" ) > > method so that's the one I'm using. > I wonder how well that scales. I'd like to see some performance figures from indexing massive volumes and then doing lookup based on prefixLoo

Re: [Neo4j] question about remove and iterate in same transaction

2011-05-24 Thread Andreas Kollegger
Hi Jose, Perhaps the event framework[1] would suit your purpose. The TransactionEventHandler [2] includes operations for intercepting a transaction before it is committed. Otherwise, to intercept the Node.delete call itself, you'd have to look into using AOP. Cheers, Andreas [1]

Re: [Neo4j] Need Node.isDeleted() again ...

2010-12-15 Thread Mattias Persson
2010/12/14 Andreas Ronge > Hi > > I'm still struggling with not having a Node.isDeleted() method in the API. > > Here is an example where I need this method: > I'm using the event framework to implemented a simple rule system. > When a node/relationship change

Re: [Neo] Requirements for an event framework for Neo4j

2010-04-01 Thread Michael Ludwig
Laurent Laborde schrieb am 31.03.2010 um 13:52:52 (+0200): > I don't remember the exact english name but... > are you, in fact, planning some kind of stored function (like PLSQL in > postgresql) ? > > (exemple of "stored function" : BEFORE INSERT ON something FOR EACH > ROW EXECUTE someFunction()

Re: [Neo] Event framework has landed

2010-05-01 Thread Georg M. Sorst
ased to announce that the new event framework has been > committed in kernel 1.1-SNAPSHOT. After feedback from you guys the framework > got quite small and cosy. Here's a summary. > > *TransactionEventHandler* > can be registered at a GraphDatabaseService and will thereaf

Re: [Neo] Event framework has landed

2010-04-29 Thread Tobias Ivarsson
On Thu, Apr 29, 2010 at 2:19 PM, Atle Prange wrote: > > BTW.: I wrote a new IndexService using BabuDB [1]. BabuDB is really fast, > but does not work for fulltext query. For now the IndexService is embedded > in the Object-graph mapper i wrote [2]. Anyone is free to check it out, if > it looks int

Re: [Neo4j] question about remove and iterate in same transaction

2011-05-24 Thread Jose Angel Inda Herrera
El 5/24/2011 9:12 AM, Andreas Kollegger escribió: > Hi Jose, > > Perhaps the event framework[1] would suit your purpose. The > TransactionEventHandler [2] includes operations for intercepting a > transaction before it is committed. > > Otherwise, to intercept the Node.dele

Re: [Neo] Transaction Event Listeners

2010-01-14 Thread Tobias Ivarsson
d. If you look in the org.neo4j.kernel.impl.event package of the Neo4j kernel component there is the current code for it. It is highly volatile and likely only work with the current (1.0-rc) and next (1.0) release, since a public event framework is planned for the release after that (1.1). Since the p

Re: [Neo4j] [Neo] Event framework has landed

2010-06-16 Thread Atle Prange
Yes, babudb would for example be very fast for a primary key index. How do you think a trie implemented in neo4j would compare to the others? One could have relationship types for each letter. Then a search for the word "faster", would involve six Node.getRelationShip(RelationshipType,Direction) c

Re: [Neo4j] [Neo] Event framework has landed

2010-06-11 Thread Atle Prange
Regarding the performance: I have tried to tweak Babudb, but could not get any more out of it than you did. I guess when you put 5M entries at once, there is only so much tweaking one can do. (At least for babudb). It seems odd though, since babudb is a less complicated framework, with less

Re: [Neo4j] Calling org.neo4j.graphdb.index.Index#remove in a beforeCommit event, allowed ?

2010-09-20 Thread Andreas Ronge
Sorry, found the bug in my code. It's rather difficult to debug when using the neo4j event framework since the stack trace doesn't give you much clues of what went wrong. It may be something that has occurred earlier that causes the problem, like calling methods on a deleted node. Chee

Re: [Neo] Transaction Event Listeners

2010-01-14 Thread Raul Raja Martinez
. It is highly volatile and likely only work with the > current (1.0-rc) and next (1.0) release, since a public event framework is > planned for the release after that (1.1). > > Since the proper event API isn't done yet, it is still possible to come with > suggestions to ho

Re: [Neo4j] Need Node.isDeleted() again ...

2010-12-19 Thread Mattias Persson
ill struggling with not having a Node.isDeleted() method in the API. >> >> Here is an example where I need this method: >> I'm using the event framework to implemented a simple rule system. >> When a node/relationship changes it can trigger an action like setting >> a pr

Re: [Neo4j] [Neo] Event framework has landed

2010-06-17 Thread Mattias Persson
2010/6/16 Atle Prange : > Yes, babudb would for example be very fast for a primary key index. > > How do you think a trie implemented in neo4j would compare to the > others? One could have relationship types for each letter. Then a > search for the word "faster", would involve six > Node.getRelatio

Re: [Neo4j] Does removing a node/relationship automatically remove it from all indices?

2010-10-27 Thread Mattias Persson
lso looking forward to a time where there's a good auto-indexer (and maybe integrated with a meta model to describe what to index), using the event framework. > > -Original Message- > From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On > Behalf Of Matti

Re: [Neo] Transaction Event Listeners

2010-01-14 Thread Raul Raja Martinez
oked up though, and it is of course undocumented. If you look in the >> org.neo4j.kernel.impl.event package of the Neo4j kernel component there is >> the current code for it. It is highly volatile and likely only work with the >> current (1.0-rc) and next (1.0) release, since a public event framework is &g

Re: [Neo4j] Calling org.neo4j.graphdb.index.Index#remove in a beforeCommit event, allowed ?

2010-09-20 Thread Mattias Persson
I know, exception can get swallowed at some point in there. I'll try to make that better in some way. 2010/9/20 Andreas Ronge > Sorry, found the bug in my code. > It's rather difficult to debug when using the neo4j event framework > since the stack trace doesn't give you

Re: [Neo4j] [Neo] Event framework has landed

2010-06-11 Thread Mattias Persson
array[7-i] = (byte) (value >>> (i * 8)); } return array; } private static long fastToLong( byte[] array ) throws IOException { long value = 0; for ( int i = 0; i < array.length; i++ ) { value <<= 8; value

Re: [Neo] Event framework has landed

2010-04-29 Thread Atle Prange
No, its just an index/key-value store with no transactional capabilities other than when no exception is being thrown, the index is updated. Any tx handling must be impemented on top. On Thu, Apr 29, 2010 at 2:35 PM, Tobias Ivarsson < tobias.ivars...@neotechnology.com> wrote: > On Thu, Apr 29, 2

Re: [Neo4j] Need Node.isDeleted() again ...

2010-12-19 Thread Andreas Ronge
i >>> >>> I'm still struggling with not having a Node.isDeleted() method in the API. >>> >>> Here is an example where I need this method: >>> I'm using the event framework to implemented a simple rule system. >>> When a node/relationshi

Re: [Neo4j] Calling org.neo4j.graphdb.index.Index#remove in a beforeCommit event, allowed ?

2010-09-20 Thread Peter Neubauer
e bug in my code. > It's rather difficult to debug when using the neo4j event framework > since the stack trace doesn't give you much clues of what went wrong. > It may be something that has occurred earlier that causes the problem, > like calling methods on a deleted node. &

Re: [Neo4j] [Neo] Event framework has landed

2010-06-17 Thread Atle Prange
yes :) atle On Thu, Jun 17, 2010 at 1:37 PM, Mattias Persson wrote: > 2010/6/16 Atle Prange : >> Yes, babudb would for example be very fast for a primary key index. >> >> How do you think a trie implemented in neo4j would compare to the >> others? One could have relationship types for each lette

Re: [Neo4j] question about remove and iterate in same transaction

2011-05-24 Thread Andreas Kollegger
n.wikipedia.org/wiki/AspectJ [3] http://www.eclipse.org/aspectj/ On May 24, 2011, at 12:41 PM, Jose Angel Inda Herrera wrote: > El 5/24/2011 9:12 AM, Andreas Kollegger escribió: >> Hi Jose, >> >> Perhaps the event framework[1] would suit your purpose. The >> Tran

Re: [Neo4j] Need Node.isDeleted() again ...

2010-12-19 Thread Mattias Persson
still struggling with not having a Node.isDeleted() method in the > API. > >>> > >>> Here is an example where I need this method: > >>> I'm using the event framework to implemented a simple rule system. > >>> When a node/relationship changes it

Re: [Neo4j] Need Node.isDeleted() again ...

2010-12-19 Thread Andreas Ronge
al collection to >> hold the deleted entities a HashSet for fast lookups. >> >> 2010/12/15 Mattias Persson >> >>> >>> >>> 2010/12/14 Andreas Ronge >>> >>> Hi >>>> >>>> I'm still struggling with not hav

Re: [Neo4j] [Neo] Event framework has landed

2010-06-15 Thread Mattias Persson
e babudb is a less complicated framework, with less > features. We should contact the babudb guys and ask why we see the > results that we see. > > Regarding keys: > > Having one entry in the db for each value will give the fastest update > speed, but will be slower for a larg

Re: [Neo4j] Does removing a node/relationship automatically remove it from all indices?

2010-10-27 Thread Marko Rodriguez
Hey, > I'm also looking forward to a time where there's a good auto-indexer > (and maybe integrated with a meta model to describe what to index), > using the event framework. Blueprints requires two indices be created on the construction of a new graph. AutomaticI

Re: [Neo] LuceneIndexService dependencies on EmbeddedGraphDatabase

2010-03-15 Thread Niels Hoogeveen
t the org.neo4j.kernel.impl.event package, but this seems to be referenced only once, registering the event manager within the kernel config. Do you have a timeline for the event framework? I know it is intended for version 1.1, but working on a validator doesn't necessarily have to wait until the final rele

Re: [Neo4j] Need Node.isDeleted() again ...

2010-12-19 Thread Mattias Persson
hSet for fast lookups. >> > >> > 2010/12/15 Mattias Persson >> > >> >> >> >> >> >> 2010/12/14 Andreas Ronge >> >> >> >> Hi >> >>> >> >>> I'm still struggling with not having a Nod

Re: [Neo4j] How to embed neo4j to OSGI env without spring?

2011-06-08 Thread Peter Neubauer
/master/src/test/java/org/neo4j/examples/osgi/Neo4jActivator.java. I now get [Framework Event Dispatcher] DEBUG BuildByTinyBundlestinybundles7256886623461679180UID - FrameworkEvent ERROR org.osgi.framework.BundleException: Exception in org.neo4j.examples.osgi.Neo4jActivator.start() of bundle

Re: [Neo] Event framework has landed

2010-05-03 Thread Mattias Persson
hing in the graph, f.ex. a property on a node. What exactly do you mean by that? > > Thanks and best regards, > Georg > > > On 27.04.2010 10:15, Mattias Persson wrote: > >> Hi everyone! >> >> I'm quite pleased to announce that the new event framewo

Re: [Neo4j] Max De Marzi's Neo4j Server Ruby bindings

2010-11-20 Thread Andreas Ronge
Hi That's interesting ! Would be cool to try to use the same API as neo4j.rb. But I think only a small part of the neo4j.rb API would be possible to implement using the REST API. Example, the traversals (which is done in javascript) and indexing/rules which uses the event framework wou

Re: [Neo4j] How to embed neo4j to OSGI env without spring?

2011-06-08 Thread Super Wang
upport. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling Avalon Logger API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling JULI Logger API support. [Framework Event Dispatcher] DEBUG org.ops4j.pax.logging.pax-log

Re: [Neo4j] How to embed neo4j to OSGI env without spring?

2011-06-08 Thread Peter Neubauer
support. > org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] > : Enabling Jakarta Commons Logging API support. > org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] > : Enabling Log4J API support. > org.ops4j.pax.logging.pax-l

Re: [Neo4j] How to embed neo4j to OSGI env without spring?

2011-06-08 Thread Super Wang
-logging-service-1.6.2.jar > > [main] INFO org.ops4j.pax.url.mvn.internal.AetherBasedResolver - Resolved > > (org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1) as > D:\Software\De > > > > elopment\SDKandLibrary\maven\repository\org\apache\geronimo\specs\geronimo-j

Re: [Neo4j] [Neo] Event framework has landed

2010-06-15 Thread Atle Prange
db, but could not get any more out of it >> than you did. I guess when you put 5M entries at once, there is only >> so much tweaking one can do. (At least for babudb). It seems odd >> though, since babudb is a less complicated framework, with less >> features. We should c

Re: [Neo] Transaction Event Listeners

2010-01-18 Thread Mattias Persson
, and it is of course undocumented. If you look in > the >>> org.neo4j.kernel.impl.event package of the Neo4j kernel component there > is >>> the current code for it. It is highly volatile and likely only work with > the >>> current (1.0-rc) and next (1.0) release,

Re: [Neo4j] [Neo] Event framework has landed

2010-06-11 Thread Tobias Ivarsson
On Fri, Jun 11, 2010 at 12:20 PM, Mattias Persson wrote: > I tried performance of BabuDB recently. I'm not very used to key-value > stores, but I chose this layout of the keys/values: > > key: key|value|id > value: id > I might be missing something here, but from my interpretation, what you

Re: [Neo] Event framework has landed

2010-05-10 Thread Georg M. Sorst
but that just seems wrong. How can I do this >> right? >> > I don't know what you mean by "pass data to the transaction" if it would not > be to store something in the graph, f.ex. a property on a node. What exactly > do you mean by that? > >> >> Th

Re: [Neo4j] [Neo] TransactionEventHandler and Spring transaction handling

2010-06-02 Thread Johan Svensson
Antonis, Just committed some bug fixes in the event framework and hopefully this also solves the problem you experienced when using Spring. Could you please try the latest neo4j-kernel 1.1-SNAPSHOT to see if it works? To answer your other question the handler is called in the same thread and you

Re: [Neo4j] Implementing disambiguation algorithms in Neo4j

2011-02-01 Thread Peter Neubauer
Tim, I don't know enough about disambiguation algos to point you in any special direction, but implementation-wise you could hook into the event framework, http://wiki.neo4j.org/content/Event_framework, in order to do e.g. graph matching queries upon any modifying transaction changing dat

Re: [Neo] Import/Export functionality for NEO networks?

2007-06-07 Thread Peter Neubauer
Hi Emil, guess this is because of OSGi classloading. What exactly needs to be loaded to get the shell up? /peter 1169 [Framework Event Dispatcher] INFO [undefined] - FrameworkEvent ERROR org.osgi.framework.BundleException: Exception in com.waybuddies.server.database.internal.Activator.start

Re: [Neo] General Question about neo4j

2009-06-11 Thread Tobias Ivarsson
ail index. If the lookup returns a node you will know that the value was not unique. If None is returned then there is no node with that e-mail, and you can go ahead and add it. We have been discussing exposing an event framework that could be used to implement such a constraint system, or automatic i

Re: [Neo4j] [Neo] Event framework has landed

2010-06-11 Thread Mattias Persson
2010/6/11 Tobias Ivarsson : > On Fri, Jun 11, 2010 at 12:20 PM, Mattias Persson > wrote: > >> I tried performance of BabuDB recently. I'm not very used to key-value >> stores, but I chose this layout of the keys/values: >> >>   key: key|value|id >>   value: id >> > > I might be missing something he

[Neo4j] Index Performance(Was: Event framework has landed)

2010-06-22 Thread Atle Prange
Started a new thread since the old got a bit long, if you want to catch up read the thread "The event framework has landed". Okay, i changed the tests to reflect a bit more realistic usage. The tests first inserts 1M entries to create a base of data. After that it makes reads and w

Re: [Neo] Event framework has landed

2010-05-10 Thread Mattias Persson
case)? >>> >>> I'd say it'd be better if the service classes could read the revision >> from >> the node which has the revision directly, that way you'd always get the >> committed value. Maybe your handler could have a getRevision() method >&g

Re: [Neo] Event framework has landed

2010-05-10 Thread Georg M. Sorst
om that revision node. > > > 3. The caller should be able to pass data to the > transaction, for now just > the commit message. Of course I can temporarily store this > in a node or > attach it to the thr

Re: [Neo] Event framework has landed

2010-05-10 Thread Mattias Persson
2. How can I return the revision number from the >>TransactionEventHandler so >> >>I can use it in the caller (my service classes in this case)? >> >>I'd say it'd be better if the service classes could read the >>rev

Re: [Neo4j] Index Performance(Was: Event framework has landed)

2010-06-23 Thread Mattias Persson
I think the lucene test is flawed since it never returns any results in lookup method. That's why it's so fast :) 2010/6/22 Atle Prange > Started a new thread since the old got a bit long, if you want to > catch up read the thread "The event framework has landed". >

Re: [Neo] General Question about neo4j

2009-06-11 Thread johny ho
an > > alternative thrid party authentication. > > > There are no constraints of this sort in Neo core. Neither built into > Neo4j.py. The easiest way to implement this is to use an index for that > property. So each time where your code sets the e-mail property, it does

Re: [Neo] Dispell the myth? FlockDB vs. Neo4j

2010-04-13 Thread Dennis Peterson
ucing-gizzard-framework-for.html On that page they mention that FlockDb is built on top of Gizzard. I'm having trouble figuring out just what FlockDb really adds. On Tue, Apr 13, 2010 at 7:20 AM, Peter Neubauer < peter.neuba...@neotechnology.com> wrote: > Mmh, > FlockDB seems to be fo

Re: [Neo4j] Index Performance(Was: Event framework has landed)

2010-06-23 Thread Atle Prange
fast :) > > 2010/6/22 Atle Prange > >> Started a new thread since the old got a bit long, if you want to >> catch up read the thread "The event framework has landed". >> >> Okay, i changed the tests to reflect a bit more realistic usage. >> >> T

Re: [Neo4j] Index Performance(Was: Event framework has landed)

2010-06-24 Thread Mattias Persson
; 2010/6/22 Atle Prange > > > >> Started a new thread since the old got a bit long, if you want to > >> catch up read the thread "The event framework has landed". > >> > >> Okay, i changed the tests to reflect a bit more realistic usage. > &

Re: [Neo4j] Index Performance(Was: Event framework has landed)

2010-06-24 Thread Atle Prange
23, 2010 at 11:04 AM, Mattias Persson > > wrote: > > > I think the lucene test is flawed since it never returns any results in > > > lookup method. That's why it's so fast :) > > > > > > 2010/6/22 Atle Prange > > > > > >> Sta

Re: [Neo] Mapping UUID to Neo node

2008-05-04 Thread Emil Eifrem
esign_Guide It seems weird to me that an attribute named "id" would be optional, but anywho, I get your point. Unfortunately, there's currently no way you can get around having to manually let the IndexService know that an indexed property has changed. In the future, we're going to ena

Re: [Neo4j] OSGi and Neo4j - superbundle approach

2011-07-20 Thread Peter Neubauer
st case doesn't >> close the database, but if you remove the @Test before the first test case >> the second one will run and succeed. >> So the neo4j superbundle seems to work correctly, event if I don't know >> what's wrong when doing it by hand on the felix

Re: [Neo4j] API Questions and a bit more

2010-09-05 Thread Alexandru Popescu ☀
as the IndexService - use the Neo4j events framework for automatically index/update ElasticSearch (unfortunately I don't know much about the event framework to say if this would work or not though) Bests, :- alex > cheers > Paddy > > > > 2010/9/3 Alexandru Popescu ☀ >

Re: [Neo4j] OSGi and Neo4j - superbundle approach

2011-07-18 Thread Nicolas Jouanin
e seems to work correctly, event if I don't know what's wrong when doing it by hand on the felix framework. This need more time to investigate. Don't hesitate to pull code if needed. Nicolas Le 17 juil. 2011 à 22:06, Peter Neubauer a écrit : > Nicolas, > the best would be

Re: [Neo4j] OSGi and Neo4j - superbundle approach

2011-07-18 Thread Peter Neubauer
cause in OSGiTest class the first test case doesn't close the database, but if you remove the @Test before the first test case the second one will run and succeed. > So the neo4j superbundle seems to work correctly, event if I don't know what's wrong when doing it by hand on the felix

  1   2   >