Github user dweiss commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/187#discussion_r111553610 --- Diff: lucene/analysis/morfologik/src/java/org/apache/lucene/analysis/uk/UkrainianMorfologikAnalyzer.java --- @@ -145,7 +152,7 @@ protected TokenStreamComponents createComponents(String fieldName) { private static Dictionary getDictionary() { try { - return Dictionary.read(UkrainianMorfologikAnalyzer.class.getResource("ukrainian.dict")); + return Dictionary.read(UkrainianMorfologikAnalyzer.class.getResource("/ua/net/nlp/ukrainian.dict")); --- End diff -- This shouldn't be a class-relative read looking for an absolute resource. Rather, I think, it should be classloader-relative UkrainianMorfologikAnalyzer.class.getClassLoader().getResource("ua/net/nlp/ukrainian.dict").
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org