官术网_书友最值得收藏!

Installing a plugin manually

Sometimes your plugin is not available online or the standard installation fails, so you need to install your plugin manually.

Getting ready

You need an installed ElasticSearch server.

How to do it...

We assume that your plugin is named awesome and it's packed in a file called awesome.zip.

The steps required to execute a manually installed plugin are:

  1. Copy your zip file in the plugins directory in your ElasticSearch home installation.
  2. If the directory, named plugins, doesn't exist, create it.
  3. Unzip the contents of the plugin in the plugins directory.
  4. Remove the zip archive to clean up unused files.

How it works...

Every ElasticSearch plugin is contained in a directory (usually named as the plugin name).

If the plugin is a site one, the plugin should contain a directory called _site, which contains the static files that must be served by the server. If the plugin is a binary one, the plugin directory should be filled with one or more jar files.

When ElasticSearch starts, it scans the plugins directory and loads them. If a plugin is corrupted or broken, the server doesn't start.

主站蜘蛛池模板: 安远县| 五华县| 遂溪县| 安福县| 凤庆县| 原平市| 寿光市| 九龙坡区| 玉门市| 乐山市| 盐山县| 施秉县| 临汾市| 横峰县| 望江县| 托克托县| 青州市| 黔东| 太湖县| 天门市| 仁寿县| 靖边县| 荔浦县| 苗栗县| 余庆县| 天全县| 和顺县| 宝鸡市| 莱州市| 宁晋县| 东安县| 宣武区| 恩施市| 镇原县| 安阳县| 秦皇岛市| 房产| 安化县| 赫章县| 正镶白旗| 新田县|