The module imports the source from the lucene index plugin, modifies the
imports to use the org.shaded package name, and then compiles and includes
the lucene index plugin in the uber-jar itself.

You can see what classes gets included in the resulting jar, it also
renames the services files so that it matches the shaded lucene codecs, so
that initialisation works properly.

I wasn't suggesting oak should adopt this approach at this time, it's
merely a solution for those that need to combining oak with other code
(usually elasticsearch) in a non-osgi environment (usually spring).


On 25 November 2016 at 18:56, Chetan Mehrotra <[email protected]>
wrote:

> On Fri, Nov 25, 2016 at 2:11 PM, Torgeir Veimo <[email protected]>
> wrote:
> > Which other spi impl depends
> > on the lucene libraries being exposed?
>
> There are currently 2 defined in
> org.apache.jackrabbit.oak.plugins.index.lucene.spi package
>
> Chetan Mehrotra
>



-- 
-Tor

Reply via email to