[hibernate-dev] SearchMapping and its dependency on the analyzer optional package

Hardy Ferentschik hibernate at ferentschik.de
Tue Dec 8 08:11:51 EST 2009


I go for 3. I think its nice to not need this additional jar.

--Hardy

On Tue, 08 Dec 2009 08:30:13 -0300, Sanne Grinovero  
<sanne.grinovero at gmail.com> wrote:

> Both options 1 and 3 are good for me:
> while it's nice to not need an additional jar, I always use it.
>
> Sanne
>
> 2009/12/8 Emmanuel Bernard <emmanuel at hibernate.org>:
>> SearchMapping has a dependency on Solr's analyzer package which was
>> optional in 3.1. The current configuration design makes mandatory as
>> the SearchMapping is now used by the SearchFactoryImpl.
>>
>> Three solutions:
>>  - make the analyzer optional dependency mandatory
>>  - make SearchMapping reflexively used in SFI to avoid the mandatory
>> dependency on non programmatic model users
>>  - rethink SearchMapping to avoid the dependency
>>
>> Either 1 or 3 look viable to me. I don't believe in 2.
>> Any proposal?





More information about the hibernate-dev mailing list