[
https://issues.apache.org/jira/browse/LUCENE-6774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14727498#comment-14727498
]
Robert Muir commented on LUCENE-6774:
-------------------------------------
this horrible hack prevents the analyzer from being used in other environments.
sorry, solr can set contextclassloader in its own code. Doing it here is no
reason to break *other non-solr apps*
Believe it or not, there are people that use lucene without solr.
> 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
> 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: [email protected]
For additional commands, e-mail: [email protected]