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.
The following table shows the compatible versions of Elasticsearch and Morphological Analysis Plugin.
In order to install the plugin, simply run the following command in the elasticsearch home directory:
bin/elasticsearch-plugin install URL
where URL
is the URL of the plugin from the compatibility table. For examples to install version 5.6.7
run
bin/elasticsearch-plugin install http://dl.bintray.com/content/imotov/elasticsearch-plugins/org/elasticsearch/elasticsearch-analysis-morphology/5.6.7/elasticsearch-analysis-morphology-5.6.7.zip
In order to install the plugin, simply run the following command in the elasticsearch home directory:
bin/plugin install URL
where URL
is the URL of the plugin from the compatibility table. For examples to install version 2.4.6
run
bin/plugin install http://dl.bintray.com/content/imotov/elasticsearch-plugins/org/elasticsearch/elasticsearch-analysis-morphology/2.4.6/elasticsearch-analysis-morphology-2.4.6.zip
In order to install the plugin, simply run the following command in the elasticsearch home directory:
bin/plugin -install analysis-morphology -url URL
where URL
is the URL of the plugin from the compatibility table.
The way position increments are handled was changed in the version 1.2.0. Therefore, complete reindexing is highly recommended after upgrade to 1.2.0.