From 5f85349080eb1ac717c05f5ded0bc3d021cf6a4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BCscher?= Date: Mon, 24 Aug 2015 15:39:17 +0200 Subject: [PATCH 1/2] Minor fix in plugin install CLI help --- .../org/elasticsearch/plugins/plugin-install.help | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/core/src/main/resources/org/elasticsearch/plugins/plugin-install.help b/core/src/main/resources/org/elasticsearch/plugins/plugin-install.help index 73757794508..7e60613b2ad 100644 --- a/core/src/main/resources/org/elasticsearch/plugins/plugin-install.help +++ b/core/src/main/resources/org/elasticsearch/plugins/plugin-install.help @@ -12,21 +12,19 @@ DESCRIPTION The argument can be a of one of the official plugins, or refer to a github repository - The notation of just specifying a plugin name, downloads an officially supported plugin. - - The notation of 'elasticsearch/plugin/version' allows to easily download a commercial elastic plugin. + The notation of just specifying a plugin name downloads an officially supported or commercial plugin The notation of 'groupId/artifactId/version' refers to community plugins using maven central or sonatype - The notation of 'username/repository' refers to a github repository. + The notation of 'username/repository' refers to a github repository - The argument can be an valid which points to a download or file location for the plugin to be loaded from. + The argument can also be a valid which points to a download or file location for the plugin to be loaded from EXAMPLES plugin install analysis-kuromoji - plugin install elasticsearch/shield/latest + plugin install shield plugin install lmenezes/elasticsearch-kopf From 888989b3f3ced762ab4c24f22f930f13b1637d80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BCscher?= Date: Mon, 24 Aug 2015 17:56:59 +0200 Subject: [PATCH 2/2] Changed help text --- .../elasticsearch/plugins/plugin-install.help | 27 +++++++++---------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/core/src/main/resources/org/elasticsearch/plugins/plugin-install.help b/core/src/main/resources/org/elasticsearch/plugins/plugin-install.help index 7e60613b2ad..6bce1dd6f5b 100644 --- a/core/src/main/resources/org/elasticsearch/plugins/plugin-install.help +++ b/core/src/main/resources/org/elasticsearch/plugins/plugin-install.help @@ -8,29 +8,26 @@ SYNOPSIS DESCRIPTION - This command installs an elasticsearch plugin + This command installs an elasticsearch plugin. It can be used as follows: - The argument can be a of one of the official plugins, or refer to a github repository + Officially supported or commercial plugins require just the plugin name: - The notation of just specifying a plugin name downloads an officially supported or commercial plugin + plugin install analysis-icu + plugin install shield - The notation of 'groupId/artifactId/version' refers to community plugins using maven central or sonatype + Plugins from GitHub require 'username/repository' or 'username/repository/version': - The notation of 'username/repository' refers to a github repository + plugin install lmenezes/elasticsearch-kopf + plugin install lmenezes/elasticsearch-kopf/1.5.7 - The argument can also be a valid which points to a download or file location for the plugin to be loaded from + Plugins from Maven Central or Sonatype require 'groupId/artifactId/version': -EXAMPLES + plugin install org.elasticsearch/elasticsearch-mapper-attachments/2.6.0 - plugin install analysis-kuromoji + Plugins can be installed from a custom URL or file location as follows: - plugin install shield - - plugin install lmenezes/elasticsearch-kopf - - plugin install http://download.elasticsearch.org/elasticsearch/elasticsearch-analysis-kuromoji/elasticsearch-analysis-kuromoji-2.7.0.zip - - plugin install file:/path/to/plugin/elasticsearch-analysis-kuromoji-2.7.0.zip + plugin install http://some.domain.name//my-plugin-1.0.0.zip + plugin install file:/path/to/my-plugin-1.0.0.zip OFFICIAL PLUGINS