[wildfly-dev] Hibernate Search as a dependency

Paul Ferraro paul.ferraro at redhat.com
Mon Dec 16 14:01:52 EST 2013


Just to say, the bloat is to the distribution size only, not to the
actual runtime. The infinispan-query module (and its dependencies,
including hibernate-search) is *not* imported by the default
configuration.  To use <indexing/> for an infinispan cache, you must
configure the cache container to load query module via:
<cache-container ... module="org.infinispan.query"/>
Only then are these modules loaded.

It's too bad your response never went out.  Only 2 people responded to
my original thread with an opinion - both of which advocated for adding
the dependencies...

On Mon, 2013-12-16 at 11:12 -0600, Jason Greene wrote:
> Yes I agree that we want to remove it from at least our primary distro. The solution
> I would have preferred, but never got sent to the ML (was in my drafts folder - oops)
> was that we only pull in hibernate search to test <indexing/> but not ship it by default.
> 
> On Dec 16, 2013, at 10:15 AM, Emmanuel Bernard <emmanuel at hibernate.org> wrote:
> 
> > So recently, Hibernate Search has been added as a dependency of Wildfly.
> > I think for two reasons:
> > 
> > - Infinispan when using <indexing/> requires it
> > - CapeDwarf is a customer of Infinispan, its indexing and Hibernate
> >  Search
> > 
> > I am a bit concerned about that move because Hibernate Search (depending
> > on the options you choose) can bring a significant dependency graph and
> > I don't want Wildfly to suffer from that.
> > 
> > As part of Hibernate Search, we do work and offer a Wildfly module to
> > ease the integration but it seems the work as been duplicated.
> > 
> > So my question to all of you guys is the following. Isn't it enough to
> > let Hibernate Search keep up with the module definition and let use add
> > the module when they need either Hibernate Search, Infinispan indexing
> > or CapeDwarf?
> > 
> > Emmanuel
> > _______________________________________________
> > wildfly-dev mailing list
> > wildfly-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/wildfly-dev
> 
> --
> Jason T. Greene
> WildFly Lead / JBoss EAP Platform Architect
> JBoss, a division of Red Hat
> 
> 
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev




More information about the wildfly-dev mailing list