Elasticsearch's Analyzer for Kuromoji with Neologd
Java
Latest commit 1f172d2 Feb 16, 2017 @marevol marevol committed on GitHub Update README.md

README.md

Elasticsearch Analysis Kuromoji Neologd

Overview

Elasticsearch Analysis Neologd Plugin provides Tokenizer/CharFilter/TokenFilter for Kuromoji with Neologd.

Version

Version Tested on ES neologd
master 5.2.X
5.2.1 5.2.1 20170213
5.1.0 5.1.2 20161229
5.0.0 5.0.2 20161229
2.4.1 2.4.1 20160922
2.3.3 2.3.5 20160922
2.2.1 2.2.2 20160829
2.1.2 2.1.1 20160829
2.0.0 2.0.0 20151102
1.7.1 1.7.1 20150918
1.6.0 1.6.0 20150608
1.5.1 1.5.2 20150501
1.4.0 1.4.4 20150319

Issues/Questions

Please file an issue. (Japanese forum is here.)

Installation

For 5.x

$ $ES_HOME/bin/elasticsearch-plugin install org.codelibs:elasticsearch-analysis-kuromoji-neologd:5.2.1

For 2.x

$ $ES_HOME/bin/plugin install org.codelibs/elasticsearch-analysis-kuromoji-neologd/2.4.1

References

Analyzer, Tokenizer, TokenFilter, CharFilter

The plugin includes these analyzer and tokenizer, tokenfilter.

name type
kuromoji_neologd_iteration_mark charfilter
kuromoji_neologd analyzer
kuromoji_neologd_tokenizer tokenizer
kuromoji_neologd_baseform tokenfilter
kuromoji_neologd_part_of_speech tokenfilter
kuromoji_neologd_readingform tokenfilter
kuromoji_neologd_stemmer tokenfilter
reloadable_kuromoji_neologd_tokenizer tokenizer

Usage

See Elasticsearch Kuromoji.

Update Kuromoji Jar File

If you want to replace with the latest Lucene Neologd jar file, download it from http://maven.codelibs.org/org/codelibs/lucene-analyzers-kuromoji-ipadic-neologd/ and then replace old file in $ES_HOME/plugins/analysis-kuromoji-neologd.

What is NEologd

See mecab-ipadic-NEologd.

References to build Lucene Kuromoji with NEologd

Use Lucene Kuromoji for Neologd

If you want to use Lucene Kuromoji for Neologd in your application other than elasticsearch, you can use lucene-analyzers-kuromoji-ipadic-neologd jar file, not this plugin. To use the jar file, put the following settings into your pom.xml.

...
<repositories>
    <repository>
        <id>codelibs.org</id>
        <name>CodeLibs Repository</name>
        <url>http://maven.codelibs.org/</url>
    </repository>
</repositories>
...
<dependencies>
    <dependency>
        <groupId>org.codelibs</groupId>
        <artifactId>lucene-analyzers-kuromoji-ipadic-neologd</artifactId>
        <version>5.4.1-20160218</version>
        <!-- http://maven.codelibs.org/org/codelibs/lucene-analyzers-kuromoji-ipadic-neologd/ --->
    </dependency>
...

See CodeLibs Maven Repository.