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

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.

主站蜘蛛池模板: 嘉兴市| 闽侯县| 亳州市| 游戏| 南乐县| 德格县| 雅江县| 察雅县| 澄城县| 育儿| 拜泉县| 勐海县| 郎溪县| 泉州市| 健康| 康定县| 开封市| 鄱阳县| 龙游县| 乐平市| 枝江市| 蒲江县| 体育| 晋江市| 白水县| 贵溪市| 县级市| 清水河县| 营山县| 麻栗坡县| 万全县| 无极县| 当涂县| 白河县| 玉溪市| 乐亭县| 来安县| 怀仁县| 三亚市| 哈巴河县| 兴仁县|