As Brett is saying, as a first step we should define the public packages. The HV pom.xml does that via a Maven plug-in, I think it can be done in the same way for Search. For cases where we instantiate user-provided classes from a given name it makes sense to allow for a classloader to be used for that being passed into the engine.
I'll start with the general config via Maven plugin and HSEARCH-1121 will hopefully address class loading issues. After that we can have a discussion about whether we need a hibernate-search-osgi module.
|