/elasticsearch-analysis-morphology

Morphological Analysis Plugin for ElasticSearch

Primary LanguageJavaApache License 2.0Apache-2.0

Morphological Analysis Plugin for ElasticSearch

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.

Compatibility

The following table shows the compatible versions of Elasticsearch and Morphological Analysis Plugin.

Morphological Analysis Plugin Elasticsearch URL
1.2.0 1.0.0 → master http://dl.bintray.com/content/imotov/elasticsearch-plugins/org/elasticsearch/elasticsearch-analysis-morphology/1.2.0/elasticsearch-analysis-morphology-1.2.0.zip
1.1.0 0.90.0.Beta1 → 0.90.X http://dl.bintray.com/content/imotov/elasticsearch-plugins/elasticsearch-analysis-morphology-1.1.0.zip
1.0.0 0.19.0 → 0.20.99 http://dl.bintray.com/content/imotov/elasticsearch-plugins/elasticsearch-analysis-morphology-1.0.0.zip

Installation

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. For examples to install version 1.2.0 run

bin/plugin -install analysis-morphology -url http://dl.bintray.com/content/imotov/elasticsearch-plugins/org/elasticsearch/elasticsearch-analysis-morphology/1.2.0/elasticsearch-analysis-morphology-1.2.0.zip

Upgrade to 1.2.0

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.