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

7.16.0 #26

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Korean analysis plugin that integrates [open-korean-text](https://github.com/ope

Elasticsearch 4.x 이하의 버전은 지원하지 않습니다.

## Plugin에 사용자 사전을 입력하여 수정이 필요한 경우
https://github.com/Keunyoung-Jung/sns-tokenizer-whole 로 방문하여 사용자사전을 받을 수 있습니다.

## Install

```shell
Expand Down
11 changes: 6 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
group 'org.openkoreantext'
version '6.5.2.0'
version '7.16.0.0'

apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'signing'
apply plugin: 'jacoco'
apply plugin: 'idea'

sourceCompatibility = 1.8

Expand All @@ -20,8 +21,8 @@ configurations {
}

ext {
elasticsearchVersion = '6.5.2'
openKoreanTextVersion = '2.1.0'
elasticsearchVersion = '7.16.0'
openKoreanTextVersion = '2.3.1'
}

dependencies {
Expand All @@ -42,7 +43,7 @@ task makePluginDescriptor(type: Copy) {
'name': 'elasticsearch-analysis-openkoreantext',
'classname': 'org.elasticsearch.plugin.analysis.openkoreantext.AnalysisOpenKoreanTextPlugin',
'description': 'Korean analysis plugin integrates open-korean-text module into elasticsearch.',
'version': '1.0.0',
'version': '7.16.0',
'javaVersion': sourceCompatibility,
'elasticsearchVersion' : elasticsearchVersion
]
Expand Down Expand Up @@ -110,4 +111,4 @@ task jacocoRootReport(type: org.gradle.testing.jacoco.tasks.JacocoReport) {

task wrapper(type: Wrapper) {
gradleVersion = '3.4'
}
}
Binary file added gradle/.DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* A ES character-filter factory for {@link OpenKoreanTextNormalizer}.
*/
public class OpenKoreanTextNormalizerFactory extends AbstractCharFilterFactory implements MultiTermAwareComponent {
public class OpenKoreanTextNormalizerFactory extends AbstractCharFilterFactory {

public OpenKoreanTextNormalizerFactory(IndexSettings indexSettings, Environment env, String name, Settings settings) {
super(indexSettings, name);
Expand All @@ -23,11 +23,6 @@ public Reader create(Reader reader) {
return new OpenKoreanTextNormalizer(reader);
}

@Override
public Object getMultiTermComponent() {
return this;
}

public static class OpenKoreanTextStemmerFactory extends AbstractTokenFilterFactory {
public OpenKoreanTextStemmerFactory(IndexSettings indexSettings, Environment env, String name, Settings settings) {
super(indexSettings, name, settings);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
public class OpenKoreanTextTokenizerFactory extends AbstractTokenizerFactory {

public OpenKoreanTextTokenizerFactory(IndexSettings indexSettings, Environment env, String name, Settings settings) {
super(indexSettings, name, settings);
super(indexSettings, settings, name);
UserDictionaryLoader.loadDefaultUserDictionaries();
}

Expand Down