jprante / elasticsearch-analysis-decompound

Decompounding Plugin for Elasticsearch
GNU General Public License v2.0
87 stars 38 forks source link

Elasticsearch 2.3.4 is not supported #40

Open spider-network opened 8 years ago

spider-network commented 8 years ago
Plugin [decompound] is incompatible with Elasticsearch [2.3.4]. Was designed for version [2.3.3]
mablae commented 8 years ago

A plugin system that need a re-release of plugins every version is a not, what a plugin system was made for. :smile:

jprante commented 8 years ago

Plugin version 2.3.4.0 for Elasticsearch 2.3.4 just released.

fdv commented 8 years ago

Except the download link is broken 👎

jprante commented 8 years ago

Sorry for the inconvenience, now I pushed the binary plugin zip.

nchachereau commented 8 years ago

Wanted to try this plugin out, but there is the same problem with 2.3.5 :sweat_smile:

nchachereau commented 7 years ago

In case anyone else needs this plugin for a specific version of Elasticsearch: it is actually quite easy to compile.

Here is what I did on Ubuntu 16.04 (adapt to your own case).

  1. ensure you have the JDK : sudo apt-get install openjdk-8-jdk
  2. ensure you have the right Java selected (you need Java 8): sudo update-alternatives --config java
  3. clone git clone https://github.com/jprante/elasticsearch-analysis-decompound.git
  4. edit version number cd elasticsearch-analysis-decompound git checkout <branch that is close to your version, e.g. 2.4.1.0> and edit build.gradle (indicate the right version for elasticsearch)
  5. compile ./gradlew assemble

The zip is in build/distributions/elasticsearch-analysis-decompound--plugin.zip. Install and restart the node, in my case:

cd /usr/share/elasticsearch
bin/plugin install file:///path/to/elasticsearch-analysis-decompound/build/distributions/elasticsearch-analysis-decompound-2.4.4.0-plugin.zip
sudo service elasticsearch restart