Because my Elasticsearch server is behind a proxy, I can't directly install plugins using the command under bin.
So I tried uncompressing some of them in the plugins directory, with no luck.
Specifically I tried this https://github.com/jprante/elasticsearch-knapsack and I can't get it to work.
Any help?
Typically uncompressing the plugin file into plugins directory should work as long as file access rights are not messed up. To verify that plugin is installed correctly check that elasticsearch home directory contains directory called plugins/knapsack
and that this directory contains two files: commons-compress-1.4.1.jar
and elasticsearch-knapsack-2.1.2.jar
You can also download plugin zip file to a temporary location and then install it by specifying path to it using --url
parameter:
bin/plugin --install knapsack --url file:///Full/Path/To/elasticsearch-knapsack-2.1.2.zip
See Plugins documentation for more information.