Re: [hibernate-dev] Infinispan DirectoryProvider for Hibernate Search

2010-10-01 Thread Emmanuel Bernard
On 1 oct. 2010, at 14:14, Sanne Grinovero wrote: > Hi Emmanuel, > thanks, some more comments inline: > > 2010/9/30 Emmanuel Bernard : >> As usual thanks for the deep analysis. >> >> I've been looking at this problem and here is where I am. >> >> Lifecycle >> 1. You pass an instance to the Sess

Re: [hibernate-dev] Infinispan DirectoryProvider for Hibernate Search

2010-10-01 Thread Sanne Grinovero
Hi Emmanuel, thanks, some more comments inline: 2010/9/30 Emmanuel Bernard : > As usual thanks for the deep analysis. > > I've been looking at this problem and here is where I am. > > Lifecycle > 1. You pass an instance to the SessionFactory in which case you're > responsible for the lifecycle >

Re: [hibernate-dev] Infinispan DirectoryProvider for Hibernate Search

2010-09-30 Thread Emmanuel Bernard
As usual thanks for the deep analysis. I've been looking at this problem and here is where I am. Lifecycle 1. You pass an instance to the SessionFactory in which case you're responsible for the lifecycle The instance passed needs to be passed to the next ImmutableSearchFactory if a reconstructi

[hibernate-dev] Infinispan DirectoryProvider for Hibernate Search

2010-09-16 Thread Sanne Grinovero
Hi all, this was planned long time ago and is now being requested often, especially on the Infinispan forum and irc. As Search might have to manage several indexes, these can all be stored in the same cache, or in different caches; In both cases the cache or CacheManager should be reused, and so t