monterail / elasticsearch-analysis-morfologik

Morfologik (Polish) Analysis Plugin for ElasticSearch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plugin installation doesn't work with ElasticSearch 0.20.5

pgaertig opened this issue · comments

This is output of installation attempt with ElasticSearch 0.20.5:

$ bin/plugin -install chytreg/elasticsearch-analysis-morfologik/1.0.0 -verbose
-> Installing chytreg/elasticsearch-analysis-morfologik/1.0.0...
Trying http://download.elasticsearch.org/chytreg/elasticsearch-analysis-morfologik/elasticsearch-analysis-morfologik-1.0.0.zip...
Failed: IOException[Can't get http://download.elasticsearch.org/chytreg/elasticsearch-analysis-morfologik/elasticsearch-analysis-morfologik-1.0.0.zip to /home/pg/bundle/elasticsearch-0.20.5/plugins/analysis-morfologik.zip]; nested: FileNotFoundException[http://download.elasticsearch.org/chytreg/elasticsearch-analysis-morfologik/elasticsearch-analysis-morfologik-1.0.0.zip]; nested: FileNotFoundException[http://download.elasticsearch.org/chytreg/elasticsearch-analysis-morfologik/elasticsearch-analysis-morfologik-1.0.0.zip]; 
Trying http://search.maven.org/remotecontent?filepath=chytreg/elasticsearch-analysis-morfologik/1.0.0/elasticsearch-analysis-morfologik-1.0.0.zip...
Failed: IOException[Can't get http://search.maven.org/remotecontent?filepath=chytreg/elasticsearch-analysis-morfologik/1.0.0/elasticsearch-analysis-morfologik-1.0.0.zip to 
/home/pg/bundle/elasticsearch-0.20.5/plugins/analysis-morfologik.zip]; nested: FileNotFoundException[http://search.maven.org/remotecontent?filepath=chytreg/elasticsearch-analysis-morfologik/1.0.0/elasticsearch-analysis-morfologik-1.0.0.zip]; nested: FileNotFoundException[http://search.maven.org/remotecontent?filepath=chytreg/elasticsearch-analysis-morfologik/1.0.0/elasticsearch-analysis-morfologik-1.0.0.zip]; 
Trying https://oss.sonatype.org/service/local/repositories/releases/content/chytreg/elasticsearch-analysis-morfologik/1.0.0/elasticsearch-analysis-morfologik-1.0.0.zip...
Failed: IOException[Can't get https://oss.sonatype.org/service/local/repositories/releases/content/chytreg/elasticsearch-analysis-morfologik/1.0.0/elasticsearch-analysis-morfologik-1.0.0.zip to /home/pg/bundle/elasticsearch-0.20.5/plugins/analysis-morfologik.zip]; nested: FileNotFoundException[https://oss.sonatype.org/service/local/repositories/releases/content/chytreg/elasticsearch-analysis-morfologik/1.0.0/elasticsearch-analysis-morfologik-1.0.0.zip]; nested: FileNotFoundException[https://oss.sonatype.org/service/local/repositories/releases/content/chytreg/elasticsearch-analysis-morfologik/1.0.0/elasticsearch-analysis-morfologik-1.0.0.zip]; 
Trying https://github.com/chytreg/elasticsearch-analysis-morfologik/zipball/v1.0.0... (assuming site plugin)
Failed: IOException[Can't get https://github.com/chytreg/elasticsearch-analysis-morfologik/zipball/v1.0.0 to /home/pg/bundle/elasticsearch-0.20.5/plugins/analysis-morfologik.zip]; nested: FileNotFoundException[https://nodeload.github.com/chytreg/elasticsearch-analysis-morfologik/legacy.zip/v1.0.0]; nested: FileNotFoundException[https://nodeload.github.com/chytreg/elasticsearch-analysis-morfologik/legacy.zip/v1.0.0]; 
Failed to install chytreg/elasticsearch-analysis-morfologik/1.0.0, reason: failed to download out of all possible locations..., use -verbose to get detailed information

I've also tried without 1.0.0 branch and here is the result of using master:

$ bin/plugin -install chytreg/elasticsearch-analysis-morfologik
-> Installing chytreg/elasticsearch-analysis-morfologik...
Trying https://github.com/chytreg/elasticsearch-analysis-morfologik/zipball/master... (assuming site plugin)
Downloading .......DONE
Plugin installation assumed to be site plugin, but contains source code, aborting installation...

Thx, I will look in to it
ES change the policy of plugin installation since: https://github.com/blog/1302-goodbye-uploads

You can clone the source code and build it with maven command

mvn install

or download build from my dropbox https://dl.dropbox.com/u/3522205/elasticsearch-analysis-morfologik-1.0.0.zip
and install it from ES directory as below:

bin/plugin -url file:///path_to_zip_file/elasticsearch-analysis-morfologik-1.0.0.zip install elasticsearch-analysis-morfologik

I will fix the issue in near feature.

Some more details about the installation issue elastic/elasticsearch#2507

Thanks for prompt response. Using Sonatype repo or downloads.elasticsearch.org seems to be easiest option.

My colleague said the same about Sonatype. I will put the package as soon as possible.