Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 827
Coder Avatar asked Apr 20 '12 17:04

Coder


3 Answers

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

like image 100
Fábio Batista Avatar answered Oct 05 '22 17:10

Fábio Batista


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

like image 26
lenybernard Avatar answered Oct 05 '22 19:10

lenybernard


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

like image 20
qais Avatar answered Oct 05 '22 17:10

qais