jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommaso Teofili <teof...@adobe.com>
Subject Re: commit hooks and indexing
Date Wed, 27 Feb 2013 09:46:37 GMT

On 27/feb/2013, at 10:25, Michael Dürig wrote:

> 
> 
> On 15.2.13 9:27, Jukka Zitting wrote:
>> Hi,
>> 
>> On Fri, Feb 15, 2013 at 11:20 AM, Tommaso Teofili <teofili@adobe.com> wrote:
>>> maybe it would be nice to explicitly design the synchronous / asynchronous execution
of an hook
>> 
>> An Observer is essentially an asynchronous hook.
> 
> Right but it might make sense to factor out an API based on these hooks 
> that frees index implementations of having to worry which hook to use. 

yes, I'd see it as a nice improvement to ease the development and maintenance of indexing
plugins.

> Thus index implementation wouldn't need to worry about the hooks but 
> rather about a contract specifying how thy see content changes.

Maybe we can have both, so that a specific index can implement them as well if that's needed
for some reason.

Tommaso

> 
> Michael
> 
> 
>> 
>> BR,
>> 
>> Jukka Zitting
>> 


Mime
View raw message