Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework plugins doc and add the mapper-size plugin #7646

Merged
merged 31 commits into from
Jul 29, 2024

Conversation

cwperks
Copy link
Member

@cwperks cwperks commented Jul 8, 2024

Description

While working on a separate issue in the security plugin, I noticed that the documentation website did not have documentation about the plugins that are built into opensearch-core. This PR adds a separate page about built-in plugins and adds a page specifically about the mapper-size plugin.

Version

all

Checklist

  • By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
    For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@hdhalter
Copy link
Contributor

hdhalter commented Jul 8, 2024

Hey @cwperks - we already have these two sections with some cross-over: https://opensearch.org/docs/latest/install-and-configure/plugins/#bundled-plugins and https://opensearch.org/docs/latest/install-and-configure/plugins/#additional-plugins. Were you not able to find this?

@cwperks
Copy link
Member Author

cwperks commented Jul 9, 2024

@hdhalter I found the section on additional plugins, but there isn't detailed information about each of the additional plugins. This PR takes the section on additional plugins and separates it into a new menu called "Built-in plugins" and then expands upon the mapper-size plugin to describe how to use it.

Signed-off-by: Craig Perkins <[email protected]>
@hdhalter hdhalter added the 4 - Doc review PR: Doc review in progress label Jul 10, 2024
@hdhalter
Copy link
Contributor

@hdhalter I found the section on additional plugins, but there isn't detailed information about each of the additional plugins. This PR takes the section on additional plugins and separates it into a new menu called "Built-in plugins" and then expands upon the mapper-size plugin to describe how to use it.

Can we remove the existing sections and consolidate them?

@hdhalter
Copy link
Contributor

Hi @cwperks , if you want to create a new topic for these plugins, we need to delete the table from this section, otherwise it will be redundant info.

I also think we need to differentiate between "bundled" plugins and "built-in" plugins, because they sound like the same thing. It says that the "built-in" plugins need to be installed on top of OpenSearch, so that implies that they are not built-in. How about we keep the topic "Installing plugins" (but actually give a procedure on how to do it), and have separate topics for "bundled" plugins and "custom" plugins?

The mapper-size plugin topic seems a bit out of place there, as we have other custom plugins that are described in our help. Thoughts?

Can you also check the version of documentation you are running against? Looks like 2.12.
Thanks!

@hdhalter hdhalter assigned hdhalter and unassigned Naarcha-AWS Jul 18, 2024
@hdhalter hdhalter added 2 - In progress Issue/PR: The issue or PR is in progress. backport 2.15 and removed 4 - Doc review PR: Doc review in progress labels Jul 18, 2024
Signed-off-by: Craig Perkins <[email protected]>
@cwperks
Copy link
Member Author

cwperks commented Jul 24, 2024

@hdhalter I pushed a PR to remove the table and link directly to a page on Additional plugins where Built-in plugins are a subsection. I was thinking that additional plugins could be split into 2 categories: built-in plugins that are included with OpenSearch vs. community plugins where a zip file is needed for installation.

These built-in plugins are applicable to all versions of opensearch. Query insights is an exception, but that has since been removed from core and is now similar to other plugins included in the default distribution.

@cwperks
Copy link
Member Author

cwperks commented Jul 24, 2024

Can you also check the version of documentation you are running against? Looks like 2.12.

This is applicable to all versions of OpenSearch

cwperks and others added 5 commits July 24, 2024 15:55
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
@hdhalter hdhalter added the 3 - Tech review PR: Tech review in progress label Jul 26, 2024
@cwperks
Copy link
Member Author

cwperks commented Jul 26, 2024

@hdhalter Thanks for pushing changes to this PR! The changes LGTM 🚢

@hdhalter hdhalter added 4 - Doc review PR: Doc review in progress and removed 3 - Tech review PR: Tech review in progress labels Jul 26, 2024
Copy link
Collaborator

@Naarcha-AWS Naarcha-AWS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. However, would it make sense to make a single "Plugins" section with the following architecture:

  • Plugins (Index page)
    • Installing plugins
    • Additional plugins

_install-and-configure/additional-plugins/index.md Outdated Show resolved Hide resolved
_install-and-configure/plugins.md Outdated Show resolved Hide resolved
hdhalter and others added 2 commits July 26, 2024 15:47
Co-authored-by: Naarcha-AWS <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
Co-authored-by: Naarcha-AWS <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
@hdhalter
Copy link
Contributor

@Naarcha-AWS - Since the section is currently under "Installation and Upgrade", I think it makes sense to keep the topic "Installing plugins" (task-based) as the first topic users see. The two other topics are more for reference. But let me know if you have a different idea.

@hdhalter hdhalter added 5 - Editorial review PR: Editorial review in progress and removed 4 - Doc review PR: Doc review in progress labels Jul 26, 2024
Copy link
Collaborator

@natebower natebower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cwperks Please see my comments and changes and let me know if you have any questions. Thanks!

_install-and-configure/additional-plugins/index.md Outdated Show resolved Hide resolved
_install-and-configure/additional-plugins/index.md Outdated Show resolved Hide resolved
_install-and-configure/plugins.md Outdated Show resolved Hide resolved
_install-and-configure/plugins.md Outdated Show resolved Hide resolved

## 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:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can the plugin do this, or does the user do this? If the latter, please rephrase accordingly.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plugin developers specify compatibility.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cwperks I like it!

```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:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can the plugin do this, or does the user do this? If the latter, please rephrase accordingly.

_install-and-configure/plugins.md Outdated Show resolved Hide resolved
_install-and-configure/plugins.md Outdated Show resolved Hide resolved
hdhalter and others added 9 commits July 29, 2024 08:28
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
Copy link
Contributor

@hdhalter hdhalter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review, @natebower! @cwperks - can you please confirm my updates?

_install-and-configure/plugins.md Outdated Show resolved Hide resolved
_install-and-configure/plugins.md Outdated Show resolved Hide resolved
cwperks and others added 2 commits July 29, 2024 12:06
Co-authored-by: Heather Halter <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Co-authored-by: Heather Halter <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
@hdhalter hdhalter added 3 - Done Issue is done/complete and removed 5 - Editorial review PR: Editorial review in progress labels Jul 29, 2024
@hdhalter hdhalter merged commit e7b36f7 into opensearch-project:main Jul 29, 2024
8 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 29, 2024
* Add documentation about the mapper-size plugin

Signed-off-by: Craig Perkins <[email protected]>

* Fix link checker

Signed-off-by: Craig Perkins <[email protected]>

* Apply feedback

Signed-off-by: Craig Perkins <[email protected]>

* Fix links

Signed-off-by: Craig Perkins <[email protected]>

* Respond to feedback

Signed-off-by: Craig Perkins <[email protected]>

* fix-nav-pane

Signed-off-by: Heather Halter <[email protected]>

* fixed-parent

Signed-off-by: Heather Halter <[email protected]>

* additional-formatting-changes

Signed-off-by: Heather Halter <[email protected]>

* moretweaks

Signed-off-by: Heather Halter <[email protected]>

* more tweaks

Signed-off-by: Heather Halter <[email protected]>

* reworded the intros and added collapsible blocks

Signed-off-by: Heather Halter <[email protected]>

* small tweak

Signed-off-by: Heather Halter <[email protected]>

* more tweaks to wording

Signed-off-by: Heather Halter <[email protected]>

* Update installation message text

Signed-off-by: Craig Perkins <[email protected]>

* Update _install-and-configure/additional-plugins/index.md

Co-authored-by: Heather Halter <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>

* Mention more core functionality

Signed-off-by: Craig Perkins <[email protected]>

* final changes

Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: Naarcha-AWS <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/additional-plugins/index.md

Co-authored-by: Naarcha-AWS <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/additional-plugins/index.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/additional-plugins/index.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/additional-plugins/mapper-size-plugin.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/additional-plugins/mapper-size-plugin.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: Heather Halter <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: Heather Halter <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>

---------

Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
Co-authored-by: Heather Halter <[email protected]>
Co-authored-by: Naarcha-AWS <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
(cherry picked from commit e7b36f7)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
mingshl pushed a commit to mingshl/documentation-website that referenced this pull request Aug 2, 2024
…#7646)

* Add documentation about the mapper-size plugin

Signed-off-by: Craig Perkins <[email protected]>

* Fix link checker

Signed-off-by: Craig Perkins <[email protected]>

* Apply feedback

Signed-off-by: Craig Perkins <[email protected]>

* Fix links

Signed-off-by: Craig Perkins <[email protected]>

* Respond to feedback

Signed-off-by: Craig Perkins <[email protected]>

* fix-nav-pane

Signed-off-by: Heather Halter <[email protected]>

* fixed-parent

Signed-off-by: Heather Halter <[email protected]>

* additional-formatting-changes

Signed-off-by: Heather Halter <[email protected]>

* moretweaks

Signed-off-by: Heather Halter <[email protected]>

* more tweaks

Signed-off-by: Heather Halter <[email protected]>

* reworded the intros and added collapsible blocks

Signed-off-by: Heather Halter <[email protected]>

* small tweak

Signed-off-by: Heather Halter <[email protected]>

* more tweaks to wording

Signed-off-by: Heather Halter <[email protected]>

* Update installation message text

Signed-off-by: Craig Perkins <[email protected]>

* Update _install-and-configure/additional-plugins/index.md

Co-authored-by: Heather Halter <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>

* Mention more core functionality

Signed-off-by: Craig Perkins <[email protected]>

* final changes

Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: Naarcha-AWS <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/additional-plugins/index.md

Co-authored-by: Naarcha-AWS <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/additional-plugins/index.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/additional-plugins/index.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/additional-plugins/mapper-size-plugin.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/additional-plugins/mapper-size-plugin.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: Heather Halter <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>

* Update _install-and-configure/plugins.md

Co-authored-by: Heather Halter <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>

---------

Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
Co-authored-by: Heather Halter <[email protected]>
Co-authored-by: Naarcha-AWS <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Done Issue is done/complete backport 2.15
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants