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.
For building use latest gradle 6.6.1+ (https://gradle.org/install/#manually) and run
./gradlew build
Java SDK - tested on 15.
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.