[infinispan-dev] new Infinispan Query API - ISPN-194

Sanne Grinovero sanne.grinovero at gmail.com
Tue Apr 5 07:26:13 EDT 2011


2011/4/5 Emmanuel Bernard <emmanuel at hibernate.org>:
>
> On 5 avr. 2011, at 12:03, Galder Zamarreño wrote:
>
>>>>
>>>> - I'm not a big fan of the constructor approach to get QueryFactory for various reasons (including the fact that it forces a concrete type and no interfaces) but it seems to be an ISPN-wide design decision
>>>> That's definitely something that could be improved in a Seam Infinispan module.
>>>
>>> I knew you where going to say that :) but yes this seems to be more
>>> Infinispan-style.
>>> I've considered something like a Search.getQueryFactory(Cache c) .. WDYT?
>>> This wouldn't return a "FullTextCache" but the manager, I see no
>>> reason to delegate a cache like we do with a o.h.Session.
>>
>> Is this Hibernate Search API you're talking about?
>
> Nope, Infinispan.

I think it's looking better indeed:

(search for Search.getSearchManager at url: )
https://github.com/Sanne/infinispan/commit/f8e0a46bb7b4b66af893f74bad358e4faacb033e



> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>



More information about the infinispan-dev mailing list