Hi Tommaso,

On Thu, Nov 6, 2014 at 2:31 PM, Tommaso Teofili
<[email protected]> wrote:
> I think A and C would be very tricky to solve in OSGi, I
> have dealt myself with this topic before 1.0 and there was no clean
> solution (see also [1]), also because Lucene uses ServiceLoader for some of
> its configuration points [2][3].

>From my limited reading of code I think Lucene uses ServiceLoader only
for Codecs. Analyzer can be constructed independently and
programatically used directly while creating Field and on query side
while creating Query terms. So that should work if we are able to get
access to Analyer instances via service registry

Chetan Mehrotra

Reply via email to