[ 
https://issues.apache.org/jira/browse/LUCENE-6774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14727600#comment-14727600
 ] 

Uwe Schindler commented on LUCENE-6774:
---------------------------------------

My proposal:
- we should load the resource using local path (it is very simple, its just the 
language name)
- [~dweiss] should maybe fix this in morphologik, the code is still broken. 
Maybe he should remove the whole class (he has a nocommit there)

I'll supply a patch for a solution that always works not dealing with context 
classloader.

> Remove solr hack in MorfologikFilter
> ------------------------------------
>
>                 Key: LUCENE-6774
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6774
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Priority: Blocker
>             Fix For: 5.3.1
>
>         Attachments: LUCENE-6774.patch
>
>
> If solr wants to set the contextClassLoader because its classloading is 
> fucked up, then it needs to do this hack itself: it should not be in lucene 
> code.
> The current mess prevents use of this analyzer in other environments



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to