Hi Brett,
we don't include all existing analysers and extensions within the
WildFly modules. In particular the Apache Tika libraries have a huge
amount of dependencies, you should choose the ones you need depending
on what kind of media you intend to parse.
Include any extension in your "application", we use the Hibernate ORM
classloader to lookup for extensions so these should be discoverable
if they are visible to the same classloader having your entities and
other extensions.
Sanne
On 29 May 2015 at 15:28, Brett Meyer <brmeyer(a)redhat.com> wrote:
Hey Sanne! Artificer has '<module
name="org.hibernate.search.orm" services="export" />' defined
in its jboss-deployment-structure dependencies. But, when we try to use it, the following
happens.
Caused by: java.lang.ClassNotFoundException: org.apache.tika.parser.Parser from [Module
"org.hibernate.search.engine:main" from local module loader @6cf76647 (finder:
local module finder @665bf734 (roots:
/home/brmeyer/IdeaProjects/artificer/installer/target/wildfly-8.2.0.Final/modules,/home/brmeyer/IdeaProjects/artificer/installer/target/wildfly-8.2.0.Final/modules/system/layers/base))]
One of our entities uses the built-in TikaBridge. I figured the search.orm module would
bring the necessary Tika jars in with it. Is there something else we need to add?