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

Emmanuel Bernard emmanuel at hibernate.org
Tue Dec 8 06:01:00 EST 2009


Also does it make sense to keep  
SearchConfiguration#getProgrammaticMapping now that we have the  
property approach?

On 8 déc. 09, at 11:58, Emmanuel Bernard wrote:

> 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?
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev





More information about the hibernate-dev mailing list