Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

for Elasticsearch 7.17.1 #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

r4-keisuke
Copy link

@r4-keisuke r4-keisuke commented Oct 21, 2022

I wanted to use the latest version of 7.17, but Elasticsearch Cluster Runner was only available up to 7.17.1.

I have verified that it works with 7.17.6.

Comment on lines +33 to +34
<lucene.version>8.11.1</lucene.version>
<kuromoji-ipadic-neologd.version>20200910</kuromoji-ipadic-neologd.version>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Thank you for your pr!
I also want to use this plugin in elasticsearch. I clone your branch but I found that I cannot get this part from maven.
maven reports that:

org.codelibs:lucene-analyzers-kuromoji-ipadic-neologd:jar:8.11.1-20200910 was not found in https://maven.codelibs.org/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of codelibs.org has elapsed or updates are forced

I also checked the maven repo and I found that there is no version for it..
https://maven.codelibs.org/org/codelibs/lucene-analyzers-kuromoji-ipadic-neologd/

Could you help to take a look?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@boqigao
Sorry for the late reply.
This kuromoji-ipadic-neologd is indeed not in maven repo, so I am using a locally generated version use this.

If you build it here with lucene version 8.11.1, it should generate a usable jar.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, @r4-keisuke I build own es 7.17.1 version with locally kuromoji-ipadic-neologd

                <dependency>
                        <groupId>org.codelibs</groupId>
                        <artifactId>lucene-analyzers-kuromoji-ipadic-neologd</artifactId>
                        <version>8.11.1-20200910</version>
                        <scope>system</scope>
                        <systemPath>/path/to/jar_file/lucene-analyzers-kuromoji-ipadic-neologd-8.11.1-20200910.jar</systemPath>
                </dependency>

but when i install plugin in es show this error:

"stacktrace": ["java.lang.NoClassDefFoundError: org/apache/lucene/analysis/ja/JapaneseIterationMarkCharFilter",

how can i fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants