uschindler commented on issue #13101:
URL: https://github.com/apache/lucene/issues/13101#issuecomment-1944717416

   This is a general problem of Service providers in Java.
   
   As Lucene only has a single instance in the parent classloader (Lucene is 
part of Solr's classloader) it only has a single lookup to find analysis 
components.
   
   Your proposal will cause the same problem if other cores. If you unload a 
core and it removes it's analysis components, the anal is in another core will 
fail from that point on.
   
   To fix this correctly, Solr would need to have a separate Lucene impl per 
core. This is undoable. In general the per core classpaths in Solr are strange. 
Codecs, PostingsFormats, DocvaluesFormats and analysis components should be 
loaded in same classloader like Solr and Lucene itself.
   
   There is no solution to this well known problem.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to