-
Notifications
You must be signed in to change notification settings - Fork 507
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
Conversation
Signed-off-by: Craig Perkins <[email protected]>
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? |
@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]>
Can we remove the existing sections and consolidate them? |
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. |
Signed-off-by: Craig Perkins <[email protected]>
@hdhalter I pushed a PR to remove the table and link directly to a page on 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. |
This is applicable to all versions of OpenSearch |
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 Thanks for pushing changes to this PR! The changes LGTM 🚢 |
There was a problem hiding this 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
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]>
@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. |
There was a problem hiding this 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/mapper-size-plugin.md
Outdated
Show resolved
Hide resolved
_install-and-configure/additional-plugins/mapper-size-plugin.md
Outdated
Show resolved
Hide resolved
_install-and-configure/plugins.md
Outdated
|
||
## 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: |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plugin developers specify compatibility.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cwperks I like it!
_install-and-configure/plugins.md
Outdated
```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: |
There was a problem hiding this comment.
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.
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]>
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]>
There was a problem hiding this 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?
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]>
* 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>
…#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]>
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
For more information on following Developer Certificate of Origin and signing off your commits, please check here.