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

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.

主站蜘蛛池模板: 永寿县| 凌海市| 沈阳市| 海阳市| 宁晋县| 安溪县| 金坛市| 固镇县| 太康县| 驻马店市| 方山县| 巴彦淖尔市| 革吉县| 枣阳市| 彰武县| 合川市| 偃师市| 翁源县| 松桃| 叙永县| 静宁县| 大足县| 江陵县| 彭阳县| 乐陵市| 南皮县| 台中县| 屯门区| 宣汉县| 乌鲁木齐市| 策勒县| 寻乌县| 神农架林区| 尉氏县| 张家川| 汽车| 和静县| 通辽市| 茂名市| 历史| 衡阳县|