Skip to content

Commit

Permalink
Update plugins.md with semver range support specification (#6733)
Browse files Browse the repository at this point in the history
* Update plugins.md with semver range support specification

Add support for specifying 'dependencies' for a plugin in its plugin-descriptor.properties file. This property allows for specification of a range of OpenSearch versions for plugin compatibility check.

Signed-off-by: abseth-amzn <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: abseth-amzn <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: abseth-amzn <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: abseth-amzn <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: abseth-amzn <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: abseth-amzn <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: abseth-amzn <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: abseth-amzn <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: abseth-amzn <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: abseth-amzn <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: abseth-amzn <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: abseth-amzn <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: abseth-amzn <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: abseth-amzn <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: abseth-amzn <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: abseth-amzn <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: abseth-amzn <[email protected]>

---------

Signed-off-by: abseth-amzn <[email protected]>
Co-authored-by: abseth-amzn <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
  • Loading branch information
3 people authored Mar 21, 2024
1 parent 1fb9066 commit d261cf1
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions _install-and-configure/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,23 @@ bin/opensearch-plugin install --batch <plugin-name>

## Available plugins

Major, minor, and patch plugin versions must match OpenSearch major, minor, and patch versions in order to be compatible. For example, plugins versions 2.3.0.x work only with OpenSearch 2.3.0.
{: .warning}
OpenSearch provides several bundled and additional plugins.

### Plugin compatibility

A plugin can explicitly specify compatibility with a specific OpenSearch version by listing that version in its `plugin-descriptor.properties` file. For example, a plugin with the following property is compatible only with OpenSearch 2.3.0:

```properties
opensearch.version=2.3.0
```
Alternatively, a plugin can specify a range of compatible OpenSearch versions by setting the `dependencies` property in its `plugin-descriptor.properties` file using one of the following notations:
- `dependencies={ opensearch: "2.3.0" }`: The plugin is compatible only with OpenSearch version 2.3.0.
- `dependencies={ opensearch: "=2.3.0" }`: The plugin is compatible only with OpenSearch version 2.3.0.
- `dependencies={ opensearch: "~2.3.0" }`: The plugin is compatible with all versions starting from 2.3.0 up to the next minor version, in this example, 2.4.0 (exclusive).
- `dependencies={ opensearch: "^2.3.0" }`: The plugin is compatible with all versions starting from 2.3.0 up to the next major version, in this example, 3.0.0 (exclusive).

You can specify only one of the `opensearch.version` or `dependencies` properties.
{: .note}

### Bundled plugins

Expand Down

0 comments on commit d261cf1

Please sign in to comment.