The Morphological Analysis plugin integrates Russian and English morphology for java and lucene framework into elasticsearch. This plugin adds two new analyzers: “russian_morphology” and “english_morphology” and two token filters with the same names.
The demo.sh file shows a few examples of the analyzers behavior.
Building
For building use latest gradle 6.6.1+ (https://gradle.org/install/#manually) and run
gradle build
.
Java SDK – tested on 15.
gradle build
Plugin is avaliable only for Elasticsearch 7.11.1.
Morphological Analysis Plugin | Elasticsearch | URL |
---|---|---|
7.11.1 | 7.11.1 | https://github.com/sarafanfm/elasticsearch-analysis-morphology/raw/7.11.1/analysis-morphology-7.11.1.zip |
In order to install the plugin, simply run the following command in the elasticsearch home directory:
bin/elasticsearch-plugin install file:///C:\PROJECTS\elasticsearch-analysis-morphology\analysis-morphology-7.11.1.zip
where zip_file_path
is full path to zip archive with builded plugin.
Also, if you not know how build the plugin, the compiled version is added (analysis-morphology-7.11.1.zip)
P.S. I am not java developer, and I do not know about any errors. I am not tested yet the plugin, only install.