Coder
Coder

Reputation: 317

unable to install elasticsearch plugin

I've downloaded elastic search plugin from

https://github.com/downloads/spinscale/elasticsearch-suggest-plugin/elasticsearch-suggest-0.0.3-0.18.6.zip

I've unzipped the folder and I know i'm supposed to put the 3 jar files in the lib/ directory (of play itself or of the application I'm creating or that of elasticsearch). but which lib/ directory shall i put it in? also, what shall i do next. i tried to understand the documentation on the website but i didn't. I'll really appreciate any help as I've been trying for 2 days to install this plugin. I'm using play 1.2.4

Upvotes: 16

Views: 27288

Answers (7)

Stalinko
Stalinko

Reputation: 3646

For ElasticSearch 7.10 in Ubuntu:

cd /usr/share/elasticsearch

sudo bin/elasticsearch-plugin install analysis-phonetic

Upvotes: 1

qais
qais

Reputation: 1868

Grab the plugin script path by using this command on Mac OS

brew info elasticsearch

enter image description here

Then, use the plugin script path to install:

/usr/local/Cellar/elasticsearch/2.3.3/libexec/bin/plugin install some/es-plugin

Upvotes: 9

Fábio Batista
Fábio Batista

Reputation: 173

Using current homebrew installation (March 2016 -- 2.2.0_1 version) resulted in the plugin executable not being linked, therefore i had to do:

$ ~HOMEBREW_ROOT/Cellar/elasticsearch/2.2.0_1/libexec/bin/plugin install mobz/elasticsearch-head

Upvotes: 10

marcostvz
marcostvz

Reputation: 1308

In one line:

sudo /usr/share/elasticsearch/bin/plugin -install mobz/elasticsearch-head

Upvotes: 3

lenybernard
lenybernard

Reputation: 2448

MAC OS - with brew elasticsearch base install

Install the elasticsearch package with brew :

brew install elasticsearch

Install the elasticsearch_head plugin to get a simple browser :

cd /usr/local/Cellar/elasticsearch/1.4.0/
sudo bin/plugin -install mobz/elasticsearch-head
open "http://127.0.0.1:9200/_plugin/head/"

enter image description here

Upvotes: 9

kiruba
kiruba

Reputation: 336

Download elastic search deb file from this link elastic search

and once installed then check elastic search status like sudo service elasticsearch status To view elastic search index in GUI, run this command from your /usr/share directory

sudo elasticsearch/bin/plugin -install mobz/elasticsearch-head

open "http://localhost:9200/_plugin/head/"

Upvotes: 8

drewr
drewr

Reputation: 1786

Try the builtin bin/plugin utility:

% bin/plugin -url https://github.com/downloads/spinscale/elasticsearch-suggest-plugin/elasticsearch-suggest-0.0.3-0.18.6.zip -install elasticsearch-suggest
-> Installing elasticsearch-suggest...
Trying https://github.com/downloads/spinscale/elasticsearch-suggest-plugin/elasticsearch-suggest-0.0.3-0.18.6.zip...
Downloading ..............................................................................DONE
Installed elasticsearch-suggest
% find plugins/elasticsearch-suggest
plugins/elasticsearch-suggest
plugins/elasticsearch-suggest/elasticsearch-suggest-0.0.3.jar
plugins/elasticsearch-suggest/lucene-misc-3.5.0.jar
plugins/elasticsearch-suggest/lucene-spellchecker-3.5.0.jar
%

Upvotes: 3

Related Questions