* Fix ambiguity with settings for search_backpressure
This page is lacking in clearly stating how to enable/configure search_backpressure. While it may be domain knowledge that cluster settings always use `_cluster/settings`, many people that administrate or use OpenSearch are not full time OpenSearch admins and this info is very easy to document.
Signed-off-by: Drew Miranda <107503402+drewmiranda-gl@users.noreply.github.com>
* Update _tuning-your-cluster/availability-and-recovery/search-backpressure.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Drew Miranda <107503402+drewmiranda-gl@users.noreply.github.com>
* Update _tuning-your-cluster/availability-and-recovery/search-backpressure.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Drew Miranda <107503402+drewmiranda-gl@users.noreply.github.com>
* Update _tuning-your-cluster/availability-and-recovery/search-backpressure.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Drew Miranda <107503402+drewmiranda-gl@users.noreply.github.com>
* Update _tuning-your-cluster/availability-and-recovery/search-backpressure.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Drew Miranda <107503402+drewmiranda-gl@users.noreply.github.com>
* Update _tuning-your-cluster/availability-and-recovery/search-backpressure.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Drew Miranda <107503402+drewmiranda-gl@users.noreply.github.com>
* Update _tuning-your-cluster/availability-and-recovery/search-backpressure.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Drew Miranda <107503402+drewmiranda-gl@users.noreply.github.com>
* Update _tuning-your-cluster/availability-and-recovery/search-backpressure.md
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
* Update search-backpressure.md
fix formatting
Signed-off-by: Drew Miranda <107503402+drewmiranda-gl@users.noreply.github.com>
---------
Signed-off-by: Drew Miranda <107503402+drewmiranda-gl@users.noreply.github.com>
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
The documentation of copy-values has a mistake, the property overwrite_if_to_key_exists used on example is different from the property in the table.
In the source code the correct value is `overwrite_if_to_key_exists`
Signed-off-by: charlesardsilva <charlesardsilva@gmail.com>
checked against the detail page on installation
Signed-off-by: Stavros Macrakis <134456002+smacrakis@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Add documentation for Search Workflow State API
Signed-off-by: Daniel Widdis <widdis@gmail.com>
* Improve wording per review suggestions
Signed-off-by: Daniel Widdis <widdis@gmail.com>
* Match indendation on example queries
Signed-off-by: Daniel Widdis <widdis@gmail.com>
---------
Signed-off-by: Daniel Widdis <widdis@gmail.com>
* Update search.md
Add `aggs` as an acceptable field in the search API
Signed-off-by: Jack Lee <38123458+jackhclee@users.noreply.github.com>
* Update _api-reference/search.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Jack Lee <38123458+jackhclee@users.noreply.github.com>
---------
Signed-off-by: Jack Lee <38123458+jackhclee@users.noreply.github.com>
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
the mapping actually *defines* the field types, it doesn't just "correspond to" them.
Signed-off-by: Stavros Macrakis <134456002+smacrakis@users.noreply.github.com>
* Add warning related to ad and concurrent segment search
Signed-off-by: Jay Deng <jayd0104@gmail.com>
* Update _search-plugins/concurrent-segment-search.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Jay Deng <jayd0104@gmail.com>
* Update _search-plugins/concurrent-segment-search.md
Co-authored-by: Nathan Bower <nbower@amazon.com>
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
---------
Signed-off-by: Jay Deng <jayd0104@gmail.com>
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Co-authored-by: Nathan Bower <nbower@amazon.com>
Improve the documentation for Analyzers (some terminology was
not correct) also fix some broken links along the way.
Note: this commit is a spin-off of #6252
Signed-off-by: Lukáš Vlček <lukas.vlcek@aiven.io>
This avoids confusion about how OpenSearch is planning to move forward.
Signed-off-by: Manuel Müller <31097173+ManuelMueller1st@users.noreply.github.com>
* Add anomaly detection use case for Data Prepper
---------
Signed-off-by: Melissa Vagi <vagimeli@amazon.com>
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Update exchange_key description to use different HMAC setting
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Update _security/authentication-backends/saml.md
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Update saml.md
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Update saml.md
Update to the exchange key description to give more of an instruction to the user on what to enter there.
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Update _security/authentication-backends/saml.md
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
---------
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Document new experimental HTTP transport based on Netty 4 and Project Reactor
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
* Address code review comments
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
* Address code review comments
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
---------
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Co-authored-by: Melissa Vagi <vagimeli@amazon.com>
* Close content gap with new documentation for OpenSearch dissect processor
---------
Signed-off-by: Melissa Vagi <vagimeli@amazon.com>
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Document how to configure XContent max field length and max depth constraints
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
* Address code review comments
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
* Address code review comments
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
* Address code review comments
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
---------
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
* Add log enrichment use case to Data Prepper
---------
Signed-off-by: Melissa Vagi <vagimeli@amazon.com>
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Add version to the OpenSearch documentation section
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* List only major and minor version of documentation
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
---------
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Collections with no pages under the main page should not have an expander
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Update left navigation layout
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Add media query for back link
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
---------
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Point all non-versioned documentation to latest and add permalinks
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Fix links
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Add a permalink to the main page
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
---------
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Add an example for restoring a searchable snapshot
Signed-off-by: Anas Alkouz <aalkouz@amazon.com>
* Update the restore snapshot example with indices setting and add a reference to the snapshot restore api
Signed-off-by: Anas Alkouz <aalkouz@amazon.com>
* Tiny changes to description wording
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Signed-off-by: Anas Alkouz <aalkouz@amazon.com>
---------
Signed-off-by: Anas Alkouz <aalkouz@amazon.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Add mention of `knn_vector`
Every other category explicitly mentions the actual type name in the "Field types and description" column except "k-NN vector" category that was missing the actual type name `knn_vector`
Signed-off-by: Ruben Laguna <ruben.laguna@gmail.com>
* Update _field-types/supported-field-types/index.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Ruben Laguna <ruben.laguna@gmail.com>
---------
Signed-off-by: Ruben Laguna <ruben.laguna@gmail.com>
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
* Add sections for removing Dashboards Security plugin in other installation types
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Update _security/configuration/disable.md
Co-authored-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com>
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Update _security/configuration/disable.md
Co-authored-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com>
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Update disable.md
Making the changes suggested by reviewer to move the paragraph relating to Dashboards removal down to the Remove OpenSearch Dashboards plugin section.
Also, changing the headings within that section from 'Binary' to 'Tarball', and from 'Service' to 'RPM and Debian' to reflect the wording used for those types in the OpenSearch Installation sections.
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Update _security/configuration/disable.md
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Update _security/configuration/disable.md
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Update _security/configuration/disable.md
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Update _security/configuration/disable.md
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Update _security/configuration/disable.md
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Update _security/configuration/disable.md
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Update disable.md
Clarify the location of the running OpenSearch Dashboards instance before stopping it with the Ctrl + C command.
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Update disable.md
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Update the HMAC authentication requirements of exchange_key
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Nathan Bower <nbower@amazon.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Nathan Bower <nbower@amazon.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Nathan Bower <nbower@amazon.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Nathan Bower <nbower@amazon.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Update disable.md
Quick fix on couple of typos of opensearch_dashboards.yml
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Nathan Bower <nbower@amazon.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
---------
Signed-off-by: John Heraghty <148883955+john-eliatra@users.noreply.github.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Updates navigation header background color; and a kludge to get around outdatd SCSS compilers
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Corrects site header logo link url
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
---------
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adds remote loading of header component from project site
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Integrates the redesigned header; removes the old copy-banner and search field
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Updates footer design and menu items
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Consolidates SCSS mixins and color palette
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Reduce classname verbosity slightly
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Removes redundant mobile menu button handler
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Corects spacing issue
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Corrects nav menu margins
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Corrects header logo clipping
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Updates navigation menu items
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Corrects top level navigation hover states
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adds smoother responsive margins between top navigation header menu items
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Remove deleted SCSS file
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
---------
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Remove requirement to set only run on ML node to false for remote models
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
* Add a note about external and local models integrated simultaneously
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
---------
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Including info on OpenID Additional Parameters
Signed-off-by: Sam <samuel.costa@eliatra.com>
* Update _security/authentication-backends/openid-connect.md
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Signed-off-by: Sam <128482925+samuelcostae@users.noreply.github.com>
* Update _security/authentication-backends/openid-connect.md
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Signed-off-by: Sam <128482925+samuelcostae@users.noreply.github.com>
* PR feedback changes
Signed-off-by: Sam <samuel.costa@eliatra.com>
---------
Signed-off-by: Sam <samuel.costa@eliatra.com>
Signed-off-by: Sam <128482925+samuelcostae@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Change name of normalization processor in text
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Fix link
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
---------
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Update Security Docs: Clarify Anomaly Detection Access Control
This commit updates the security documentation to clarify how `anomaly_read_access` and `anomaly_full_access` permissions impact user access to anomaly detection results. It explains that users without backend roles can still view each other's detection results with these permissions. The documentation now also emphasizes the importance of using backend role filters for more granular access control to detector results.
Signed-off-by: Kaituo Li <kaituo@amazon.com>
* Update _observing-your-data/ad/security.md
Co-authored-by: Melissa Vagi <vagimeli@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
---------
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Melissa Vagi <vagimeli@amazon.com>
The temporary pipeline has to be referenced with `search_pipeline` instead of `pipeline` in the JSON.
Otherwise, you get the error `{"error":{"root_cause":[{"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16}],"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16},"status":400}`.
Tested with Docker image `opensearchproject/opensearch:2.11.0`.
Signed-off-by: Tim Vossen <61426691+upwards-gravity@users.noreply.github.com>
* Ports over redesigned top banner header navigation, and footer
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adds style overrides for search functionality
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adds Font Awesome for menu icons
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adds style overrides and updated menu item configurations
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adds whitespace to fix SASS style rule causing Github action failure
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adds dynamic navigation submenu height determination for smooth expand/collapse transitions instead of hardcoded values potentiating effortless change management
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Removes outdated message about old version release
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Corrects padding, positioning, typography for the site footer
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adds new footer logo
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Sets footer legal copy right padding on mobile to that of the scroll-to-top button
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adds footer link styles
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adjusts page layout to fit the new container width requirements
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Fixes mobile layout with new header and footer
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Fixes mobile navigation menu errors
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adjusts padding
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Removes commented out code
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Updates top navigation menu items with latest from project site
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
---------
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
Signed-off-by: astephanus <124592019+astephanus@users.noreply.github.com>
* Fixing documentation for Wildcard in term-level queries section for Query DSL
Signed-off-by: Samuel Valdes Gutierrez <valdesgutierrez@gmail.com>
* replacing 'indices' term for 'indexes' term ONLY for description texts (not variables, links or properties)
Signed-off-by: Samuel Valdes Gutierrez <valdesgutierrez@gmail.com>
* Update creating-custom-workloads.md
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* updating changes suggested by Naarcha-AWS
Signed-off-by: Samuel Valdes Gutierrez <valdesgutierrez@gmail.com>
* updating changes suggested by Naarcha-AWS
Signed-off-by: Samuel Valdes Gutierrez <valdesgutierrez@gmail.com>
* Rename _benchmark/workloads/index.md to _benchmark/workloads/reference/index.md
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Rename _benchmark/workloads/indices.md to _benchmark/workloads/reference/indices.md
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
---------
Signed-off-by: Samuel Valdes Gutierrez <valdesgutierrez@gmail.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* updating /images/cluster.png for better understanding
Signed-off-by: Samuel Valdes Gutierrez <valdesgutierrez@gmail.com>
* updating /images/cluster.png once again with a better version
Signed-off-by: Samuel Valdes Gutierrez <valdesgutierrez@gmail.com>
---------
Signed-off-by: Samuel Valdes Gutierrez <valdesgutierrez@gmail.com>
* Update the documentation for the Logstash tar installation per the deprecation of the bundled Logstash distribution. Part of logstash-output-opensearch #208.
Signed-off-by: David Venable <dlv@amazon.com>
* Style correction
Signed-off-by: David Venable <dlv@amazon.com>
* Apply suggestions from code review
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Update index.md
---------
Signed-off-by: David Venable <dlv@amazon.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* phase_took documentation
Signed-off-by: David Zane <davizane@amazon.com>
* Update _api-reference/cluster-api/cluster-settings.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: David Z <38449481+dzane17@users.noreply.github.com>
* Update _api-reference/search.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: David Z <38449481+dzane17@users.noreply.github.com>
---------
Signed-off-by: David Zane <davizane@amazon.com>
Signed-off-by: David Z <38449481+dzane17@users.noreply.github.com>
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Setting seems deprecated. With it present clusters fails to start with message it does not recognise this setting.
Signed-off-by: Sander van de Geijn <sandervandegeijn@icloud.com>
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
* Update snapshot-restore.md
Lessons learned from connecting it to a Scality
Signed-off-by: Sander van de Geijn <sandervandegeijn@icloud.com>
* Update _tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
---------
Signed-off-by: Sander van de Geijn <sandervandegeijn@icloud.com>
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
* Update example in SigV4 documentation for OpenSearch Benchmark
Signed-off-by: Ian Hoang <hoangia@amazon.com>
* Update _benchmark/tutorials/sigv4.md
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Signed-off-by: Ian Hoang <51065478+IanHoang@users.noreply.github.com>
---------
Signed-off-by: Ian Hoang <hoangia@amazon.com>
Signed-off-by: Ian Hoang <51065478+IanHoang@users.noreply.github.com>
Co-authored-by: Ian Hoang <hoangia@amazon.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Remove generate documentation and update SigV4 documentation for OSB
Signed-off-by: Ian Hoang <hoangia@amazon.com>
* Remove generate link reference in index page
Signed-off-by: Ian Hoang <hoangia@amazon.com>
---------
Signed-off-by: Ian Hoang <hoangia@amazon.com>
Co-authored-by: Ian Hoang <hoangia@amazon.com>
This fixes the benchmark table present in the main page of remote store on opensearch documentation website.
Signed-off-by: Ashish <ashking94@gmail.com>
* Use the term hybrid search in the semantic tutorial
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Fix link
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
---------
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Adding ML Node to cluster settings page
Signed-off-by: David Tippett <17506770+dtaivpp@users.noreply.github.com>
* Removed Permissions and Cluster Settings from index; added roles to model access control
Signed-off-by: David Tippett <17506770+dtaivpp@users.noreply.github.com>
* Referenced code sample was for local connector not external
Signed-off-by: David Tippett <17506770+dtaivpp@users.noreply.github.com>
* Updated ML index page to refrence the order to get started with ML Commons.
Signed-off-by: David Tippett <17506770+dtaivpp@users.noreply.github.com>
* Fixing style errors.
Signed-off-by: David Tippett <17506770+dtaivpp@users.noreply.github.com>
* Update _ml-commons-plugin/cluster-settings.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: David Tippett <Dtaivpp@gmail.com>
* Update _ml-commons-plugin/index.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: David Tippett <Dtaivpp@gmail.com>
* Update _ml-commons-plugin/index.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: David Tippett <Dtaivpp@gmail.com>
* Update _ml-commons-plugin/index.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: David Tippett <Dtaivpp@gmail.com>
* Update _ml-commons-plugin/index.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Signed-off-by: David Tippett <Dtaivpp@gmail.com>
* Update _ml-commons-plugin/extensibility/connectors.md
Co-authored-by: Nathan Bower <nbower@amazon.com>
Signed-off-by: David Tippett <Dtaivpp@gmail.com>
* Update _ml-commons-plugin/index.md
Co-authored-by: Nathan Bower <nbower@amazon.com>
Signed-off-by: David Tippett <Dtaivpp@gmail.com>
* Update _ml-commons-plugin/index.md
Co-authored-by: Nathan Bower <nbower@amazon.com>
Signed-off-by: David Tippett <Dtaivpp@gmail.com>
---------
Signed-off-by: David Tippett <17506770+dtaivpp@users.noreply.github.com>
Signed-off-by: David Tippett <Dtaivpp@gmail.com>
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Fix time zone for range query
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Update _query-dsl/term/range.md
Co-authored-by: Chris Moore <107723039+cwillum@users.noreply.github.com>
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
* Changed link to formats
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
---------
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Co-authored-by: Chris Moore <107723039+cwillum@users.noreply.github.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* Fixes some wordings around system index permission access and usage (#4948)
* Fixes some wordings around system index permission access and usage
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
* Addresses PR feedback
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
* Addresses more PR feedback
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
---------
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* Changes the feature flag key and updates some text (#4953)
* Changes the feature flag key and updates description of a consideration
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
* Addresses source PR feedback
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
---------
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4736 system index permission
Signed-off-by: cwillum <cwmmoore@amazon.com>
---------
Signed-off-by: cwillum <cwmmoore@amazon.com>
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
Co-authored-by: Darshit Chanpura <35282393+DarshitChanpura@users.noreply.github.com>
This is a restructuring of the index codec documentation to clarify
the consequences of changing an index codec and to encourage testing
before making a change.
Signed-off-by: Andrew Ross <andrross@amazon.com>
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Updates the Data Prepper documentation for S3 sinks based on recent behavior changes.
Signed-off-by: David Venable <dlv@amazon.com>
* Updates from the PR feedback.
Signed-off-by: David Venable <dlv@amazon.com>
* Apply suggestions from code review
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
---------
Signed-off-by: David Venable <dlv@amazon.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* fix#4831 es to os migration issues
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4831 es to os migration issues
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4831 es to os migration issues
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4831 es to os migration issues
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4831 es to os migration issues
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4831 es to os migration issues
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4831 es to os migration issues
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#4831 es to os migration issues
Signed-off-by: cwillum <cwmmoore@amazon.com>
---------
Signed-off-by: cwillum <cwmmoore@amazon.com>
* Data Prepper documentation updates for the s3 sink in 2.4.0. Includes other corrections.
* Updated the Parquet/Avro codecs to include auto_schema as well as some clarifications on the restrictions of the auto-generated schema.
* Apply suggestions from code review
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
---------
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Reconcile PR changes that weren't published due to files being edited simultaneously
---------
Signed-off-by: Melissa Vagi <vagimeli@amazon.com>
Co-authored-by: Chris Moore <107723039+cwillum@users.noreply.github.com>
* Adds documentation for new features in Data Prepper 2.4 related to bucket ownership. Includes a section explaining how the bucket ownership works and can be configured for cross-account access. Resolves#4678
Signed-off-by: David Venable <dlv@amazon.com>
* Updates from PR feedback.
Signed-off-by: David Venable <dlv@amazon.com>
* Remove redundant header
Add a name to primary H2 header to section to prevent links from breaking.
* Apply suggestions from code review
Co-authored-by: Nathan Bower <nbower@amazon.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
---------
Signed-off-by: David Venable <dlv@amazon.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Add data type to term and term set queries
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Remove extra parenthesis
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
---------
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Add `byte` into "Query parameters" for CAT Segment Replication API
Signed-off-by: Tianli Feng <ftianli@amazon.com>
* Add a trailing slash to the links
Signed-off-by: Tianli Feng <ftianli@amazon.com>
* Correct the parameter name to bytes
Signed-off-by: Tianli Feng <ftianli@amazon.com>
* Change data type of 'bytes' and 'time' parameters to 'Byte unites' and 'Time unites'
Signed-off-by: Tianli Feng <ftianli@amazon.com>
---------
Signed-off-by: Tianli Feng <ftianli@amazon.com>
"dynamic": "strict" is not under the "properties" section but at the same level.
Signed-off-by: Alexandre Picard-Lemieux <alexandre.picardlemieux@gmail.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Fix dashboards management navigation changes and make copy edits to content
---------
Signed-off-by: Melissa Vagi <vagimeli@amazon.com>
Co-authored-by: Chris Moore <107723039+cwillum@users.noreply.github.com>
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Add missing plugins.security.ssl.http.enabled for PEM paragraph
TLS is not enabled when this parameter is missing in a X.509/PEM configuration...
Signed-off-by: Martin Mörner <martin.moerner@ibmix.de>
* Implement suggested change
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Signed-off-by: Martin Mörner <martin.moerner@ibmix.de>
---------
Signed-off-by: Martin Mörner <martin.moerner@ibmix.de>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Updated tls.md with 2 different CA settings
Updated tls.md with 2 different CA settings.
One is used to for the dashboards server and the other one when it's dashboards is a TLS client connecting to opensearch
Signed-off-by: srinathman <srinathman@users.noreply.github.com>
* Apply suggestions from code review
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
---------
Signed-off-by: srinathman <srinathman@users.noreply.github.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
a `TermQuery` with an empty string `Value` is considered by the .NET client to be "conditionless" and is removed from the search request body by default.
for those times that you want to use a `TermQuery` with an empty string `Value` (e.g. show me all documents with a non-empty last_name property) you need to use the `.Verbatim()` method to tell the client library to include the `TermQuery` as written even though it is considered to be "conditionless".
in other words, while a "conditionless" query may not make sense in the positive it can make sense in the negative
```
GET /my-index/_search
{
"query": {
"bool": {
"must": [{
"exists": { "field": "last_name"}
}],
"must_not": [{
"term": {"last_name.keyword": { "value": "" }}
}]
}
},
}
```
Signed-off-by: David Alpert (Next League) <112503249+david-alpert-nl@users.noreply.github.com>
* Adds keyboard navigation to table of content links
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adds table of contents scroll and item focus management to the current page or the first toc item
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Add space key capture to the toc expand/collapse arrows
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adds escape key support for expand/collapse of toc categories on the category label
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adds missing aria-role and aria-current attributes to toc affordances
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Changes the function of the space bar to navigate to a toc parent category item instead of only expand its children
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adds arrow up/down key support to toc navigation
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adds missing accessibility attribute handling to the toc
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Corrects arrow key handling of keyboard navigation of the toc
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adds padding to allow for the keyboard focus rectangle
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Removes explicit tabindex values for the toc navigation
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Removes auto focus of toc navigation items on page load; refactors navigation panel scroll into view logic to account for the sticky version selector
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Removes keyboard focus trap on search field for the tab key
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Unifies navigation item focus state for top level items and sub navigation items
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Removes the expand/collapse navigation buttons from being tab focusable
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Corrects navigation item spacing to permit visible focus rectangles
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Implements full arrow navigation for the toc items according to the w3c tree view navigation pattern
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adds reference link to the w3c documentation about the tree view navigation to the arrow key toc navigation javascript
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Account for the difference between the navigation panel height, and the viewport height when auto scrolling the toc item of the current page
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Corrects keyboard navigation focus rectangles from being slightly obscured on the bottom
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Corrects aria and role attributes according to the navigation tree pattern as opposed to the disclosure pattern
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Corrects Jekyll include parameter assignment syntax error
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Removes aria-expanded setting from the templates since it is unrealiable to determine without iterating through the entire tree to determine if one of its children of children is the current page
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Moves setting of aria-expanded attributes to a runtime behavior, and corrects arrow left/right behavior on navigation tree items
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Ensures unique navigation menu element ids; conditionally sets aira-owns and aria-current attributes
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Removes JavaScript that is unused following refactoring tree view navigation; adds comments explaining choices
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
---------
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Add new zip for example SAML configuration files that reflect latest version
These changes add a new saml-example-custom.zip file containing `customize-docker-compose.yml`, `customize-config.yml`, and `customize-opensearch-dashboards.yml` files for use as the fully functioning SAML example. These changes also include edits to documentation so that steps accord with the new files.
* fix#618 saml example download
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#618 saml example download
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#618 saml example download
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#618 saml example download
Signed-off-by: cwillum <cwmmoore@amazon.com>
* Apply suggestions from code review
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
---------
Signed-off-by: cwillum <cwmmoore@amazon.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Add warning about plugin permission
I didn't see any documentation that described what an installed plugin can do - and it would be good to make sure cluster operators have expectations described somewhere.
* Update plugins.md
* Update _install-and-configure/plugins.md
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
* Update _install-and-configure/plugins.md
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
* Incorperate cwillum's feedback
Signed-off-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: cwillum <cwmmoore@amazon.com>
---------
Signed-off-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: cwillum <cwmmoore@amazon.com>
* Update searchable_snapshot.md
This is more in-line with what is defined in the example Opensearch docker-compose
I tried the current approach and it straight-up did not work in it's current form.
Signed-off-by: adaisley <90253063+adaisley@users.noreply.github.com>
* Apply suggestions from code review
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
---------
Signed-off-by: adaisley <90253063+adaisley@users.noreply.github.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Updated documentation of arithmetic functions, correct some mistakes, added missing functions
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
* Added a few missing variable definitions
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
* Updated arithmetic operators documentation to include symbol
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
* removed unneeded SELECT and LIMIT
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
* reformated table
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
* updated data types of functions and made some corrections
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
* removed missing brackets, fixed incorrect ifnull documentation
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
* fixed more minor mistakes and confirmed all function examples work
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
* added ticks to all function names to get it to pass the linter
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
---------
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
* Updated Date and Time Functions List
* Updated Date and Time Functions List
Signed-off-by: GabeFernandez310 <Gabriel.Fernandez@improving.com>
* Changed A Description
Signed-off-by: GabeFernandez310 <Gabriel.Fernandez@improving.com>
* Added More Function Descriptions
Signed-off-by: GabeFernandez310 <Gabriel.Fernandez@improving.com>
* Fixed An Entry
Signed-off-by: GabeFernandez310 <Gabriel.Fernandez@improving.com>
---------
Signed-off-by: GabeFernandez310 <Gabriel.Fernandez@improving.com>
* Changes for suggest PR comment
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
---------
Signed-off-by: GabeFernandez310 <Gabriel.Fernandez@improving.com>
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
Co-authored-by: Guian Gumpac <guian.gumpac@improving.com>
* Update update-by-query.md
Updated the slices parameter description to be in-line with what's actually available. You can specify the string 'auto' as well. The text is pulled from the https://github.com/opensearch-project/documentation-website/blob/main/_api-reference/document-apis/delete-by-query.md documentation to keep in sync.
* Update _api-reference/document-apis/update-by-query.md
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
---------
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
OpenSearch allows signing requests by using a private key in the PKCS#8 format. If a user wants to use an encrypted key, the key must be encrypted with a PKCS#12-compatible algorithm.
The `SAML -> Request signing` documentation is extended with the requirements. It should save time of the customers who use wrong key formats or a good key format, but encrypted with an unsupported algorithm (e.g. PKCS#5 2.0 compatible algorithm).
Signed-off-by: Adam Gabryś <adam.gabrys@live.com>
* Adds collections landing page configuration and navigation header linking
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Removes unnecessary collection property from the configuration.
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Adds links to navigation collection headers to collection index pages based on the collection name
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
* Hide index pages from view and add info to formatting guide
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
---------
Signed-off-by: Aaron Stephanus <taoist.futility@pm.me>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Co-authored-by: Fanit Kolchina <kolchfa@amazon.com>
* Allow limiting the versions shown by default in the `version-selector`
Signed-off-by: Miki <miki@amazon.com>
* Add archived versions
* Update versions.json
* Add archived versions for version selector.tpl
* Switch back to old versions
---------
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Correct plugin capitalization
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Revert cluster-stats because the name is in response
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Revert cluster-stats once more
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
---------
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* sec permissions for SA
Signed-off-by: cwillum <cwmmoore@amazon.com>
* sec permissions for SA
Signed-off-by: cwillum <cwmmoore@amazon.com>
* sec permissions for SA
Signed-off-by: cwillum <cwmmoore@amazon.com>
* sec permissions for SA
Signed-off-by: cwillum <cwmmoore@amazon.com>
* sec permissions for SA
Signed-off-by: cwillum <cwmmoore@amazon.com>
* sec permissions for SA
Signed-off-by: cwillum <cwmmoore@amazon.com>
* sec permissions for SA
Signed-off-by: cwillum <cwmmoore@amazon.com>
* sec permissions for SA
Signed-off-by: cwillum <cwmmoore@amazon.com>
* sec permissions for SA
Signed-off-by: cwillum <cwmmoore@amazon.com>
* sec permissions for SA
Signed-off-by: cwillum <cwmmoore@amazon.com>
* sec permissions for SA
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#3183-sec-for-sec-a
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#3183-sec-for-sec-a
Signed-off-by: cwillum <cwmmoore@amazon.com>
* sec permissions for SA
Signed-off-by: cwillum <cwmmoore@amazon.com>
* sec permissions for SA
Signed-off-by: cwillum <cwmmoore@amazon.com>
* sec permissions for SA
Signed-off-by: cwillum <cwmmoore@amazon.com>
* sec permissions for SA
Signed-off-by: cwillum <cwmmoore@amazon.com>
* sec permissions for SA
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#3183 for merge main
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#3183 fixing links-breaking links
Signed-off-by: cwillum <cwmmoore@amazon.com>
* sec permissions for SA
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#3183-sec-for-sec-a
Signed-off-by: cwillum <cwmmoore@amazon.com>
---------
Signed-off-by: cwillum <cwmmoore@amazon.com>
* After a lovely surprise when trying to limit the recovery completely and discovering the opposite was happening I see we need the documentation to include this nice extra info.
Resolves#3648
Signed-off-by: AmiStrn <123amitai@gmail.com>
* Modifying the proposal based on maintainers input.
Signed-off-by: AmiStrn <123amitai@gmail.com>
---------
Signed-off-by: AmiStrn <123amitai@gmail.com>
* Add CI with link checker.
Signed-off-by: dblock <dblock@amazon.com>
* Capture URI::InvalidURIError.
Signed-off-by: dblock <dblock@amazon.com>
* Use HEAD and catch URI errors.
Signed-off-by: dblock <dblock@amazon.com>
* Retry on a 405 with a GET.
Signed-off-by: dblock <dblock@amazon.com>
* Replaced external link checker with ruby-link-checker.
Signed-off-by: dblock <dblock@amazon.com>
* Don't exit with an exception.
Signed-off-by: dblock <dblock@amazon.com>
* Run internal link checker on build/ci.
Signed-off-by: dblock <dblock@amazon.com>
* Added broken links issue template.
Signed-off-by: dblock <dblock@amazon.com>
* Added host exclusions that 404 or fail on bots.
Signed-off-by: dblock <dblock@amazon.com>
* Raise anyway because Jekyll does it for us.
Signed-off-by: dblock <dblock@amazon.com>
* Fix broken links.
Signed-off-by: dblock <dblock@amazon.com>
* Only run link checker on main.
Signed-off-by: dblock <dblock@amazon.com>
* Re-add check-links.sh.
Signed-off-by: dblock <dblock@amazon.com>
* Run once a day on cron.
Signed-off-by: dblock <dblock@amazon.com>
---------
Signed-off-by: dblock <dblock@amazon.com>
Link to permissions at https://opensearch.org/docs/latest/tuning-your-cluster/replication-plugin/permissions/ under Basic permissions is not pointing directly to the anchor on the same page. This causes unneccesary page reload and page redirect.
The invalid link provides no benefit as the same page ends up reloading and does not even start from anchor.
Signed-off-by: Monu Singh <msnghgw@amazon.com>
* Update put-mapping.md: add an example for "dynamic": "strict" in index mapping JSON
* Apply suggestions from code review
---------
Co-authored-by: Aria Marble <111301581+ariamarble@users.noreply.github.com>
Fixed first link to data stream explanation in the "_dashboards/im-dashboards/datastream.md" document
Signed-off-by: Fran Moya <33333527+FrcMoya@users.noreply.github.com>
* Adding appendix that I want to use for reading aids or additional context for the user and reader
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Saving - trying to multitask and follow a migrations workshop so not a lot of progress should be expected today
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Working on splitting up the content
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Sanitized example commands
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added intro blurb to the appendix - I will revisit the wording after the doc grows a bit to see how much sense it makes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Redid headers and added cross-link
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Changed headings again to make them simpler
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Expanding on intro and starting to add steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Removed disclaimer about prerequisite skills since I backed-off with the specifics in this guide
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding more context to the overview
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added more details to the snapshot recommendation including links to the supported repository solutions
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Wording changes in appendix
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding process steps and testing the copy html button function - so far so good as long as indentation is correct
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Stashing changes because I need to get the script uploaded to the repo so I can make sure the permalink works
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Working out steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added one-liner for resetting the environment
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added one-liner for resetting the environment
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding more steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Still adding
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Reorganizing the page layout
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Improving landing page
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Breaking up the content for sustainability
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Phrasing
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Clip index page to keep it concise - I think Jekyll will automatically add a related articles section since it has_children is true
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Clean up environment
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Clean up environment
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Testing out codeblock labels
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Stashing changes while I pull down a remote branch for a PR review
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Continuing to build out process and added code block labels to improve readability
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Stashing to check another branch for PR review
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Continuing to add steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added headings to backups section so I can link the bullet list
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding steps and cleaning up sections for readability
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Completed some additional research on security and started adding steps with commentary
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Wrapping up security settings backup procedure
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Stashing changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Upgrade steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding upgrade steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added final steps to the actual upgrade procedure
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added steps for upgrading OpenSearch Dashboards
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Almost forgot to re-enabled shard replica allocation
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Wrapped up first part of validation and working on next
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding more checks
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Finished adding steps which completes first draft now starting a first round review of the doc
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixed typo
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Reordering of intro and removal of a tip box in favor of just adding to the existing sentences
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Further trimmed intro and removed the other box
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixed wording in intro
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixed wording and ordering in set up the environment
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Revisions
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Gerunds
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Cleaning up phrasing
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added tip about curl
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Make wording more reader-friendly and informative
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Make wording more reader-friendly and informative
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Doc review edits
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Changed h1 and title to sentence case per other review comments
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Implementing review feedback on h2 header
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Making gerunds
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Editorial fixes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Editorial fixes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Editorial fixes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Editorial fixes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Editorial fixes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Editorial fixes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Editorial fixes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Editorial fixes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Editorial fixes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Editorial fixes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Final editorial changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Final editorial changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
---------
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Earlier the link was referring to Opensearch Analytics Dashboard Plugin, changed it to Security Dashboard.
Signed-off-by: Farhaan Shamsee <farhaan.shamsee@siemens.com>
Co-authored-by: Farhaan Shamsee <farhaan.shamsee@siemens.com>
* Addd examples on how to connect with Sigv4 for AOS and AOSS
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
* Changed some grammar
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
* Changed more grammar
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
---------
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
adding a heading allows creating a deep-link directly to this
information, making it easier to direct others to it.
the note itself doesn't actually belong to the OS recommendation as it
has nothing to do with the OS it's running on.
Signed-off-by: Ralph Ursprung <Ralph.Ursprung@avaloq.com>
* Add Hugging Face link to ML documentation
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Fix links
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Fix a couple more links
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
---------
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Make the left nav uniform color
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Separate large and xlarge sizes
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
---------
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Added metrics section to Aggregate processor page.
Signed-off-by: carolxob <carolxob@amazon.com>
* Added Metrics section to individual Processors pages.
Signed-off-by: carolxob <carolxob@amazon.com>
* Added metrics section for JSON processor.
Signed-off-by: carolxob <carolxob@amazon.com>
* Added metrics sections. Changed Default is to Default value is.
Signed-off-by: carolxob <carolxob@amazon.com>
* Corrected references from AWS S3 to Amazon S3.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor updates to Metrics sections and phrasing.
Signed-off-by: carolxob <carolxob@amazon.com>
* Updated Action link.
Signed-off-by: carolxob <carolxob@amazon.com>
* Updates based on tech review feedback.
Signed-off-by: carolxob <carolxob@amazon.com>
* Updates based on tech review feedback.
Signed-off-by: carolxob <carolxob@amazon.com>
* Tech review feedback.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor updates to buffer_size and batch_size default values.
Signed-off-by: carolxob <carolxob@amazon.com>
* Edits to Metrics sections for each processor.
Signed-off-by: carolxob <carolxob@amazon.com>
* Update made based ondoc review feedback.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor updates to intro text for processor pages. Minor adjustements to other text for clarity.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor edits.
Signed-off-by: carolxob <carolxob@amazon.com>
* Adjustements to phrasing, fixed typos.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor updates to word choice and corrected a typo.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor edit.
Signed-off-by: carolxob <carolxob@amazon.com>
* Made updates based ondoc review feedback.
Signed-off-by: carolxob <carolxob@amazon.com>
* Updates to http-source.
Signed-off-by: carolxob <carolxob@amazon.com>
* Added common processors table to affected docs.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor update to one file.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor update based on tech review feedback.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor edits.
Signed-off-by: carolxob <carolxob@amazon.com>
* Major editorial feedback incorporated through key-value.md.
Signed-off-by: carolxob <carolxob@amazon.com>
* Incorporated major editorial feedback thup to service-map-stateful.
Signed-off-by: carolxob <carolxob@amazon.com>
* Incorporated major editorial feedback for Processors section.
Signed-off-by: carolxob <carolxob@amazon.com>
* Major editorial updates, specifically to inclusion of text introducing option configuration tables.
Signed-off-by: carolxob <carolxob@amazon.com>
* Major editorial feedback through otel-trace.md incorporated.
Signed-off-by: carolxob <carolxob@amazon.com>
* Major editorial edits incorporated.
Signed-off-by: carolxob <carolxob@amazon.com>
* Technical feedback and editorial feedback incorporated.
Signed-off-by: carolxob <carolxob@amazon.com>
* Incorporated missing editorial feedback.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor adjustements to OpenSearch sink.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor changes to capitalization.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor edits.
Signed-off-by: carolxob <carolxob@amazon.com>
* Made one instance of processor name consistent with other references.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor update based on editorial feedback.
Signed-off-by: carolxob <carolxob@amazon.com>
---------
Signed-off-by: carolxob <carolxob@amazon.com>
* Update the documentation to describe using symlinks for sharing web identity token file for 'repository-s3' plugin
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
* Address review comments
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
---------
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
* Moved index_template permission to cluster section
Moved index_template permissions from index section to cluster section to avoid confusion when generating roles
Signed-off-by: Fran Moya <33333527+FrcMoya@users.noreply.github.com>
* Update _security/access-control/permissions.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
---------
Signed-off-by: Fran Moya <33333527+FrcMoya@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
* Migrating to new branch since the ToC structure has changed so much
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Making changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added caveat to upgrade spans
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Add blurb about the context of the guide - will revisit and add later just getting bones together
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Reordering sections
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding redirects but I think I'm going to rename the pages
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Renamed
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Renamed
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Add note about Lucene table
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixed table and identified some issues with overall site formatting - everything is left-justified site-wide
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixed table
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixing front matter
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Finally figured out how to make the ToC work - now the structure looks right
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fix nav order on index, rename pages for consistency with ToC gerund usage, and fixed capitalization of elasticsearch
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Renaming the page to rolling upgrade since that is the only method being covered
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Working through top-to-bottom now
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Got the beginning steps re-ordered to make more sense and added some narrative to explain the steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Wrapped up the technical steps and indented all content in the numbered list
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Renamed upgrade page to make more relevant
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Tweaking toc
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixed markdown block formatting in rolling restart page
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Working through upgrade intro and implementing technical feedback
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Phrasing
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Reviewing reindex guidance
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Phrasing on compatibility to make tone more active
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added banner about the status of the docs but pending review from Himanshu and Brian P
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Refined wording for note about this document
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added note to restart upgrade
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Stashing changes before weekend
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Created clean meta issue for fresh pushes and added link
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added related links
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Editing
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Editing continued
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Working on the table dimensions
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Final changes to draft and ready for doc review
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Doc review changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Removed a comma from line 97 after additional feedback from doc reviewer
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Removed a comma from line 97 after additional feedback from doc reviewer
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Re-added comma after additional doc review comments
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Update _install-and-configure/upgrade-opensearch/index.md
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Update _install-and-configure/upgrade-opensearch/index.md
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Update _install-and-configure/upgrade-opensearch/index.md
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Update _install-and-configure/upgrade-opensearch/index.md
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Update _install-and-configure/upgrade-opensearch/index.md
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Update _install-and-configure/upgrade-opensearch/rolling-upgrade.md
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Update _install-and-configure/upgrade-opensearch/rolling-upgrade.md
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Update _install-and-configure/upgrade-opensearch/rolling-upgrade.md
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Final editorial changes applied
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Update _install-and-configure/upgrade-opensearch/index.md
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Update _install-and-configure/upgrade-opensearch/index.md
Co-authored-by: Nathan Bower <nbower@amazon.com>
* More editorial fixes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Apply suggestions from code review
Co-authored-by: Nathan Bower <nbower@amazon.com>
* More orphaned review comments because of local-remote disparities
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
---------
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Co-authored-by: Nathan Bower <nbower@amazon.com>
* Updating links to point to doc website.
Signed-off-by: carolxob <carolxob@amazon.com>
* Fixed Monitoring link on Getting Started page.
Signed-off-by: carolxob <carolxob@amazon.com>
* Updated link to Peer forwarder.
Signed-off-by: carolxob <carolxob@amazon.com>
* Updated Getting started with Data Prepper link.
Signed-off-by: carolxob <carolxob@amazon.com>
---------
Signed-off-by: carolxob <carolxob@amazon.com>
Since data-prepper version 2.0.0 there are new default values for buffer_size & batch_size.
The default buffer_size (previously: 512) and default batch_size (previously: 8) were increased by the factor 25.
The new default values are: buffer_size: 12800 and batch_size: 200.
Issue: https://github.com/opensearch-project/data-prepper/issues/1983
Signed-off-by: Jannik Brand <jannik.brand@sap.com>
* add files back from lost local files
Signed-off-by: Alice Williams <alicejw@amazon.com>
* nest reporting CLI under main Reporting page
Signed-off-by: Alice Williams <alicejw@amazon.com>
* rough draft examples for AWS Lambda and Cron
Signed-off-by: Alice Williams <alicejw@amazon.com>
* better title for cron job report example
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for more details from tech reviewer
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for better cron job usage description
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for more details
Signed-off-by: Alice Williams <alicejw@amazon.com>
* remove needs info markers and add links to events doc
Signed-off-by: Alice Williams <alicejw@amazon.com>
* more info
Signed-off-by: Alice Williams <alicejw@amazon.com>
* more details from demonstration
Signed-off-by: Alice Williams <alicejw@amazon.com>
* remove reporting directory to keep both parallel in left nav
Signed-off-by: Alice Williams <alicejw@amazon.com>
* small addition
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for two configuration settings in the function
Signed-off-by: Alice Williams <alicejw@amazon.com>
* more details from eng meeting adding to the steps
Signed-off-by: Alice Williams <alicejw@amazon.com>
* more details from eng meeting adding to the steps
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for more details
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for additional steps to create and test the lambda function
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for scheduling reports with lambda
Signed-off-by: Alice Williams <alicejw@amazon.com>
* merge redundant set of steps together
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for tech review comments
Signed-off-by: Alice Williams <alicejw@amazon.com>
* to add download correct title and link
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for reporting directory to nest new cli page
Signed-off-by: Alice Williams <alicejw@amazon.com>
* un-nest reporting directory
Signed-off-by: Alice Williams <alicejw@amazon.com>
* to remove reporting directory - will nest with other page in separate PR
Signed-off-by: Alice Williams <alicejw@amazon.com>
* tech review comments and some reorg
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for tech review comments
Signed-off-by: Alice Williams <alicejw@amazon.com>
* to minor changes
Signed-off-by: Alice Williams <alicejw@amazon.com>
* more info about crontab sequence
Signed-off-by: Alice Williams <alicejw@amazon.com>
* cron updates
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for cron syntax
Signed-off-by: Alice Williams <alicejw@amazon.com>
* small updates to lambda proc
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for final writer checklist
Signed-off-by: Alice Williams <alicejw@amazon.com>
* cron link update
Signed-off-by: Alice Williams <alicejw@amazon.com>
* format fix
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for doc review cron & lambda sections
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for cron reference to man page
Signed-off-by: Alice Williams <alicejw@amazon.com>
* add internal link to cron ref
Signed-off-by: Alice Williams <alicejw@amazon.com>
* reorg single topic into 7 pages
Signed-off-by: Alice Williams <alicejw@amazon.com>
* minor update
Signed-off-by: Alice Williams <alicejw@amazon.com>
* link to set ses permissions
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for tech review meeting updates
Signed-off-by: Alice Williams <alicejw@amazon.com>
* small update
Signed-off-by: Alice Williams <alicejw@amazon.com>
* npm download command name changed to remove opensearch prepended name
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for new download via artifacts hub
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for new download instructions
Signed-off-by: Alice Williams <alicejw@amazon.com>
* small fix signature file
Signed-off-by: Alice Williams <alicejw@amazon.com>
* typo
Signed-off-by: Alice Williams <alicejw@amazon.com>
* for cleaner image
Signed-off-by: Alice Williams <alicejw@amazon.com>
* remove image for push commands we won't use
Signed-off-by: Alice Williams <alicejw@amazon.com>
---------
Signed-off-by: Alice Williams <alicejw@amazon.com>
Please double-check that this is correct. I'm using `org.opensearch.client:opensearch-java:2.2.0` and `org.opensearch.client:opensearch-rest-client:2.5.0` to try to create a client as per the docs. I noticed that the call to `IndexRequest.Builder.value()` does not work. I believe the correct method name is ``IndexRequest.Builder.document()`
* Creating PR with first file.
Signed-off-by: carolxob <carolxob@amazon.com>
* Adding newly created files to PR.
Signed-off-by: carolxob <carolxob@amazon.com>
* Reorganized files and added appropriate metadata to map ToC correctly.
Signed-off-by: carolxob <carolxob@amazon.com>
* Moved Authoring pipelines page.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor ToC updates.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor ToC updates to Sources section for Data Prepper.
Signed-off-by: carolxob <carolxob@amazon.com>
* Updated Buffers section under Data Prepper.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor update to otelmetricssource.
Signed-off-by: carolxob <carolxob@amazon.com>
* Restructured ToC in Processors section for Data Prepper.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor filename change.
Signed-off-by: carolxob <carolxob@amazon.com>
* Adjustments to metadata in ToC.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor edit.
Signed-off-by: carolxob <carolxob@amazon.com>
* Fixed nav order in metadata.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor edit.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor update top metadata for ToC.
Signed-off-by: carolxob <carolxob@amazon.com>
* Adjustmenets to Toc order.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor adjustments to ToC metadata.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor adjustments to Sinks section.
Signed-off-by: carolxob <carolxob@amazon.com>
* Adjustements to high level ToC.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor adjustement to Pipelines.md
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor update.
Signed-off-by: carolxob <carolxob@amazon.com>
* Slight reorganization. Removed two placeholder pages for now.
Signed-off-by: carolxob <carolxob@amazon.com>
* Removed a page and replaced with pipelines content.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor changes/additions to content for placeholder pages.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor update to page link.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor adjustments to ToC metadata.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor edits.
Signed-off-by: carolxob <carolxob@amazon.com>
* Removed /clients from redirects to correct nav order.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor edits.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor adjustments to ToC metadata.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor adjustments.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor adjustment ot metadata.
Signed-off-by: carolxob <carolxob@amazon.com>
* TOC link fixes
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Changed page name.
Signed-off-by: carolxob <carolxob@amazon.com>
* Corrected references to Peer Forwarder.
Signed-off-by: carolxob <carolxob@amazon.com>
* Renamed Data Prepper folder.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor updates to phrasing and capitalization.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor phrasing update.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor phrasing update.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor change.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor change to change S3 Source to S3Source.
Signed-off-by: carolxob <carolxob@amazon.com>
* Updated references to peer forwarder and changed capitalization.
Signed-off-by: carolxob <carolxob@amazon.com>
* Updated capitalization for peer forwarder.
Signed-off-by: carolxob <carolxob@amazon.com>
* Made edits based on doc review feedback.
Signed-off-by: carolxob <carolxob@amazon.com>
* Update to one word.
Signed-off-by: carolxob <carolxob@amazon.com>
---------
Signed-off-by: carolxob <carolxob@amazon.com>
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
Co-authored-by: Naarcha-AWS <naarcha@amazon.com>
* Makes version selector sticky
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Adds min width to site nav to accommodate version selector
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Makes site nav 100% vh
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Scroll to top when last visit was more than 24 hours ago
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Changed localStorage to sessionStorage
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Minor changes to index.md.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor typo/formatting fixes.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor change.
Signed-off-by: carolxob <carolxob@amazon.com>
* Adjusted ToC order so that Getting started appears before Core APIs.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor edits to titles.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor adjustments to ToC.
Signed-off-by: carolxob <carolxob@amazon.com>
* Changed filename.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor ToC edit
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor edits.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor edit.
Signed-off-by: carolxob <carolxob@amazon.com>
* Edits made based on editorial feedback.
Signed-off-by: carolxob <carolxob@amazon.com>
Signed-off-by: carolxob <carolxob@amazon.com>
* Fixed typo in OS install and added page for debian osd install
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Replaced sample responses now that the 2.5 artifact is available
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Doing more things
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Prune overview narrative section and add steps for manual package install
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixing some formatting issues and adding fingerprint verification steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Working on APT repository steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fix typo in os core install guide
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Modification after verifying steps and removed reference to fingerprint since it isnt in the console output
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Wrapping up
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fix to repo entry
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Updating links
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Applying doc review feedback
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* for new page how to analyze Jaeger trace data
Signed-off-by: alicejw <alicejw@amazon.com>
* remove old image
Signed-off-by: alicejw <alicejw@amazon.com>
* for new information and doc writer checklist
Signed-off-by: alicejw <alicejw@amazon.com>
* for new information and doc writer checklist
Signed-off-by: alicejw <alicejw@amazon.com>
* small rewrite
Signed-off-by: alicejw <alicejw@amazon.com>
* new clean images from Dashboards URL directly
Signed-off-by: alicejw <alicejw@amazon.com>
* for additional information
Signed-off-by: alicejw <alicejw@amazon.com>
* remove blank lines
Signed-off-by: alicejw <alicejw@amazon.com>
* for tech review feedback updates
Signed-off-by: alicejw <alicejw@amazon.com>
* add requirements section
Signed-off-by: alicejw <alicejw@amazon.com>
* for new procedure
Signed-off-by: alicejw <alicejw@amazon.com>
* for tech review feedback updates
Signed-off-by: alicejw <alicejw@amazon.com>
* continued updates
Signed-off-by: alicejw <alicejw@amazon.com>
* for docker compose file instructions
Signed-off-by: alicejw <alicejw@amazon.com>
* for docker usage instruction
Signed-off-by: alicejw <alicejw@amazon.com>
* for step 2 view dashboards
Signed-off-by: alicejw <alicejw@amazon.com>
* for additional link provided in tech review
Signed-off-by: alicejw <alicejw@amazon.com>
* for link to index page to introduce the feature
Signed-off-by: alicejw <alicejw@amazon.com>
* final checklist
Signed-off-by: alicejw <alicejw@amazon.com>
* add warning not to use sample file in prod env
Signed-off-by: alicejw <alicejw@amazon.com>
* updated docker file that is safe for prod env, remove warning note for previous file
Signed-off-by: alicejw <alicejw@amazon.com>
* for small update to parent page
Signed-off-by: alicejw <alicejw@amazon.com>
* for tech review
Signed-off-by: alicejw <alicejw@amazon.com>
* typo fix for font
Signed-off-by: alicejw <alicejw@amazon.com>
* for doc review #1 feedback updates
Signed-off-by: alicejw <alicejw@amazon.com>
* for doc review feedback #2 updates
Signed-off-by: alicejw <alicejw@amazon.com>
* for a couple minor changes
Signed-off-by: alicejw <alicejw@amazon.com>
* spell out dashboard URI directly to trace analytics for accessibility. With URL obfuscated, this would not get spelled out in the vision-impaired app that scans through.it would simply read the title only
Signed-off-by: alicejw <alicejw@amazon.com>
* need to add additional step from eng to generate sample data
Signed-off-by: alicejw <alicejw@amazon.com>
* for additional step image of sample app
Signed-off-by: alicejw <alicejw@amazon.com>
* rename step numbers
Signed-off-by: alicejw <alicejw@amazon.com>
* minor fix heading levels
Signed-off-by: alicejw <alicejw@amazon.com>
* updates recommended by the editorial reviewer
Signed-off-by: alicejw <alicejw@amazon.com>
* clarify Spans window function
Signed-off-by: alicejw <alicejw@amazon.com>
* clarified individual trace details section
Signed-off-by: alicejw <alicejw@amazon.com>
Signed-off-by: alicejw <alicejw@amazon.com>
* Adding Core API doc to doc website repo.
Signed-off-by: carolxob <carolxob@amazon.com>
* Made edits based on doc review feedback.
Signed-off-by: carolxob <carolxob@amazon.com>
* Update _data-prepper/core-apis.md
Co-authored-by: Alice Williams <88908598+alicejw-aws@users.noreply.github.com>
* Minor edits based on doc review feedback.
Signed-off-by: carolxob <carolxob@amazon.com>
* Pushing first set of updates because last ones did not commit.
Signed-off-by: carolxob <carolxob@amazon.com>
* Made more changes as part of editorial review.
Signed-off-by: carolxob <carolxob@amazon.com>
* Added more editorial feedback edits.
Signed-off-by: carolxob <carolxob@amazon.com>
* Pushing more editorial feedback changes.
Signed-off-by: carolxob <carolxob@amazon.com>
* Added more editorial feedback changes.
Signed-off-by: carolxob <carolxob@amazon.com>
* Added more editorial feedback.
Signed-off-by: carolxob <carolxob@amazon.com>
* Made slight changes.
Signed-off-by: carolxob <carolxob@amazon.com>
* Picked up a few more changes from editorial.
Signed-off-by: carolxob <carolxob@amazon.com>
* Incorporated doc review feedback. Needs a couple of tech questions addressed.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor changes.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor edits.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor edits made from editorial feedback.
Signed-off-by: carolxob <carolxob@amazon.com>
* Minor capitalization update.
Signed-off-by: carolxob <carolxob@amazon.com>
* Update _data-prepper/core-apis.md
* Update _data-prepper/core-apis.md
Co-authored-by: Nate Bower <nbower@amazon.com>
* Made changes based on editorial feedback.
Signed-off-by: carolxob <carolxob@amazon.com>
Signed-off-by: carolxob <carolxob@amazon.com>
Co-authored-by: Alice Williams <88908598+alicejw-aws@users.noreply.github.com>
Co-authored-by: Nate Bower <nbower@amazon.com>
The correct analyzer is `galician`, not `galicia`.
Signed-off-by: Mike Benza <mbenza@momentive.ai>
Signed-off-by: Mike Benza <mbenza@momentive.ai>
Co-authored-by: Mike Benza <mbenza@momentive.ai>
* Removes feedback buttons
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Put link to edit in left nav
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Adds version 2.4 to version history
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Adds version history with 1.3.7 and 2.4.1
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Adds windows support
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Adds back to top button
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Makes sidebar sticky
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Gives more real estate to the main pane
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Adds copy button
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Adds copy button to code snippets
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Adds copy as curl
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Moved copy buttons to the bottom right of snippets
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Moved edit page footer to the bottom of the page
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Implemented scrolling to the active link in navbar on reload
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Adds feedback buttons
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Update multi-tenancy route to match name change
Signed-off-by: Craig Perkins <cwperx@amazon.com>
* Add slash at end of route
Signed-off-by: Craig Perkins <cwperx@amazon.com>
* Link to multi-tenancy index
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
* Incorporate changes to make numbered steps easier to navigate and removed guide from the title
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Rewording
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Beginning quickstart guide
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Add sample docker compose yaml to assets
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding verbiage about compose commands
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* More additions but saving before a lunch break
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Remove sample compose file from the quickstart guide since it is linked externally
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added first common problem
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Formatting of common issues - oh and I renamed it common issues because problems sounds too negative
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Formatting
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding more content. I love Starbucks White Chocolate Mocha creamer
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Indentation
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added common issue re: docker perms
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Changing the common issues section around a bit so the ordering makes more sense
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Removed blank target from important settings links since we don't do that for other links
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Updates
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Committing changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added newline to docker compose file and started working on steps in the guide
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added cURL command for example query
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Reworded intro paragraph and added more steps.
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added tip about using the pretty query parameter
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Editing
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added dashboards content and working on next steps segue
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Wrapping up for the day
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Cleaning up before reviews
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Finishing up
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Editorial fixes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Final editorial changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Changes relating to PM review
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Incorporating feedback from docs review
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Final changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added ecommerce index and field mappings to exampl dir in github
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixed index file for bulk API syntax
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* for doc issue https://github.com/opensearch-project/documentation-website/issues/1810
Signed-off-by: alicejw <alicejw@amazon.com>
* to add reference link to security plugin section about backend roles
Signed-off-by: alicejw <alicejw@amazon.com>
* more updates and fix link
Signed-off-by: alicejw <alicejw@amazon.com>
* for link to backend roles in Alerting API doc
Signed-off-by: alicejw <alicejw@amazon.com>
* to fine tune the backend_role creation of role1, and role2
Signed-off-by: alicejw <alicejw@amazon.com>
* for tech review feedback updates
Signed-off-by: alicejw <alicejw@amazon.com>
* minor update to remove xref to the monitoring page limit access to backend roles section
Signed-off-by: alicejw <alicejw@amazon.com>
* put notes into a callout
Signed-off-by: alicejw <alicejw@amazon.com>
* for more updates per tech review
Signed-off-by: alicejw <alicejw@amazon.com>
* for doc review feedback updates
Signed-off-by: alicejw <alicejw@amazon.com>
Signed-off-by: alicejw <alicejw@amazon.com>
* Added instructions for enabling opensearch as a service with systemd
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Placeholder changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added disclaimer and cleaned up some wording
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixed wording
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* new file for knn filter searches
Signed-off-by: alicejw <alicejw@amazon.com>
* for knn filter queries
Signed-off-by: alicejw <alicejw@amazon.com>
* more details and include graphic
Signed-off-by: alicejw <alicejw@amazon.com>
* add graph of filtered doc set
Signed-off-by: alicejw <alicejw@amazon.com>
* add release label
Signed-off-by: alicejw <alicejw@amazon.com>
* filters are defined by Query DSL
Signed-off-by: alicejw <alicejw@amazon.com>
* more details about how the algorithm works and how to specify lucene as the search engine
Signed-off-by: alicejw <alicejw@amazon.com>
* more refining sentences
Signed-off-by: alicejw <alicejw@amazon.com>
* for response samples
Signed-off-by: alicejw <alicejw@amazon.com>
* reorg heading levels
Signed-off-by: alicejw <alicejw@amazon.com>
* more rewrites for clarity
Signed-off-by: alicejw <alicejw@amazon.com>
* to add the complex filter query
Signed-off-by: alicejw <alicejw@amazon.com>
* update response for complex query
Signed-off-by: alicejw <alicejw@amazon.com>
* for typo
Signed-off-by: alicejw <alicejw@amazon.com>
* for rewrites to overview
Signed-off-by: alicejw <alicejw@amazon.com>
* to add better request/response for the complex filter example
Signed-off-by: alicejw <alicejw@amazon.com>
* for eng review update
Signed-off-by: alicejw <alicejw@amazon.com>
* format fix for example
Signed-off-by: alicejw <alicejw@amazon.com>
* for filter selectiveness use case section
Signed-off-by: alicejw <alicejw@amazon.com>
* for new workflow diagram and description
Signed-off-by: alicejw <alicejw@amazon.com>
* update section headings
Signed-off-by: alicejw <alicejw@amazon.com>
* add image for algorithm workflow diagram
Signed-off-by: alicejw <alicejw@amazon.com>
* reorg sections to make more concise
Signed-off-by: alicejw <alicejw@amazon.com>
* explain selectiveness percentage
Signed-off-by: alicejw <alicejw@amazon.com>
* more rewrites to complex query description
Signed-off-by: alicejw <alicejw@amazon.com>
* define complex query
Signed-off-by: alicejw <alicejw@amazon.com>
* more rewrites
Signed-off-by: alicejw <alicejw@amazon.com>
* for tech review feedback and add new information
Signed-off-by: alicejw <alicejw@amazon.com>
* to blend new Boolean query example into filter approaches section
Signed-off-by: alicejw <alicejw@amazon.com>
* for complex query description clarity
Signed-off-by: alicejw <alicejw@amazon.com>
* more rewrites
Signed-off-by: alicejw <alicejw@amazon.com>
* typo
Signed-off-by: alicejw <alicejw@amazon.com>
* eng review updates
Signed-off-by: alicejw <alicejw@amazon.com>
* nit for grammar
Signed-off-by: alicejw <alicejw@amazon.com>
* to fix incorrect descriptions of restrictive filters
Signed-off-by: alicejw <alicejw@amazon.com>
* to fix incorrect descriptions of restrictive filters
Signed-off-by: alicejw <alicejw@amazon.com>
* for doc review feedback updates
Signed-off-by: alicejw <alicejw@amazon.com>
* minor grammar change
Signed-off-by: alicejw <alicejw@amazon.com>
* removed figure and table titles, per AWS Style Guide
Signed-off-by: alicejw <alicejw@amazon.com>
* remove table title per style guide
Signed-off-by: alicejw <alicejw@amazon.com>
* update nav orders for all pages to give space for new topics in multiples of 5, and add links to other knn topics where appropriate
Signed-off-by: alicejw <alicejw@amazon.com>
* small rewrite
Signed-off-by: alicejw <alicejw@amazon.com>
* for second doc review comments
Signed-off-by: alicejw <alicejw@amazon.com>
* Update _search-plugins/knn/filter-search-knn.md
Co-authored-by: Nate Bower <nbower@amazon.com>
* Update _search-plugins/knn/filter-search-knn.md
Co-authored-by: Nate Bower <nbower@amazon.com>
* for editorial review updates
Signed-off-by: alicejw <alicejw@amazon.com>
* for editorial review updates
Signed-off-by: alicejw <alicejw@amazon.com>
* fix cross-ref link
Signed-off-by: alicejw <alicejw@amazon.com>
* fix undone commit suggestions
Signed-off-by: alicejw <alicejw@amazon.com>
Signed-off-by: alicejw <alicejw@amazon.com>
Co-authored-by: Nate Bower <nbower@amazon.com>
* new image of Dashboards
Signed-off-by: alicejw <alicejw@amazon.com>
* update link to new image
Signed-off-by: alicejw <alicejw@amazon.com>
* fix figure title
Signed-off-by: alicejw <alicejw@amazon.com>
Signed-off-by: alicejw <alicejw@amazon.com>
* Added Sigv4 Section to JavaScript Client
Signed-off-by: Theo Truong <theotr@amazon.com>
* Adjusted according to style code/headers guide
Signed-off-by: Theo Truong <theotr@amazon.com>
Signed-off-by: Theo Truong <theotr@amazon.com>
* Add new Discover main page
Signed-off-by: vagimeli <vagimeli@amazon.com>
* New Discover subpage and new content for multi data sources
Signed-off-by: vagimeli <vagimeli@amazon.com>
* Address tech and doc review comments
Signed-off-by: vagimeli <vagimeli@amazon.com>
* Copy edit line 129
Signed-off-by: vagimeli <vagimeli@amazon.com>
* Address editorial review feedback
Signed-off-by: vagimeli <vagimeli@amazon.com>
* Final edits before merge
Signed-off-by: vagimeli <vagimeli@amazon.com>
Signed-off-by: vagimeli <vagimeli@amazon.com>
* Adds to alias documentation
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Rewording
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Points to more alias api operations
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* add operation to titles to differentiate from the API group acronym
Signed-off-by: alicejw <alicejw@amazon.com>
* update frontmatter with new page title
Signed-off-by: alicejw <alicejw@amazon.com>
* for updates per issue https://github.com/opensearch-project/documentation-website/issues/1713
Signed-off-by: alicejw <alicejw@amazon.com>
* to rename section title in left nav TOC to remove acronym definition and update each page frontmatter accordingly
Signed-off-by: alicejw <alicejw@amazon.com>
* to update page title per AWS Style Guide suggestion to only spell out the acronym the first time it's used in a sentence, not on the page title
Signed-off-by: alicejw <alicejw@amazon.com>
Signed-off-by: alicejw <alicejw@amazon.com>
* Make API reference top level
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Fix typo on Drag and Drop page (#1633)
* Fix typo on Drag and Drop page
* Update _dashboards/drag-drop-wizard.md
Co-authored-by: Nate Bower <nbower@amazon.com>
* Update drag-drop-wizard.md
Co-authored-by: Nate Bower <nbower@amazon.com>
* Putting all the Docker install material on a single page (#1452)
* Putting all the Docker install material on a single page
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Making room for revamp
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Intro added
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Continuing to flesh out the intro section and overview
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Overview finalized
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Introducing docker compose
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added link to compose
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Continuing docker image commentary
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Sometimes I wonder if anyone reads these
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding notes on installing compose with pip
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding prereqs
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Magnets - how do they work?
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Almonds and peaches are part of the same plant subgenus, Amygdalus
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* There are 293 ways to make change for a dollar
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* A shark is the only known fish that can blink with both eyes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* A crocodile cannot stick its tongue out
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* wording
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Reorganizing a couple paragraphs to make it flow better
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Forgot a word
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Add tip about pruning stopped containers
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Cleaning up
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Add blurb about container ls
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding the Docker Compose stuff
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Working on compose
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Continuing work on the compose section - it's a lot of info
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added important settings
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Updates to settings that need configured
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Still working through compose things
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixed wording
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Working through compose commands and guidance
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Reordering/rewording
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* More phrasing
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* More wording in steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* More wording in steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Organizing
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding stuff and things
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Continuing to work through the configuration steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Still working on the configuration steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* More work
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Removed perf analyzer - refer to GH issue 1555
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixing things
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding guidance on passing settings in compose
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Working through dockerfile materials now
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* wording
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Finalized the sample dev compose file
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Continuing work with configuration
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Finished - ready for reviews
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixed a link I forgot to change before
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Changes from first proofread
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Changed heading
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Addressed reviewer comments and made some changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Forgot to incorporate one change. Fixed.
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Final editorial changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* fix#1584-custom_attr_allowlist (#1636)
Signed-off-by: cwillum <cwmmoore@amazon.com>
Signed-off-by: cwillum <cwmmoore@amazon.com>
* Update TERMS.md with definition for Setting (#1632)
* fix#1631-Terms-setting
Signed-off-by: cwillum <cwmmoore@amazon.com>
* fix#1631-Terms-setting
Signed-off-by: cwillum <cwmmoore@amazon.com>
Signed-off-by: cwillum <cwmmoore@amazon.com>
* Add disclaimer about remote fs usage and an example of setting env var (#1644)
* Add disclaimer about remote fs usage and an example of setting env var
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Enhanced wording a little bit
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* [DOC] New documentation: Self-host maps server (#1625)
* Add new page self-host maps server
Signed-off-by: vagimeli <vagimeli@amazon.com>
* Added new content
Signed-off-by: vagimeli <vagimeli@amazon.com>
* Copy edit
Signed-off-by: vagimeli <vagimeli@amazon.com>
* Tech review edits
Signed-off-by: vagimeli <vagimeli@amazon.com>
* Doc review edits
Signed-off-by: vagimeli <vagimeli@amazon.com>
* Editorial review changes
Signed-off-by: vagimeli <vagimeli@amazon.com>
* Final edits
Signed-off-by: vagimeli <vagimeli@amazon.com>
Signed-off-by: vagimeli <vagimeli@amazon.com>
* Add feedback.
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Fix links
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: cwillum <cwmmoore@amazon.com>
Signed-off-by: vagimeli <vagimeli@amazon.com>
Co-authored-by: Nate Bower <nbower@amazon.com>
Co-authored-by: Jeff Huss <jeffhuss@amazon.com>
Co-authored-by: Chris Moore <107723039+cwillum@users.noreply.github.com>
Co-authored-by: Melissa Vagi <105296784+vagimeli@users.noreply.github.com>
* Adds note about duplicating java opts in multiple places
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixed verb
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Using JVM options rather than Java options per developer guidance
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added short blurb about WHY you shouldn't do it
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Add disclaimer about remote fs usage and an example of setting env var
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Enhanced wording a little bit
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Putting all the Docker install material on a single page
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Making room for revamp
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Intro added
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Continuing to flesh out the intro section and overview
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Overview finalized
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Introducing docker compose
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added link to compose
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Continuing docker image commentary
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Sometimes I wonder if anyone reads these
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding notes on installing compose with pip
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding prereqs
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Magnets - how do they work?
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Almonds and peaches are part of the same plant subgenus, Amygdalus
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* There are 293 ways to make change for a dollar
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* A shark is the only known fish that can blink with both eyes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* A crocodile cannot stick its tongue out
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* wording
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Reorganizing a couple paragraphs to make it flow better
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Forgot a word
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Add tip about pruning stopped containers
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Cleaning up
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Add blurb about container ls
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding the Docker Compose stuff
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Working on compose
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Continuing work on the compose section - it's a lot of info
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added important settings
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Updates to settings that need configured
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Still working through compose things
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixed wording
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Working through compose commands and guidance
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Reordering/rewording
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* More phrasing
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* More wording in steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* More wording in steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Organizing
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding stuff and things
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Continuing to work through the configuration steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Still working on the configuration steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* More work
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Removed perf analyzer - refer to GH issue 1555
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixing things
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding guidance on passing settings in compose
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Working through dockerfile materials now
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* wording
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Finalized the sample dev compose file
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Continuing work with configuration
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Finished - ready for reviews
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixed a link I forgot to change before
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Changes from first proofread
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Changed heading
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Addressed reviewer comments and made some changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Forgot to incorporate one change. Fixed.
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Final editorial changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* start of rewrites for query type definitions
Signed-off-by: alicejw <alicejw@amazon.com>
* for issue https://github.com/opensearch-project/documentation-website/issues/1116
Signed-off-by: alicejw <alicejw@amazon.com>
* for defining the terms multiple query type in this issue https://github.com/opensearch-project/documentation-website/issues/1114
Signed-off-by: alicejw <alicejw@amazon.com>
* remove extra instance of multi-term for clarity
Signed-off-by: alicejw <alicejw@amazon.com>
* clarity for synonym usage with multiple terms searches
Signed-off-by: alicejw <alicejw@amazon.com>
* for proper 3rd party doc reference
Signed-off-by: alicejw <alicejw@amazon.com>
* format error fix
Signed-off-by: alicejw <alicejw@amazon.com>
* fix link format
Signed-off-by: alicejw <alicejw@amazon.com>
* introduce that we use Apache Lucene search library and give link
Signed-off-by: alicejw <alicejw@amazon.com>
* additional changes
Signed-off-by: alicejw <alicejw@amazon.com>
* for 1st pass doc review updates
Signed-off-by: alicejw <alicejw@amazon.com>
* Update _opensearch/query-dsl/full-text.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
* Update _opensearch/query-dsl/full-text.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
* Update _opensearch/query-dsl/full-text.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
* Update _opensearch/query-dsl/full-text.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
* Update _opensearch/query-dsl/full-text.md
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
* for 2nd doc reviewer updates
Signed-off-by: alicejw <alicejw@amazon.com>
* for clarity between using analyzers during index time and the auto query time analysis with the standard analyzer
Signed-off-by: alicejw <alicejw@amazon.com>
* update link text to new section title
Signed-off-by: alicejw <alicejw@amazon.com>
* update link text for lang analyzer section
Signed-off-by: alicejw <alicejw@amazon.com>
* update 10 anchor links to a section that now has a new title and anchor
Signed-off-by: alicejw <alicejw@amazon.com>
* Update _opensearch/query-dsl/full-text.md
Co-authored-by: Nate Bower <nbower@amazon.com>
* Update _opensearch/query-dsl/full-text.md
Co-authored-by: Nate Bower <nbower@amazon.com>
* updates per editorial review feedback provided
Signed-off-by: alicejw <alicejw@amazon.com>
* one additional edit
Signed-off-by: alicejw <alicejw@amazon.com>
* fix format errors from MDlinter
Signed-off-by: alicejw <alicejw@amazon.com>
Signed-off-by: alicejw <alicejw@amazon.com>
Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Co-authored-by: Nate Bower <nbower@amazon.com>
* Provides more specific example header
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Provides a more specific example header
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* test new DCO bypass
* for dco auto sign test
Signed-off-by: alicejw <alicejw@amazon.com>
* test dco check
Signed-off-by: alicejw <alicejw@amazon.com>
* for new analyzers page
Signed-off-by: alicejw <alicejw@amazon.com>
* test dco check after pull from main
Signed-off-by: alicejw <alicejw@amazon.com>
* for new text analyzers page
Signed-off-by: alicejw <alicejw@amazon.com>
* remove lang analyzers section from fulltext page, add link to new page text analyzers
Signed-off-by: alicejw <alicejw@amazon.com>
* rename page to text-analyzers
Signed-off-by: alicejw <alicejw@amazon.com>
* rmv test text for DCO check
Signed-off-by: alicejw <alicejw@amazon.com>
* for querydsl analyzers
Signed-off-by: alicejw <alicejw@amazon.com>
* for note about other 7 analyzer sections to be published soon
Signed-off-by: alicejw <alicejw@amazon.com>
* for definitions of 7 specialized analyzers and note that full reference is in-progress to be published soon
Signed-off-by: alicejw <alicejw@amazon.com>
* add note to learn more and point to concepts page
Signed-off-by: alicejw <alicejw@amazon.com>
* for peer edit comments
Signed-off-by: alicejw <alicejw@amazon.com>
* add new line
Signed-off-by: alicejw <alicejw@amazon.com>
* remove specialized modifier for the text analyzers
Signed-off-by: alicejw <alicejw@amazon.com>
* doc review comments
Signed-off-by: alicejw <alicejw@amazon.com>
* change title
Signed-off-by: alicejw <alicejw@amazon.com>
* better page title
Signed-off-by: alicejw <alicejw@amazon.com>
* for editorial review updates
Signed-off-by: alicejw <alicejw@amazon.com>
Signed-off-by: alicejw <alicejw@amazon.com>
* Adds the path and http methods section to API style guide
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Removed the link that is not accessible from the outside
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Reworded based on feedback
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Update STYLE_API_TEMPLATE.md
Co-authored-by: Nate Bower <nbower@amazon.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Co-authored-by: Nate Bower <nbower@amazon.com>
* test new DCO bypass
* for dco auto sign test
Signed-off-by: alicejw <alicejw@amazon.com>
* test dco check
Signed-off-by: alicejw <alicejw@amazon.com>
* for new analyzers page
Signed-off-by: alicejw <alicejw@amazon.com>
* test dco check after pull from main
Signed-off-by: alicejw <alicejw@amazon.com>
* for new text analyzers page
Signed-off-by: alicejw <alicejw@amazon.com>
* remove lang analyzers section from fulltext page, add link to new page text analyzers
Signed-off-by: alicejw <alicejw@amazon.com>
* rename page to text-analyzers
Signed-off-by: alicejw <alicejw@amazon.com>
* rmv test text for DCO check
Signed-off-by: alicejw <alicejw@amazon.com>
* for querydsl analyzers
Signed-off-by: alicejw <alicejw@amazon.com>
* for note about other 7 analyzer sections to be published soon
Signed-off-by: alicejw <alicejw@amazon.com>
* for definitions of 7 specialized analyzers and note that full reference is in-progress to be published soon
Signed-off-by: alicejw <alicejw@amazon.com>
* add note to learn more and point to concepts page
Signed-off-by: alicejw <alicejw@amazon.com>
* for peer edit comments
Signed-off-by: alicejw <alicejw@amazon.com>
* add new line
Signed-off-by: alicejw <alicejw@amazon.com>
* remove specialized modifier for the text analyzers
Signed-off-by: alicejw <alicejw@amazon.com>
* doc review comments
Signed-off-by: alicejw <alicejw@amazon.com>
* change title
Signed-off-by: alicejw <alicejw@amazon.com>
* better page title
Signed-off-by: alicejw <alicejw@amazon.com>
Signed-off-by: alicejw <alicejw@amazon.com>
* Change Data Prepper intro
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Add next steps section
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Add David's feedback
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Fix optional tags
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Address small typo
* [Data Prepper 2.0]MAINT: documentation change regarding record type (#1306)
* MAINT: documentation change regarding record type
Signed-off-by: Chen <qchea@amazon.com>
* MAINT: documentation on trace group fields
Signed-off-by: Chen <qchea@amazon.com>
Signed-off-by: Chen <qchea@amazon.com>
* Update docs for Data Prepper 2.0 (#1404)
* Update get-started
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Update pipelines.md
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Add peer forwarder options to references
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Add csv processor options to refereces
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Add docs for conditional routing
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Add docs for json processor
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Remove docs for peer forwarder plugin
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Address review feedback - revise sentences, fix inaccurate info and typos
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Add missing options for http source and peer forwarder
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Update ssl options on peer forwarder
Signed-off-by: Hai Yan <oeyh@amazon.com>
Signed-off-by: Hai Yan <oeyh@amazon.com>
* More updates for Data Prepper 2.0 (#1469)
* Update http source and opensearch sink options
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Update docker run command
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Add more missing options
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Add metadata_root_key for s3 source
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Address review comments - tweak sentences and fix typos
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Address review comments
Signed-off-by: Hai Yan <oeyh@amazon.com>
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Fix broken link
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Add reworked Getting Started page
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Undo change for getting started
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Add edited Data Prepper overview
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Add edited Data Prepper file
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
Signed-off-by: Chen <qchea@amazon.com>
Signed-off-by: Hai Yan <oeyh@amazon.com>
Co-authored-by: Qi Chen <qchea@amazon.com>
Co-authored-by: Hai Yan <8153134+oeyh@users.noreply.github.com>
* Change Data Prepper intro
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Add next steps section
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Add David's feedback
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Fix optional tags
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Address small typo
* [Data Prepper 2.0]MAINT: documentation change regarding record type (#1306)
* MAINT: documentation change regarding record type
Signed-off-by: Chen <qchea@amazon.com>
* MAINT: documentation on trace group fields
Signed-off-by: Chen <qchea@amazon.com>
Signed-off-by: Chen <qchea@amazon.com>
* Update docs for Data Prepper 2.0 (#1404)
* Update get-started
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Update pipelines.md
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Add peer forwarder options to references
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Add csv processor options to refereces
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Add docs for conditional routing
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Add docs for json processor
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Remove docs for peer forwarder plugin
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Address review feedback - revise sentences, fix inaccurate info and typos
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Add missing options for http source and peer forwarder
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Update ssl options on peer forwarder
Signed-off-by: Hai Yan <oeyh@amazon.com>
Signed-off-by: Hai Yan <oeyh@amazon.com>
* More updates for Data Prepper 2.0 (#1469)
* Update http source and opensearch sink options
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Update docker run command
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Add more missing options
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Add metadata_root_key for s3 source
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Address review comments - tweak sentences and fix typos
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Address review comments
Signed-off-by: Hai Yan <oeyh@amazon.com>
Signed-off-by: Hai Yan <oeyh@amazon.com>
* Fix broken link
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
Signed-off-by: Chen <qchea@amazon.com>
Signed-off-by: Hai Yan <oeyh@amazon.com>
Co-authored-by: Naarcha-AWS <naarcha@amazon.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Qi Chen <qchea@amazon.com>
Co-authored-by: Hai Yan <8153134+oeyh@users.noreply.github.com>
* Adds 1.3.6 to 2.3 version history
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Update version-history.md
Co-authored-by: Alice Williams <88908598+alicejw-aws@users.noreply.github.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Co-authored-by: Alice Williams <88908598+alicejw-aws@users.noreply.github.com>
* Add maintainers.md
Signed-off-by: carolxob <carolxob@amazon.com>
* Update maintainers.md
Make maintainers file more similar to other repos.
* Added maintainer names and responsibilities to maintainers page.
Signed-off-by: carolxob <carolxob@amazon.com>
Signed-off-by: carolxob <carolxob@amazon.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Added cluster permissions to cluster permissions list.
Signed-off-by: carolxob <carolxob@amazon.com>
* Moved information added information to more appropriate section in doc.
Signed-off-by: carolxob <carolxob@amazon.com>
Signed-off-by: carolxob <carolxob@amazon.com>
* adding documentation for dangling index api
Signed-off-by: ariamarble <armarble@amazon.com>
* made editorial changes
Signed-off-by: ariamarble <armarble@amazon.com>
Signed-off-by: ariamarble <armarble@amazon.com>
* Dropped the new tarball guide in here to work off of
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added comment tags to make it even more clear what isn't permanent
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Incorporating editorial feedback from tar guide and updated the template here
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Overview section added
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* More changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Working on download and install steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added liquid syntax for major version in yum repo and removed references to dashboards
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Finished Install OpenSearch from a package
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added Yum steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Removed redundant steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Removed PA plugin references
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added important settings and removed a couple missed dashboards references
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Starting work on testing opensearch
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Revisions to testing opensearch because security is enabled by default
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Wording change
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added a missing step
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Wording
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding testing steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Removed extra section since security is always enabled out of the box
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added configuration steps and verified functionality
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Working through the TLS certs portion and adding content as I vet it
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Finalized steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Final draft before review
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Revisions from doc review
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Committing editorial fixes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* for geoJSON file that has same start/endpoints for each polygon. see issue with more info https://github.com/opensearch-project/documentation-website/issues/794#issuecomment-1252908411
Signed-off-by: alicejw <alicejw@amazon.com>
* for additional images with borders and fixed errors in example GeoJSON file so it is cut and paste ready to use
Signed-off-by: alicejw <alicejw@amazon.com>
* rename new image file because replacing file with same name caused build conflict
Signed-off-by: alicejw <alicejw@amazon.com>
* image rename
Signed-off-by: alicejw <alicejw@amazon.com>
* for doc reviewer edits and more clarification to procedural steps
Signed-off-by: alicejw <alicejw@amazon.com>
* fix typo in UI name 'Region Map' visualization type
Signed-off-by: alicejw <alicejw@amazon.com>
* to add prerequisite callout for the two required plugins
Signed-off-by: alicejw <alicejw@amazon.com>
* remove commented-out note for link. unnecessary
Signed-off-by: alicejw <alicejw@amazon.com>
* for doc review updates - changed example JSON file to include only 2 counties, and other rewrites
Signed-off-by: alicejw <alicejw@amazon.com>
* remove modified region map and use original map with 2 counties
Signed-off-by: alicejw <alicejw@amazon.com>
* we decided to show the grey outlined regions in the image
Signed-off-by: alicejw <alicejw@amazon.com>
Signed-off-by: alicejw <alicejw@amazon.com>
* for rewrites to range queries
Signed-off-by: alicejw <alicejw@amazon.com>
* for seeding terms to pull up range and bool query pages in site searches
Signed-off-by: alicejw <alicejw@amazon.com>
* minor wording fix
Signed-off-by: alicejw <alicejw@amazon.com>
* reword compound query description
Signed-off-by: alicejw <alicejw@amazon.com>
* for range query rewrites
Signed-off-by: alicejw <alicejw@amazon.com>
* for doc review comments
Signed-off-by: alicejw <alicejw@amazon.com>
Signed-off-by: alicejw <alicejw@amazon.com>
* Fix headers on configurations page.
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* A few small tweaks
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
this way the detailed documentation of the API can be found more easily
when browsing the general configuration documentation.
Co-authored-by: Naarcha-AWS <naarcha@amazon.com>
Signed-off-by: Ralph Ursprung <Ralph.Ursprung@avaloq.com>
Signed-off-by: Ralph Ursprung <Ralph.Ursprung@avaloq.com>
Co-authored-by: Naarcha-AWS <naarcha@amazon.com>
* Change remote store documentation to reflect all the config options
Signed-off-by: Sachin Kale <kalsac@amazon.com>
* Address review comments
Signed-off-by: Sachin Kale <kalsac@amazon.com>
* Address review comments
Signed-off-by: Sachin Kale <kalsac@amazon.com>
Signed-off-by: Sachin Kale <kalsac@amazon.com>
Co-authored-by: Sachin Kale <kalsac@amazon.com>
* to check in the cache API for Steve
Signed-off-by: alicejw <alicejw@amazon.com>
* for editorial review feedback modifications
Signed-off-by: alicejw <alicejw@amazon.com>
* doc review update
Signed-off-by: alicejw <alicejw@amazon.com>
Signed-off-by: alicejw <alicejw@amazon.com>
_mappings and mappings should not be specified at the same time when sending out create mapping request
If index doesn't exist, the url should not include _mappings as part of it's path, otherwise it will throw index not exist error
If index already exists, the mappings object should not be included in the body, other wise it will throw mapping parse error exception
Signed-off-by: xluo-aws <lxuesong@amazon.com>
Signed-off-by: xluo-aws <lxuesong@amazon.com>
* Pulling in changes from the doc review that were requested after approval
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Found a lost comma and returned it to its owner
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Created page based on structure of PR 1163
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added prerequisite steps for enabling the feature and its dependency
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding more
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Adding more content
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Finishing up and ready for tech review
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Moved page per dev request
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixed header and changed heading sizes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Ready for tech review
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added link to segment replication
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* add note regarding required use of TLS transport
"basic usage" doesn't mention that the securityadmin.sh command will fail outright if "plugins.security.ssl.http.enabled" is set to "false"
Signed-off-by: David Vassallo <davevassallo@gmail.com>
* Update _security-plugin/configuration/security-admin.md
Signed-off-by: David Vassallo <davevassallo@gmail.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Add one copy edit
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
Signed-off-by: David Vassallo <davevassallo@gmail.com>
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
Co-authored-by: David Vassallo <davevassallo@gmail.com>
* More changes and removing references to OS core as this page is for dashboards only
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Finalized steps for rpm install
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Typo
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Phrasing
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Finishing up
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Final changes.
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* custom json model for anomaly detector #910
Signed-off-by: alicejw <alicejw@amazon.com>
* for additional steps
Signed-off-by: alicejw <alicejw@amazon.com>
* for UI element reformat to bold per style guide
Signed-off-by: alicejw <alicejw@amazon.com>
Signed-off-by: alicejw <alicejw@amazon.com>
* Add script documentation.
Signed-off-by: Steve Murphy <stevemurphy@BCSR-11413.local>
* Use my own example script insteady of Elastic's.
Signed-off-by: Steve Murphy <stevemurphy@BCSR-11413.local>
* edditing and format changes. verified API requests and scripts. various corrections
Signed-off-by: ariamarble <armarble@amazon.com>
* made a couple of suggested changes
Signed-off-by: ariamarble <armarble@amazon.com>
* made further corrections
Signed-off-by: ariamarble <armarble@amazon.com>
Signed-off-by: Steve Murphy <stevemurphy@BCSR-11413.local>
Signed-off-by: ariamarble <armarble@amazon.com>
Co-authored-by: Steve Murphy <stevemurphy@BCSR-11413.local>
* Added guidance about zip syntax differences between local and remote files
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added disclaimer about Maven
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added disclaimer about protocols
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Caught a small typo and fixed it
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* add note regarding required use of TLS transport
"basic usage" doesn't mention that the securityadmin.sh command will fail outright if "plugins.security.ssl.http.enabled" is set to "false"
Signed-off-by: David Vassallo <davevassallo@gmail.com>
* Update _security-plugin/configuration/security-admin.md
Signed-off-by: David Vassallo <davevassallo@gmail.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Signed-off-by: David Vassallo <davevassallo@gmail.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* Added Maven coordinates syntax and sample command
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Changes to the overall layout
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Removed the extra table of contents - users don't need 3 on the same page
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Minor changes
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Finished clean up
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Found a missing word and fixed it
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* New PR because the old one was corrupted by a commit without DCO
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixed syntax for bullet/numbered lists.
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added validation steps to the end
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Cleaning up phrasing and grammar
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Making some changes based on peer feedback
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixing opening section
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixing phrasing and rewording headers
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Cleaning up more
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Moved unrelated content to the appropriate pages and deleted from this guide
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added templates for links
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added a few related links that make sense as logical next steps
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Cleaned up link formatting. Ready for review now.
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Applied changes recommended by vagimeli
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Applied changed from PR review
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added step numbers to headers and periods to bullet list at the top
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fix typo in script comment
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Made most of the editorial changes but there are a couple open items
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Final editorial changes applied, ready to merge
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
There is no mention of doc_as_upsert in OS documention, but it appears to be supported. Some examples to go along with the passing mention of scripts & especially upsert would go a long way
This also addresses #755
Signed-off-by: Alek Poteet <patrick.poteet@shipveho.com>
Signed-off-by: Alek Poteet <patrick.poteet@shipveho.com>
* Added list of plugins that can be installed by name
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Fixed a typo
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added plugin-name to the command under additional plugins
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* add files for snapshot creation
Signed-off-by: Steve Murphy <stevemurphy@BCSR-11413.local>
* Create new topics and fix existing. Modify index.md
Signed-off-by: Steve Murphy <stevemurphy@BCSR-11413.local>
* Address Fanit's edits. Apply edits to other files as needed for consistenty. Create new files: get-snapshot.status.md and restore-snapshot.md.
Signed-off-by: Steve Murphy <stevemurphy@BCSR-11413.local>
* Add .md file extension to get-snapshot-repository file
Signed-off-by: Steve Murphy <stevemurphy@BCSR-11413.local>
* Add verify-snapshot-repository.md, renumber nav_order in other snapshot topics to place the new topic correctly.
Signed-off-by: Steve Murphy <stevemurphy@BCSR-11413.local>
* Apply Fanit's edits to restore-snapsnot.md and verify-snapshot-repository.md
Signed-off-by: Steve Murphy <stevemurphy@BCSR-11413.local>
* Address Fanit's edits.
Signed-off-by: Steve Murphy <stevemurphy@BCSR-11413.local>
* Change 'Response fields' heading level to 3.
Signed-off-by: Steve Murphy <stevemurphy@BCSR-11413.local>
Signed-off-by: Steve Murphy <stevemurphy@BCSR-11413.local>
Co-authored-by: Steve Murphy <stevemurphy@BCSR-11413.local>
* Removed html table and added markdown table
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Removed html table and added markdown table part 2
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Sorted list of plugins
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Added repo links and plugin names
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* A little more polish. Ready for review.
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* Small tweaks to formatting so the footnote doesn't run into the end of the table
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
* added resource_stats object to sample responses
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Added information about log files
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Removed resource_stats from existing sample responses that lack the detailed flag
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Added example with detailed parameter
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Changed phrasing to use active voice
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Removed extra comma from sample JSON and rephrased feature description
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Replaced query string in detailed flag example with placeholder
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Small wording change
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Added reference to RFC2818 along with guidance to add subjectAltNames ext when generating certs
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Cleaned up wording in cert generation section
Wording before was redundant and there was a fragment sentence left in. I cleaned that up to make it readable.
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Spot fixes of terms, added SAN guidance and references and cleaned up sample script
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Updated sample script to clean up the extension files too
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Cleaned up formatting, removed SAN reference in admin cert steps
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Removed extra word from node cert steps
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Removed reference to admin.ext from sample script since it doesn't exist anymore
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Clarified wording for upgrade approaches and added link reference to ODFE migration blog post
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Cleared up some verbiage
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Add ML node instructions
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Change cluster settings from ml to dynamic
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Quick typo fix
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Adjust ML docs to remove dymanic mention. Adjust CAT example to be general
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Add editorial feedback.
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Fix columns in example
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Added reference to OS 2.x and fixed version ranges in the existing tables
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Adjusted formatting for Beats compatibility guidance and fixed a typo
Signed-off-by: jeffhuss <jeffhuss@amazon.com>
* Make sure 2.x yum installation match 1.x naming patterns
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
* Tweak a bit
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
* Tweak a bit
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
* Added documentation for Data Prepper 1.5.0.
Signed-off-by: David Venable <dlv@amazon.com>
* Responding to PR feedback for the Data Prepper documentation.
Signed-off-by: David Venable <dlv@amazon.com>
* Responding to additional PR feedback for the Data Prepper documentation.
Signed-off-by: David Venable <dlv@amazon.com>
* Added links to S3 and SQS
Signed-off-by: David Venable <dlv@amazon.com>
* Add back Data Prepper 1.4 docs (#698)
* Add back Data Prepper 1.4 docs
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Fix Data Prepper Docker image
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
* Update GitHub links to `main` branches rather than `master` where it has been changed
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
Co-authored-by: Aaron Carson <aaron@aaroncarson.co.uk>
* for cluster manager term update
Signed-off-by: alicejw <alicejw@amazon.com>
* for small fix
Signed-off-by: alicejw <alicejw@amazon.com>
* to change to
Signed-off-by: alicejw <alicejw@amazon.com>
1. Fixing all reported dead links.
2. Changing `title` value in index.md back to plural form, i.e. "Nodes APIs".
The second change fixed missing child pages. I am not saying I insist on use of plural form but if we want to change it to a singular form then we also have to change `parent` fields in all child pages to correctly refer to valid parent, otherwise all child pages and content is missing.
As for the debate of use APIs vs API (plural vs singular) I just want to point out that right now there are many other parent pages using plural form. If we want to change that then I suggest doing it in separate PR and include other relevant parent pages too.
Closes: #591
Signed-off-by: Lukáš Vlček <lukas.vlcek@aiven.io>
Additional improvements:
- The master_timeout is marked as deprecated and cluster_manager_timeout is suggested instead
- A required permissions is also documented
- The JSON example response is completed
Closes: #552
Signed-off-by: Lukáš Vlček <lukas.vlcek@aiven.io>
In this commit we are introducing a new section in REST API Reference for Nodes APIs.
We are adding documentation for "Nodes hot threads" and "Nodes info". Because Nodes APIs share common request parameters we also add more detailed section into parent index page (notice that the nodes-filter parameter was moved from "Cluster stats" page and was improved, and relevant links were updated).
There are more Nodes APIs that still need to be documented, this is just a good start.
We updated nav_order parameter for some pages as well.
Relevant ticket: #424
Signed-off-by: Lukáš Vlček <lukas.vlcek@aiven.io>
this adds very rudimentary documentation for TLQ so that it at least
doesn't go unmentioned. however, there are many more details which
should be mentioned. this should then be done with #430.
more information can be found in the [Elasticsearch TLQ
Documentation][ESTLQ]. i'm not 100% sure whether this was under the
Apache 2.0 license in 7.10 (the repo states that everything is Apache
2.0 unless explicitly stated otherwise in the file and the documentation
files don't seem to include any other license?) and thus didn't simply
take over the documentation from there (which would of course be the
easiest and most complete way of doing it).
also i'm not sure (and didn't find this information anywhere) whether
the test data actually exists and the queries can be run against the
test data? in that case the provided example either needs to be adapted
to the existing test data or the test data needs to be extended
accordingly (i doubt that an index `play-assignments` already exists?).
due to this the example has also not been tested.
Signed-off-by: Ralph Ursprung <Ralph.Ursprung@avaloq.com>
[ESTLQ]: https://www.elastic.co/guide/en/elasticsearch/reference/7.10/query-dsl-terms-query.html#query-dsl-terms-lookup
In the [yml format](https://logging.apache.org/log4j/2.x/manual/configuration.html#Configuration_with_Properties) in of the log4j properties file, a logger is declared with logger.LOGGER_NAME.name, the value of LOGGER_NAME can be set as desired by the user. When the example included the `.` operator it was treated as another object and 'security' was referenced as a key which didn't resolve to anything.
Signed-off-by: Peter Nied <petern@amazon.com>
- The removed snippet is actually a duplicate
of the previous one (finding template by its name).
- Also a snippet for listing all temlates already exists; first from top
Signed-off-by: Luka Romih <luka_romih@outlook.com>
Some browser+OS combinations trigger `blur` on the version-selector before a click within the component. To mitigate this, an extra `pointerup` listener was attached but that didn't solve the problem for Safari 15.x. However, `delegatesFocus: true` makes the shadow host focusable and that helps work around this problem.
Fixes: #307
Signed-off-by: Miki <mehranb@amazon.com>
Adding newly-available plugins to the installation page, remove large section of commented-out content, revise/fix some content that was left over from the Open Distro plugins page, reorder page.
Signed-off-by: jcgraybill <65628360+jcgraybill@users.noreply.github.com>
_List any issues this PR will resolve, e.g. Closes [...]._
### 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](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).
For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).
message:"'%s': Spell out acronyms the first time that you use them on a page and follow them with the acronym in parentheses. Subsequently, use the acronym alone."
message:"Use '%s' instead of '%s' for versions or orientation within a document. Use 'above' and 'below' only for physical space or screen descriptions."
message:"Use '%s' instead of '%s' for window, page, or pane references to features or controls. Use 'top' and 'bottom' only as a general screen reference."
message:"'%s': Use 'AWS Signature Version 4' instead of '%s' on first appearance. Then, Signature Version 4 may be used. Only use SigV4 when space is limited."
This guide provides the basic structure for creating OpenSearch API documentation. It includes the various elements that we feel are most important to creating complete and useful API documentation, as well as description and examples where appropriate.
Depending on the intended purpose of the API, *some sections will be required while others may not be applicable*.
Use the [API_TEMPLATE](templates/API_TEMPLATE.md) to create an API documentation page.
### A note on terminology ###
Terminology for API parameters varies in the software industry, where two or even three names may be used to label the same type of parameter. For consistency, we use the following nomenclature for parameters in our API documentation:
* *Path parameter*– "path parameter" and "URL parameter" are sometimes used synonymously. To avoid confusion, we use "path parameter" in this documentation.
* *Query parameter*– This parameter name is often used synonymously with "request parameter." We use "query parameter" to be consistent.
### General usage for code elements
When you describe any code element in a sentence, such as an API, a parameter, or a field, you can use the noun name.
*Example usage*:
The time field provides a timestamp for job completion.
When you provide an exact example with a value, you can use the code element in code font.
*Example usage*:
The response provides a value for `time_field`, such as “timestamp.”
Provide a REST API call example in `json` format. Optionally, also include the `curl` command if the call can only be executed in a command line.
## Basic elements for documentation
The following sections describe the basic API documentation structure. Each section is discussed under its respective heading. Include only those elements appropriate to the API.
Depending on where the documentation appears within a section or subsection, heading levels may be adjusted to fit with other content.
1. Name of API (heading level 2)
1. (Optional) Path and HTTP methods (heading level 3)
1. Path parameters (heading level 3)
1. Query parameters (heading level 3)
1. Request fields (heading level 3)
1. Example request (heading level 4)
1. Example response (heading level 4)
1. Response fields (heading level 3)
## API name
Provide an API name that describes its function, followed by a description of its top use case and any usage recommendations.
*Example function*: "Autocomplete queries"
Use sentence capitalization for the heading (for example, "Create or update mappings"). When you refer to the API operation, you can use lowercase with code font.
If there is a corresponding OpenSearch Dashboards feature, provide a “See also” link that references it.
*Example*: “To learn more about monitor findings, see [Document findings](https://opensearch.org/docs/latest/monitoring-plugins/alerting/monitors/#document-findings)."
If applicable, provide any caveats to its usage with a note or tip, as in the following example:
"If you use the Security plugin, make sure you have the appropriate permissions."
(To set this point in note-style format, follow the text on the next line with {: .note})
### Path and HTTP methods
For relatively complex API calls that include path parameters, it's sometimes a good idea to provide an example so that users can visualize how the request is properly formed. This section is optional and includes examples that illustrate how the endpoint and path parameters fit together in the request. The following is an example of this section for the nodes stats API:
```json
GET /_nodes/stats
GET /_nodes/<node_id>/stats
GET /_nodes/stats/<metric>
GET /_nodes/<node_id>/stats/<metric>
GET /_nodes/stats/<metric>/<index_metric>
GET /_nodes/<node_id>/stats/<metric>/<index_metric>
```
### Path parameters
While the API endpoint states a point of entry to a resource, the path parameter acts on the resource that precedes it. Path parameters come after the resource name in the URL.
In the following example, the resource is `scroll` and its path parameter is `<scroll_id>`:
```json
GET _search/scroll/<scroll_id>
```
Introduce what the path parameters can do at a high level. Provide a table with parameter names and descriptions. Include a table with the following columns:
*Parameter* – Parameter name in plain font.
*Data type* – Data type capitalized (such as Boolean, String, or Integer).
*Description* – Sentence to describe the parameter function, default values or range of values, and any usage examples.
Parameter | Data type | Description
:--- | :--- | :---
### Query parameters
In terms of placement, query parameters are always appended to the end of the URL and located to the right of the operator "?". Query parameters serve the purpose of modifying information to be retrieved from the resource.
In the following example, the endpoint is `aliases` and its query parameter is `v` (provides verbose output):
```json
GET _cat/aliases?v
```
Include a paragraph that describes how to use the query parameters with an example in code font. Include the query parameter operator "?" to delineate query parameters from path parameters.
For GET and DELETE APIs: Introduce what you can do with the optional parameters. Include a table with the same columns as the path parameter table.
Parameter | Data type | Description
:--- | :--- | :---
### Request fields
For PUT and POST APIs: Introduce what the request fields are allowed to provide in the body of the request.
Include a table with these columns:
*Field* – Field name in plain font.
*Data type* – Data type capitalized (such as Boolean, String, or Integer).
*Description* – Sentence to describe the field’s function, default values or range of values, and any usage examples.
Field | Data type | Description
:--- | :--- | :---
#### Example request
Provide a sentence that describes what is shown in the example, followed by a cut-and-paste-ready API request in JSON format. Make sure that you test the request yourself in the Dashboards Dev Tools console to make sure it works. See the following examples.
The following request gets all the settings in your index:
```json
GET /sample-index1/_settings
```
The following request copies all of your field mappings and settings from a source index to a destination index:
```json
POST _reindex
{
"source":{
"index":"sample-index-1"
},
"dest":{
"index":"sample-index-2"
}
}
```
#### Example response
Include a JSON example response to show what the API returns. See the following examples.
The `GET /sample-index1/_settings` request returns the following response fields:
```json
{
"sample-index1": {
"settings": {
"index": {
"creation_date": "1622672553417",
"number_of_shards": "1",
"number_of_replicas": "1",
"uuid": "GMEA0_TkSaamrnJSzNLzwg",
"version": {
"created": "135217827",
"upgraded": "135238227"
},
"provided_name": "sample-index1"
}
}
}
}
```
The `POST _reindex` request returns the following response fields:
```json
{
"took" : 4,
"timed_out" : false,
"total" : 0,
"updated" : 0,
"created" : 0,
"deleted" : 0,
"batches" : 0,
"version_conflicts" : 0,
"noops" : 0,
"retries" : {
"bulk" : 0,
"search" : 0
},
"throttled_millis" : 0,
"requests_per_second" : -1.0,
"throttled_until_millis" : 0,
"failures" : [ ]
}
```
### Response fields
For PUT and POST APIs: Define all allowable response fields that can be returned in the body of the response.
- [Setting up your local copy of the repository](#setting-up-your-local-copy-of-the-repository)
- [Making, viewing, and submitting changes](#making-viewing-and-submitting-changes)
- [Review process](#review-process)
- [Style linting](#style-linting)
- [Getting help](#getting-help)
Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional
documentation, we greatly value feedback and contributions from our community.
# Contributing guidelines
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary
information to effectively respond to your bug report or contribution.
Thank you for your interest in improving the OpenSearch documentation! We value and appreciate all feedback and contributions from our community, including requests for additional documentation, corrections to existing content, and reports of technical issues with the documentation site.
You can [create an issue](#creating-an-issue) asking us to change the documentation or [contribute content](#contributing-content) yourself.
## Reporting Bugs/Feature Requests
NOTE: If you’d like to contribute but don't know where to start, try browsing existing [issues](https://github.com/opensearch-project/documentation-website/issues). Our projects use custom GitHub issue labels for status, version, type of request, and so on. We recommend starting with any issue labeled "good first issue" if you're a beginner or "help wanted" if you're a more experienced user.
We welcome you to use the GitHub issue tracker to report bugs or suggest features.
## Creating an issue
When filing an issue, please check existing open, or recently closed, issues to make sure somebody else hasn't already
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:
Use the documentation issue template to describe the change you'd like to make:
* A reproducible test case or series of steps
* The version of our code being used
* Any modifications you've made relevant to the bug
* Anything unusual about your environment or deployment
1. Go to https://github.com/opensearch-project/documentation-website/issues and select **New issue**.
1. Enter the requested information, including as much detail as possible, especially which version or versions the request affects.
1. Select **Submit new issue**.
The `untriaged` label is assigned automatically. During the triage process, the Documentation team will add the appropriate labels, assign the issue to a technical writer, and prioritize the request. We may follow up with you for additional information.
## Contributing via Pull Requests
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
## Contributing content
1. You are working against the latest source on the *main* branch.
2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
3. You open an issue to discuss any significant work - we would hate for your time to be wasted.
There are two ways to contribute content, depending on the magnitude of the change:
To send us a pull request, please:
- [Minor changes](#making-minor-changes): For small changes to existing files, like fixing typos or adding parameters, you can edit files in GitHub directly. This approach does not require cloning the repository and does not allow you to test the documentation.
- [Major changes](#making-major-changes): For changes you want to test first, like adding new or reorganizing pages or adding a table or section, you can edit files locally and push the changes to GitHub. This approach requires setting up a local version of the repository and allows you to test the documentation.
1. Fork the repository.
2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change.
3. Ensure local tests pass.
4. Commit to your fork using clear commit messages.
5. Send us a pull request, answering any default questions in the pull request interface.
6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
### Contribution workflow
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
The workflow for contributing documentation is the same as the one for contributing code:
- Make your changes.
- Build the documentation website to check your work (only possible if you are making changes locally).
- Submit a [pull request](https://github.com/opensearch-project/documentation-website/pulls) (PR).
- A maintainer reviews and merges your PR.
## Finding contributions to work on
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any 'help wanted' issues is a great place to start.
### Before you start
Before contributing content, make sure to read the following resources:
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
opensource-codeofconduct@amazon.com with any additional questions or comments.
NOTE: Make sure that any documentation you submit is your own work or work that you have the right to submit. We respect the intellectual property rights of others, and as part of contributing, we'll ask you to sign your contribution with a [Developer Certificate of Origin (DCO)](https://github.com/opensearch-project/.github/blob/main/CONTRIBUTING.md#developer-certificate-of-origin) stating that you have the right to submit your contribution and that you understand that we will use your contribution.
### Making minor changes
## Security issue notifications
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
If you want to make minor changes to an existing file, you can use this approach:
1. [Fork this repository](https://docs.github.com/en/get-started/quickstart/fork-a-repo).
## Licensing
1. In your fork on GitHub, navigate to the file that you want to change.
See the [LICENSE](LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
1. In the upper-right corner, select the pencil icon and edit the file.
1. In the upper-right corner, select **Commit changes...***. Enter the commit message and optional description and select **Create a new branch for this commit and start a pull request**.
### Making major changes
If you're adding a new page or making major changes to the documentation, such as adding new images, sections, or styling, we recommend that you work in a local copy of the repository and test the rendered HTML before submitting a PR.
#### Setting up your local copy of the repository
Follow these steps to set up your local copy of the repository:
1. [Fork this repository](https://docs.github.com/en/get-started/quickstart/fork-a-repo) and clone your fork.
1. Navigate to your cloned repository.
1. Install [Ruby](https://www.ruby-lang.org/en/) if you don't already have it. We recommend [RVM](https://rvm.io/), but you can use any method you prefer:
```
curl -sSL https://get.rvm.io | bash -s stable
rvm install 3.2
ruby -v
```
1. Install [Bundler](https://bundler.io/) if you don't already have it:
```
gem install bundler
```
1. Install Jekyll and all the dependencies:
```
bundle install
```
#### Making, viewing, and submitting changes
Here's how to build the website, make changes, and view them locally:
1. Build the website:
```
sh build.sh
```
The build script should automatically open your web browser, but if it doesn't, open [http://localhost:4000/docs/](http://localhost:4000/docs/).
1. Create a new branch against the latest source on the main branch.
1. Edit the Markdown files that you want to change.
1. When you save a file, Jekyll automatically rebuilds the site and refreshes your web browser. This process can take 60--90 seconds.
1. When you're happy with how everything looks, commit, [sign off](https://github.com/src-d/guide/blob/9171d013c648236c39faabcad8598be3c0cf8f56/developer-community/fix-DCO.md#how-to-prevent-missing-sign-offs-in-the-future), push your changes to your fork, and submit a PR.
Note that a PR requires DCO sign-off before we can merge it. You can use the -s command line option to append this automatically to your commit message, for example, `git commit -s -m 'This is my commit message'`. For more information, see https://github.com/apps/dco.
## Review process
We greatly appreciate all contributions to the documentation and will review them as quickly as possible.
During the PR process, expect that there will be some back-and-forth. If you want your contribution to be merged quickly, try to respond to comments in a timely fashion, and let us know if you don't want to continue with the PR.
We use the [Vale](https://github.com/errata-ai/vale) linter to ensure that our documentation adheres to the [OpenSearch Project Style Guidelines](STYLE_GUIDE.md). Addressing Vale comments on the PR expedites the review process. You can also install Vale locally so you can address the comments before creating a PR. For more information, see [Style linting](#style-linting).
If we accept the PR, we will merge it and will backport it to the appropriate branches.
### Style linting
To ensure that our documentation adheres to the [OpenSearch Project Style Guidelines](STYLE_GUIDE.md), we use the [Vale](https://github.com/errata-ai/vale) linter. Addressing Vale comments on the PR expedites the review process. You can also install Vale locally as follows so you can address the comments before creating a PR:
1. Run `brew install vale`.
2. Run `vale *` from the documentation site root directory to lint all Markdown files. To lint a specific file, run `vale /path/to/file`.
Optionally, you can install the [Vale VSCode](https://github.com/chrischinchilla/vale-vscode) extension, which integrates Vale with Visual Studio Code. By default, only _errors_ and _warnings_ are underlined. To change the minimum alert level to include _suggestions_, go to **Vale VSCode** > **Extension Settings** and select **suggestion** in the **Vale > Vale CLI: Min Alert Level** dropdown list.
## Getting help
For help with the contribution process, reach out to one of the [points of contact](README.md#points-of-contact).
This guide provides an overview of the formatted elements commonly used in the OpenSearch documentation.
* * *
### Table of contents
* [Adding pages or sections](#adding-pages-or-sections)
* [Buttons](#buttons)
* [Callouts](#callouts)
* [Collapsible blocks](#collapsible-blocks)
* [Dashes](#dashes)
* [Horizontal rule](#horizontal-rule)
* [Images](#images)
* [Images in line with text](#images-in-line-with-text)
* [Labels](#labels)
* [Links](#links)
* [Lists](#lists)
* [Unordered lists](#unordered-lists)
* [Ordered lists](#ordered-lists)
* [Nested lists](#nested-lists)
* [Lists with code snippets or images](#lists-with-code-snippets-or-images)
* [Math](#math)
* [Tables](#tables)
* [Text style](#text-style)
* [Variables in curly braces](#variables-in-curly-braces)
* [Videos](#videos)
* * *
## Adding pages or sections
This repository contains [Markdown](https://guides.github.com/features/mastering-markdown/) files organized into Jekyll _collections_ (for example, `_api-reference` or `_dashboards`). Each Markdown file corresponds to one page on the website.
In addition to the content for a given page, each Markdown file contains some Jekyll [front matter](https://jekyllrb.com/docs/front-matter/) similar to the following:
```
---
layout: default
title: Date
nav_order: 25
has_children: false
parent: Date field types
grand_parent: Supported field types
---
```
If you want to reorganize content or add a new page, make sure to set the appropriate `has_children`, `parent`, `grand_parent`, and `nav_order` variables, which define the hierarchy of pages in the left navigation.
When adding a page or a section, make the `nav_order` of the child pages multiples of 10. For example, if you have a parent page `Clients`, make child pages `Java`, `Python`, and `JavaScript` have a `nav_order` of 10, 20, and 30, respectively. Doing so makes inserting additional child pages easier because it does not require you to renumber existing pages.
Each collection must have an `index.md` file that corresponds to the collection's index page. In the `index.md` file's front matter, specify `nav_excluded: true` so that the page does not appear separately under the collection.
## Buttons
You can use either `copy` or `copy-curl` includes for code snippets. The `copy` include places a **Copy** button on the code snippet, while the `copy-curl` include places both **Copy** and **Copy as cURL** buttons. Use the `copy-curl` include for API requests. If an API request is already in the cURL format, use the `copy` include.
To insert an open collapsible block, use the `<details>` element as follows:
````html
<detailsopenmarkdown="block">
<summary>
Response
</summary>
{: .text-delta}
```json
{
"_nodes" : {
"total" : 1,
"successful" : 1,
"failed" : 0
}
}
```
</details>
````
To insert a closed collapsible block, omit the `open` state:
````html
<detailsmarkdown="block">
<summary>
Response
</summary>
{: .text-delta}
```json
{
"_nodes" : {
"total" : 1,
"successful" : 1,
"failed" : 0
}
}
```
</details>
````
Collapsible blocks are useful for long responses and for the Table of Contents at the beginning of a page.
## Dashes
Use one dash for hyphens, two for en dashes, and three for em dashes:
```
upper-right
10--12 nodes per cluster
There is one candidate generator available---`direct_generator`.
```
## Horizontal rule
A horizontal rule is used to separate text sections. Use three asterisks separated by spaces for a horizontal rule:
```
## Why use OpenSearch?
* * *
```
## Images
Place images in the `images` directory of the documentation website. To refer to images, use relative links (see [Internal links](#internal-links) for more information).
Markdown images are responsive by default. To insert a Markdown image, use the `` syntax:
To stretch the image to fit the width of the main body panel, use width=“100%”.
To take high-resolution screenshots, in Firefox, right-click on the page and choose “Take Screenshot”.
Image borders are automatic; do not manually add a border to an image.
Always **separate an image from the text with a blank line**:
```
To send a query to OpenSearch, select the query by placing the cursor anywhere in the query text. Then choose the triangle on the top right of the request or press `Ctrl/Cmd+Enter`:
Do not place an image next to text or insert artificial line breaks using `<br>`. Otherwise, the text might render as aligned to the bottom of the image, with the image on the right.
If the image is under a list item, place it on a new line with a tab. For more examples, see [Lists with code snippets or images](#lists-with-code-snippets-or-images).
### Images in line with text
When describing an icon, use the icon's name followed by an inline image in parentheses. Insert the image in line with text using the `nomarkdown` extension and an HTML image:
```
Choose the play icon ({::nomarkdown}<imgsrc="{{site.url}}{{site.baseurl}}/images/dev-tools/play-icon.png"class="inline-icon"alt="play icon"/>{:/}) on the upper right of the request.
```
## Labels
You can use the following labels:
* label-blue
* label-green
* label-purple
* label-red
* label-yellow
Use a purple label to specify the version in which an API was introduced:
```
# Alias
Introduced 1.0
{: .label .label-purple }
```
If we introduce a breaking change to an operation, add an additional label with a link to the release note for that breaking change:
```
## Get roles
Introduced 1.0
{: .label .label-purple }
[Last breaking change 2.0](https://example.com)
{: .label .label-red }
```
## Links
To add a link to a document, section, or image, use the `[name](link)` syntax, for example:
```
## Looking for the Javadoc?
See [opensearch.org/javadocs/](https://opensearch.org/javadocs/).
```
### Section links
**Section links** are links to headings in your document. Markdown lowercases the headings for links, drops back ticks, and replaces spaces with hyphens:
```
## The `minimum_should_match` parameter
For more information, see [the `minimum_should_match` parameter](#the-minimum_should_match-parameter).
```
### Internal links
**Internal links** are links to another document or image within the documentation website. Because the documentation website is versioned, do not hard code the version number in the link. Use the relative path, where `{{site.url}}{{site.baseurl}}` refers to the main directory, instead:
```
If you need to use a field for exact-value search, map it as a [`keyword`]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/keyword/).
```
### GitHub links
When linking to a GitHub issue or PR, refer to the issue or PR number in the following format:
```
For more details, see issue [#1940](https://github.com/opensearch-project/opensearch/issues/1940).
```
## Lists
Markdown supports unordered and ordered lists, nested lists, and lists with code snippets or images.
### Unordered lists
Use asterisks or dashes for unordered lists:
```
* One
* Two
```
or
```
- One
- Two
```
Lists with dashes render the list items closer to each other vertically, while lists with asterisks have more space between the lines.
Don’t mix and match asterisks and dashes.
### Ordered lists
Use all 1s for ordered lists:
```
1. One
1. Two
```
Jekyll will automatically correctly number the items, and it will be much easier for you to insert and delete items without renumbering.
If there is a paragraph in the middle of a list, the list will restart with 1 after the paragraph. If you want to continue the list after the paragraph, use `counter-reset: none`:
```
1. One
Paragraph that breaks the numbering
{:style="counter-reset: none"}
1. Two
```
### Nested lists
Use tabs to nest lists:
```
1. Parent 1
- Child 1
- Child 2
- Grandchild 1
```
Markdown automatically adjusts numbered lists so that they use numbers and letters, so always use 1s for nested numbered lists.
### Lists with code snippets or images
If you need to position an image or a code snippet within a list, use tabs to signal to Markdown that the image or code snippet is part of the list item.
**Example with code snippets**
```
1. Run the demo batch script.
There are two ways of running the batch script:
1. Run the batch script using the Windows UI:
1. Navigate to the top directory of your OpenSearch installation and open the `opensearch-{{site.opensearch_version}}` folder.
1. Run the batch script by double-clicking the `opensearch-windows-install.bat` file. This opens a command prompt with an OpenSearch instance running.
1. Run the batch script from Command prompt or Powershell:
1. Open Command Prompt by entering `cmd`, or Powershell by entering `powershell`, in the search box next to ****Start**** on the taskbar.
1. Change to the top directory of your OpenSearch installation.
```bat
cd \path\to\opensearch-{{site.opensearch_version}}
```
1. Run the batch script.
```bat
.\opensearch-windows-install.bat
```
```
**Example with images**
```
1. To begin, select the rule in the **Rule name** column. The rule details pane opens, as shown in the following image.
<imgsrc="{{site.url}}{{site.baseurl}}/images/Security/rule-dup2.png"alt="Opening the rule details pane"width="50%">
1. Select the **Duplicate** button in the upper-right corner of the pane. The **Duplicate rule** window opens in Visual Editor view, and all of the fields are automatically populated with the rule's details. Details are also populated in YAML Editor view, as shown in the following image.
<imgsrc="{{site.url}}{{site.baseurl}}/images/Security/dupe-rule.png"alt="Selecting the duplicate button opens the Duplicate rule window"width="50%">
```
## Math
To add mathematical expressions to a page, add `has_math: true` to the page’s front matter. Then insert LaTeX math into HTML tags with the rest of your Markdown content, as shown in the following example:
```
## Math
Some Markdown paragraph. Here's a formula:
<p>
When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are
\[x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\]
</p>
And back to Markdown.
```
## Tables
Markdown table columns are automatically sized, and there is no need to specify a different number of dashes in the formatting.
**Example**
```
Header 1 | Header 2
:--- | :---
Body 1 | Body 2, which is extremely lengthy, but there is no need to specify its width.
```
To insert line breaks within tables, use `<br>`:
```
Header 1 | Header 2
:--- | :---
Body 1 | Body paragraph 1 <br> Body paragraph 2
```
To use lists within a table, use `<br>` and `-` :
```
Header 1 | Header 2
:--- | :---
Body 1 | List:<br>- One<br>- Two
```
You can also use ` ` to insert one space, ` ` to insert two spaces, and ` ` to insert four spaces in table cells.
If you need a list with real bullet points, use the bullet point HTML code:
```
Header 1 | Header 2
:--- | :---
Body 1 | List:<br> • One<br> • Two
```
## Text style
You can style text in the following ways:
* ```**bold**```
* ```_italic_``` or ```*italic*```
For guidance on using code examples and when to use code font, see [Code examples](https://github.com/opensearch-project/documentation-website/blob/main/STYLE_GUIDE.md#code-examples).
## Variables in curly braces
To correctly display variables that are in curly braces, escape the curly braces with the `{% raw %}{% endraw %}` tags:
````
"message_template": {
"source": "the index is {% raw %}{{ctx.index}}{% endraw %}"
}
````
The variable `ctx.index` is rendered in double curly braces.
## Videos
To insert a video, add a YouTube player include similar to the following:
```
{% include youtube-player.html id='_g46WiGPhFs' %}
```
Note that the `id` variable refers to the YouTube video ID at the end of the URL. For example, the YouTube video at the URL `https://youtu.be/_g46WiGPhFs` has the ID `_g46WiGPhFs`. The ID must be surrounded with single quotation marks.
This document contains a list of maintainers in this repo. See [opensearch-project/.github/RESPONSIBILITIES.md](https://github.com/opensearch-project/.github/blob/main/RESPONSIBILITIES.md#maintainer-responsibilities) that explains what the role of maintainer means, what maintainers do in this and other repos, and how they should be doing it. If you're interested in contributing, and becoming a maintainer, see [CONTRIBUTING](CONTRIBUTING.md).
This repository contains the documentation for OpenSearch, the search, analytics, and visualization suite with advanced security, alerting, SQL support, automated index management, deep performance analysis, and more. You can find the rendered documentation at [opensearch.org/docs](https://opensearch.org/docs).
- Do you work on one of the various OpenSearch plugins? Take a look at the documentation for the plugin. Is everything accurate? Will anything change in the near future?
Often, engineering teams can keep existing documentation up-to-date with minimal effort, thus freeing up the documentation team to focus on larger projects.
## 你可以做什么样的帮助
- Do you have expertise in a particular area of OpenSearch? Cluster sizing? The query DSL? Painless scripting? Aggregations? JVM settings? Take a look at the [current content](https://opensearch.org/docs/opensearch/) and see where you can add value. The [documentation team](#points-of-contact) is happy to help you polish and organize your drafts.
- Are you an OpenSearch Dashboards expert? How did you set up your visualizations? Why is a particular dashboard so valuable to your organization? We have [very little](https://opensearch.org/docs/opensearch-dashboards/) on how to use OpenSearch Dashboards, only how to install it.
- Are you a web developer? Do you want to add an optional dark mode to the documentation? A "copy to clipboard" button for our code samples? Other improvements to the design or usability? See [major changes](#major-changes) for information on building the website locally.
- 你是否对 OpenSearch 的特定领域有专业的知识吗?集群大小?查询语言(DSL)?Do you have expertise in a particular area of OpenSearch? Cluster sizing? 无痛脚本(Painless scripting)?聚合(Aggregations)?JVM 设置?请查看 [OpenSearch 当前内容](https://opensearch.ossez.com/) 来了解你是否可以为项目加入一些有价值的内容。 [OpenSearch 文档项目组](#points-of-contact) 非常高兴能够帮助你对内容进行润色和重新组织你的草稿。
- Our [issue tracker](https://github.com/opensearch-project/documentation-website/issues) contains documentation bugs and other content gaps, some of which have colorful labels like "good first issue" and "help wanted."
@ -32,7 +46,7 @@ If you encounter problems or have questions when contributing to the documentati
- [snyder114](https://github.com/snyder114)
## How the website works
## 网站是如何工作的
This repository contains many [Markdown](https://guides.github.com/features/mastering-markdown/) files organized into Jekyll "collections" (e.g. `_search-plugins`, `_opensearch`, etc.). Each Markdown file correlates with one page on the website.
@ -277,21 +291,21 @@ And back to Markdown.
```
## Code of conduct
## 编码规范(Code of conduct)
This project has adopted an [Open Source Code of Conduct](https://opensearch.org/codeofconduct.html).
本项目遵循 [开源项目编码规范(Open Source Code of Conduct)](https://opensearch.org/codeofconduct.html) 中定义的规范。
## Security
## 安全特性(Security)
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.
If you discover a potential security issue in this project, we ask that you notify AWS/Amazon Security using our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Do **not** create a public GitHub issue.
## License
## 许可证(License)
This project is licensed under the Apache-2.0 License.
Welcome to the content style guide for the OpenSearch Project. This guide covers the style standards to be observed when creating OpenSearch content and will evolve as we implement best practices and lessons learned in order to best serve the community.
In addition to this guide and [TERMS.md](https://github.com/opensearch-project/documentation-website/blob/main/TERMS.md), our content is generally edited in accordance with the [Microsoft Writing Style Guide](https://docs.microsoft.com/en-us/style-guide/welcome/), [The Chicago Manual of Style](https://www.chicagomanualofstyle.org/home.html), and [Merriam-Webster](https://www.merriam-webster.com/) (listed in order of precedence); however, we may deviate from these style guides in order to maintain consistency and accommodate the unique needs of the community. This is by no means an exhaustive list of style standards, and we value transparency, so we welcome contributions to our style standards and guidelines. If you have a question regarding our standards or adherence/non-adherence to the style guides or would like to make a contribution, please tag @natebower on GitHub.
## Naming conventions, voice, tone, and brand personality traits
The following sections provide guidance on OpenSearch Project naming conventions, voice, tone, and brand personality traits.
### Naming conventions
The following naming conventions should be observed in OpenSearch Project content:
* Capitalize both words when referring to the *OpenSearch Project*.
* *OpenSearch* is the name for the distributed search and analytics engine used by Amazon OpenSearch Service.
* Amazon OpenSearch Service is a managed service that makes it easy to deploy, operate, and scale OpenSearch. Use the full name *Amazon OpenSearch Service* on first appearance. The abbreviated service name, *OpenSearch Service*, can be used for subsequent appearances.
* Amazon OpenSearch Serverless is an on-demand serverless configuration for Amazon OpenSearch Service. Use the full name *Amazon OpenSearch Serverless* on first appearance. The abbreviated service name, *OpenSearch Serverless*, can be used for subsequent appearances.
* OpenSearch Dashboards is the UI for OpenSearch. On first appearance, use the full name *OpenSearch Dashboards*. *Dashboards* can be used for subsequent appearances.
* *Security Analytics* is a security information and event management (SIEM) solution for OpenSearch. Capitalize both words when referring to the name of the solution.
* Observability is collection of plugins and applications that let you visualize data-driven events by using Piped Processing Language (PPL). Capitalize *Observability* when referring to the name of the solution.
* Refer to OpenSearch Project customers as *users*, and refer to the larger group of users as *the community*. Do not refer to the OpenSearch Project or to the AWS personnel working on the project as a *team*, as this implies differentiation within the community.
#### Product names
Capitalize product names. The OpenSearch Project has three products: OpenSearch, OpenSearch Dashboards, and Data Prepper. For example:
* “To install *OpenSearch*, download the Docker image.”
* “To access *OpenSearch Dashboards*, open your browser and navigate to http://localhost:5601/app/home.”
* “*Data Prepper* contains the following components:”
Capitalize the names of clients and tools. For example:
* “The OpenSearch *Python* client provides a more natural syntax for interacting with your cluster.”
* “The *Go* client retries requests for a maximum of three times by default.”
* “The *OpenSearch Kubernetes Operator* is an open-source Kubernetes operator that helps automate the deployment and provisioning of OpenSearch and OpenSearch Dashboards in a containerized environment.”
* “You can send events to *Logstash* from many different sources.”
#### Features
Features are the individual building blocks of user experiences, reflect the functionality of a product, and are shared across different experiences. For example, the SQL/PPL, reporting, notifications, alerting, and anomaly detection used for observability are the same SQL/PPL, reporting, notifications, alerting, and anomaly detection used for general analytics, security analytics, and search analytics. Components of the user experience such as navigation, credentials management, theming, etc. are also considered to be features.
Use lowercase when referring to features, unless you are referring to a formally named feature that is specific to OpenSearch. For example:
* “The Notifications plugin provides a central location for all of your *notifications* from OpenSearch plugins.”
* “*Remote-backed storage* is an experimental feature. Therefore, we do not recommend the use of *remote-backed storage* in a production environment.”
* “You can take and restore *snapshots* using the snapshot API.”
* “You can use the *VisBuilder* visualization type in OpenSearch Dashboards to create data visualizations by using a drag-and-drop gesture” (You can refer to VisBuilder alone or qualify the term with “visualization type”).
#### Plugin names
A plugin is a feature or distinct component that extends the functionality of OpenSearch. For now, capitalize plugin names, but use *plugin* sparingly. The concept of plugins will become obsolete once we re-architect the product. For example:
* “Interaction with the *ML Commons* plugin occurs through either the REST API or [ad](https://opensearch.org/docs/latest/search-plugins/sql/ppl/functions#ad) and [kmeans](https://opensearch.org/docs/latest/search-plugins/sql/ppl/functions#kmeans) Piped Processing Language (PPL) commands.”
* “Use the *Neural Search* plugin to integrate ML language models into your search workloads.”
### Voice and tone
Voice is the point of view or style of a writer. Voice can refer to active or passive but may also refer to verb tense (past, present, future, and so on). Tone is the emotional undercurrent (such as calm or angry) of the voice. We strive to speak to the community with a consistent voice and tone, as if a single writer writes all content. Writing with a common voice also helps to establish the OpenSearch Project identity and brand.
#### Voice
The voice of the OpenSearch Project is people oriented and focused on empowering the user directly. We use language that emphasizes what the user can do with OpenSearch rather than what tasks OpenSearch can perform.
Whenever possible, use the active voice instead of the passive voice. The passive form is typically wordier and can often cause writers to obscure the details of the action. For example, change the agentless passive _it is recommended_ to the more direct _we recommend_.
Refer to the reader as _you_ (second person), and refer to the OpenSearch Project as _we_ (first person). If there are multiple authors for a blog post, you can use _we_ to refer to the authors as individuals. Do not refer to the OpenSearch Project or to the AWS personnel working on the project as a *team*, as this implies differentiation within the community.
In most cases, try to describe the actions that the user takes rather than contextualizing from the feature perspective. For example, use phrases such as “With this feature, you can...” or “Use this feature to...” instead of saying a feature *allows*, *enables*, or *lets* the user do something.
For procedures or instructions, ensure that action is taken by the user (“Then you can stop the container...”) rather than the writer (“We also have to stop the container...”). Reserve the first-person plural for speaking as the OpenSearch Project, with recommendations, warnings, or explanations.
In general, use the present tense. Use the future tense only when an event happens later than, not immediately after, the action under discussion.
#### Tone
The tone of the OpenSearch Project is conversational, welcoming, engaging, and open. The overall tone is knowledgeable but humble, informal but authoritative, informative but not dry, and friendly without being overly familiar.
We talk to readers in their own words, never assuming that they understand how OpenSearch works. We use precise technical terms where appropriate, but we avoid technical jargon and insider lingo. We speak to readers in simple, plain, everyday language.
Avoid excessive words, such as please. Be courteous but not wordy. Extra detail can often be moved elsewhere. Use humor with caution because it is subjective, can be easily misunderstood, and can potentially alienate your audience.
### Brand personality traits
| Personality trait | Description | Guidance |
| :--------- | :------- | :------ |
| **Clear and precise** | The OpenSearch Project understands that our community works, develops, and builds in roles and organizations that require precise thinking and thorough documentation. We strive to use precise language—to clearly say what we mean without leaving ideas open to interpretation, to support our assertions with facts and figures, and to provide credible and current (third-party) references where called for. <br><br> We communicate in plain, direct language that is easily understood. Complex concepts are introduced in a concise, unambiguous way. High-level content is supported by links to more in-depth or technical content that users can engage with at their convenience. | - Write with clarity and choose words carefully. Think about the audience and how they might interpret your assertions. <br> - Be specific. Avoid estimates or general claims when exact data can be provided. <br> - Support claims with data. If something is “faster” or “more accurate,” say how much. <br> - When citing third-party references, include direct links. |
| **Transparent and open** | As an open-source project, we exchange information with the community in an accessible and transparent manner. We publish our product plans in the open on GitHub, share relevant and timely information related to the project through our forum and/or our blog, and engage in open dialogues related to product and feature development in the public sphere. Anyone can view our roadmap, raise a question or an issue, or participate in our community meetings. | - Tell a complete story. If you’re walking the reader through a solution or sharing news, don’t skip important information. <br> - Be forthcoming. Communicate time-sensitive news and information in a thorough and timely manner. <br> - If there’s something the reader needs to know, say it up front. Don’t “bury the lede.” |
| **Collaborative and supportive** | We’re part of a community that is here to help. We aim to be resourceful on behalf of the community and encourage others to do the same. To facilitate an open exchange of ideas, we provide forums through which the community can ask and answer one another’s questions. | - Use conversational language that welcomes and engages the audience. Have a dialogue. <br> - Invite discussion and feedback. We have several mechanisms for open discussion, including requests for comment (RFCs), a [community forum](https://forum.opensearch.org/), and [community meetings](https://www.meetup.com/OpenSearch/).
| **Trustworthy and personable** | We stay grounded in the facts and the data. We do not overstate what our products are capable of. We demonstrate our knowledge in a humble but authoritative way and reliably deliver what we promise. We provide mechanisms and support that allow the audience to explore our products for themselves, demonstrating that our actions consistently match our words. <br><br> We speak to the community in a friendly, welcoming, judgment-free way so that our audience perceives us as being approachable. Our content is people oriented and focused on empowering the user directly. | - Claims and assertions should be grounded in facts and data and supported accordingly. <br> - Do not exaggerate or overstate. Let the facts and results speak for themselves. <br> - Encourage the audience to explore our products for themselves. Offer guidance to help them do so. <br> - Write directly and conversationally. Have a dialogue with your audience. Imagine writing as if you’re speaking directly to the person for whom you’re creating content. <br> - Write from the community, for the community. Anyone creating or consuming content about OpenSearch is a member of the same group, with shared interest in learning about and building better search and analytics solutions. |
| **Inclusive and accessible** | As an open-source project, the OpenSearch Project is for everyone, and we are inclusive. We value the diversity of backgrounds and perspectives in the OpenSearch community and welcome feedback from any contributor, regardless of their experience level. <br><br> We design and create content so that people with disabilities can perceive, navigate, and interact with it. This ensures that our documentation is available and useful for everyone and helps improve the general usability of content. <br><br> We understand our community is international and our writing takes that into account. We use plain language that avoids idioms and metaphors that may not be clear to the broader community. | - Use inclusive language to connect with the diverse and global OpenSearch Project audience. <br> - Be careful with our word choices. <br> - Avoid [sensitive terms](https://github.com/opensearch-project/documentation-website/blob/main/STYLE_GUIDE.md#sensitive-terms). <br> - Don't use [offensive terms](https://github.com/opensearch-project/documentation-website/blob/main/STYLE_GUIDE.md#offensive-terms). <br> - Don't use ableist or sexist language or language that perpetuates racist structures or stereotypes. <br> - Links: Use link text that adequately describes the target page. For example, use the title of the target page instead of “here” or “this link.” In most cases, a formal cross-reference (the title of the page you’re linking to) is the preferred style because it provides context and helps readers understand where they’re going when they choose the link. <br> - Images: <br> - Add introductory text that provides sufficient context for each image. <br> - Add ALT text that describes the image for screen readers. <br> - Procedures: Not everyone uses a mouse, so use device-independent verbs; for example, use “choose” instead of “click.” <br> - Location: When you’re describing the location of something else in your content, such as an image or another section, use words such as “preceding,” “previous,” or “following” instead of “above” and “below.”
## Style guidelines
The following guidelines should be observed in OpenSearch Project content.
### Acronyms
Spell out acronyms the first time that you use them on a page and follow them with the acronym in parentheses. Use the format `spelled-out term (acronym)`. On subsequent use, use the acronym alone.
Do not capitalize the spelled-out form of an acronym unless the spelled-out form is a proper noun or the community generally capitalizes it. In all cases, our usage should reflect the community’s usage.
In general, spell out acronyms once on a page. However, you can spell them out more often for clarity.
Make an acronym plural by adding an *s* to the end of it. Do not add an apostrophe.
How an acronym is pronounced determines whether you use the article *an* or *a* before it. If it's pronounced with an initial vowel sound, use *an*. Otherwise, use *a*.
If the first use of an acronym is in a heading, retain the acronym in the heading, and then write out the term in the following body text, followed by the acronym in parentheses. Don't spell out the term in the heading with the acronym included in parentheses. If the first use of the service name is in a title or heading, use the short form of the name in the heading, and then use the long form followed by the short form in parentheses in the following body text.
In general, spell out abbreviations that end with *-bit* or *-byte*. Use abbreviations only with numbers in specific measurements. Always include a space between the number and unit. Abbreviations that are well known and don't need to be spelled out are *KB*, *MB*, *GB*, and *TB*.
Some acronyms are better known than their spelled-out counterparts or might be used almost exclusively. These include industry-standard protocols, markdown and programming languages, and common file formats. You don't need to spell out these acronyms.
The following table lists acronyms that you don't need to spell out.
| Acronym | Spelled-out term |
| :--------- | :------- |
| 3D | three-dimensional |
| AI | artificial intelligence |
| API | application programming interface |
| ASCII | American Standard Code for Information Interchange |
| HTTP(s) | Use to refer to both protocols, HTTP and HTTPS. |
| I/O | input/output |
| ID | identifier |
| IP | Internet protocol |
| JPEG | Joint Photographic Experts Group |
| JSON | JavaScript Object Notation |
| k-NN | k-nearest neighbors |
| NAT | network address translation |
| NGINX | engine x |
| PDF | Portable Document Format |
| RAM | random access memory |
| REST | Representational State Transfer |
| RGB | red-green-blue |
| ROM | read-only memory |
| SAML | Security Assertion Markup Language |
| SDK | software development kit |
| SSL | Secure Sockets Layer |
| TCP | Transmission Control Protocol |
| TIFF | Tagged Image File Format |
| TLS | Transport Layer Security |
| UI | user interface |
| URI | uniform resource identifier |
| URL | uniform resource locator |
| UTC | Coordinated Universal Time |
| UTF | Unicode Transformation Format |
| XML | Extensible Markup Language |
| YAML | YAML Ain't Markup Language |
### Code examples
Calling out code within a sentence or code block makes it clear to readers which items are code specific. The following is general guidance about using code examples and when to use `code font`:
* In Markdown, use single backticks (`` ` ``) for inline code formatting and triple backticks (```` ``` ````) for code blocks. For example, writing `` `discovery.type` `` in Markdown will render as `discovery.type`. A line containing three backticks should be included both before and after an example code block.
* In sentences, use code font for things relating to code, for example, “The `from` and `size` parameters are stateless, so the results are based on the latest available data.”
* Use lead-in sentences to clarify the example. Exception: API examples, for which a caption-style lead-in (heading 4) is sufficient.
* Use the phrase *such as* for brief examples within a sentence.
* Use language-specific indentation in code examples.
* Make code blocks as copy-and-paste friendly as possible. Use either the [`copy` or `copy-curl` buttons](https://github.com/opensearch-project/documentation-website/blob/main/FORMATTING_GUIDE.md#buttons).
#### Code formatting checklist
The following items should be in `code font`:
* Field names, variables (including environment variables), and settings (`discovery.type`, `@timestamp`, `PATH`). Use code font for variable and setting values if it improves readability (`false`, `1h`, `5`, or 5).
* Placeholder variables. Use angle brackets for placeholder variables (`docker exec -it <container-id> /bin/bash`).
* Commands, command-line utilities, and options (`docker container ls -a`, `curl`, `-v`).
* File names, file paths, and directory names (`docker-compose.yml`, `/var/www/simplesamlphp/config/`).
* URLs and URL components (`localhost`, `http://localhost:5601`).
* Index names (`logs-000001`, `.opendistro-ism-config`), endpoints (`_cluster/settings`), and query parameters (`timeout`).
* Language keywords (`if`, `for`, `SELECT`, `AND`, `FROM`).
* Operators and symbols (`/`, `<`, `*`).
* Regular expression, date, or other patterns (`^.*-\d+$`, `yyyy-MM-dd`).
* Class names (`SettingsModule`) and interface names (*`RestHandler`*). Use italics for interface names.
* Text field inputs (Enter the password `admin`).
* Email addresses (`example@example.org`).
#### Caption-style examples
If you use a caption-style example, use the heading **Example**, with a colon, as appropriate. The following are caption-style examples:
**Example: Retrieve a specified document from an index**
The following example shows a request that retrieves a specific document and its information from an index:
`GET sample-index1/_doc/1`
**Example request**
`GET sample-index1/_doc/1`
Sometimes, you might not want to break up the flow of the text with a new heading. In these cases, you can use an example with no heading.
The following command maps ports 9200 and 9600, sets the discovery type to single-node, and requests the newest image of OpenSearch:
`docker run -d -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" opensearchproject/opensearch:latest`
#### Lead-in sentences
When using lead-in sentences, summarize, clarify, or refer to the example that follows. A lead-in sentence is a complete sentence that ends in a colon.
For example, the following query requests statistics for `docs` and `search`:
`GET _nodes/stats/indices/docs,search`
#### Referring to a variable or placeholder
When introducing a code or command line example that refers to a variable or placeholder in the example, be direct by including the variable or placeholder name in the text. Surround the variable or placeholder name with angle brackets (`<` and `>`), for example, `<port>`. Don't refer to the variable or placeholder by its color or format because these can change. If variable or placeholder texts have a lot in common and there are several for the user to complete, be direct by including a “template” for the input in the replaceable text.
In the following example, replace `<component-x>` with your own information:
- Use a colon to introduce example blocks (for example, code and scripts) and most lists. Do not use a colon to introduce tables or images.
- Use bold text for all UI elements, including pages, panes, and dialog boxes. In all cases, emphasize what the user must do as opposed to talking about the UI element itself.
- Stacked headings should never appear in our content. Stacked headings are any two consecutive headings without intervening text. Even if it is just an introductory sentence, there should always be text under any heading.
- Use italics for the titles of books, periodicals, and reference guides. However, do not use italics when the title of a work is also a hyperlink.
- You can refer to APIs in three ways:
1. When referring to API names, capitalize all words in the name (example: "Field Capabilities API").
2. When referring to API operations by the exact name of the endpoint, use lowercase with code format (example: "`_field_caps` API").
3. When describing API operations but not using the exact name of the endpoint, use lowercase (example: "field capabilities API operations" or "field capabilities operations").
### Images
- Add introductory text that provides sufficient context for each image.
- Add ALT text that describes the image for screen readers.
- When you’re describing the location of an image, use words such as *preceding*, *previous*, or *following* instead of *above* and *below*.
- Text that introduces an image should be a complete sentence and end with a period, not a colon.
### Links
- **Formal cross-references**: In most cases, a formal cross-reference (the title of the page you're linking to) is the preferred style because it provides context and helps readers understand where they're going when they choose the link. Follow these guidelines for formal cross-references:
- Introduce links with formal introductory text:
- Use "For information *about*" or "For more information *about*." Don't use "For information *on*."
- If you are linking to procedures, you can use either "For instructions *on*" or "instructions *for*." Don't use "instructions *about*."
- Where space is limited (for example, in a table), you can use "*See* [link text]."
- Ensure that the link text matches the section title text. <br><br> Example: "To get involved, see [Contributing](https://opensearch.org/source.html) on the OpenSearch website." <br>
- **Embedded links**: Embedded links are woven into a sentence without formal introductory text. They're especially useful in tables or other elements where space is tight. The text around the embedded link must relate to the information in the link so that the reader understands the context. Do not use *here* or *click here* for link text because it creates accessibility problems. <br><br> Example: "Finally, [delete the index](https://opensearch.org/docs/latest/api-reference/index-apis/delete-index)."
### Lists
The following guidelines apply to all list types:
- Make lists parallel in content and structure. Don’t mix single words with phrases, don’t start some phrases with a noun and others with a verb, and don’t mix verb forms.
- Present the items in alphabetical order if the order of items is arbitrary.
- Capitalize the first letter of the first word of each list item.
- If the list is simple, you don’t need end punctuation for the list items.
- If the list has a mixture of phrases and sentences, punctuate each list item.
- Punctuate each list item with a period if a list item has more than one sentence.
- Punctuate list items consistently. If at least one item in a list requires a period, use a period for all items in that list.
- Introductory sentences are required for lists.
- Introductory sentences should be complete sentences.
- Introductory sentences should end with a colon.
- Don’t use semicolons, commas, or conjunctions (like and or or) at the end of list items.
### Numbers and measurement
- Spell out cardinal numbers from 1 to 9. For example, one NAT instance. Use numerals for cardinal numbers 10 and higher. Spell out ordinal numbers: first, second, and so on. In a series that includes numbers 10 or higher, use numerals for all. Use a comma separator for numbers of four digits or more—for example, 1,000.
- For descriptions that include time ranges, separate the numbers with an en dash. Avoid extra words such as between or from n to n.
- Correct: It can take 5–10 minutes before logs are available.
- Incorrect: It can take between 5 and 10 minutes before logs are available.
- Use numerals for all measurement-based references, including time. Include a space between the number and the abbreviation for the unit of measure.
- Correct:
- 100 GB
- 1 TB
- 3 minutes
- 12 subnets (8 public and 4 private)
- Incorrect
- One hundred GB
- 1TB
### Procedures
A procedure is a series of numbered steps that a user follows to complete a specific task. Users should be able to scan for and recognize procedures easily. Make procedures recognizable by using the following:
- Predictable content parts
- Parallel language constructions
- Consistent formatting
Use *example*, not *sample*, to introduce example blocks (for example, code, scripts, and API requests and responses).
#### Describing interactions with the UI
Replace pointer-specific verbs with device-agnostic/generic verbs to accommodate readers with disabilities and users of various input methods and devices, including the pointer, keyboard, and touch screens. Don't use device-specific verbs such as _click_ or _swipe_. However, when the generic language makes it difficult to understand the instructions, you can include pointer-specific hints in parentheses. Use your judgment. If you have a question, ask your editor.
We follow a slightly modified version of the _Microsoft Writing Style Guide_ guidance on describing interactions with a UI, provided here.
| Verb | Use for | Examples |
| :--------- | :------- | :------- |
| **Open** | - Apps and programs <br> - Files and folders <br> - Shortcut menus <br> Use for websites and webpages only when necessary to match the UI. Otherwise, use _go to_. <br> - Don't use for commands and menus. | - Open Photos. <br> - Open the Reader app. <br> - Open the Filename file. <br> - To open the document in Outline view, select **View** > **Outline**. <br> - In WindowName, open the shortcut menu for ItemName. |
| **Close** | - Apps and programs <br> - Dialog boxes <br> - Files and folders <br> - Notifications and alerts <br> - Tabs <br> - The action a program or app takes when it encounters a problem and can't continue. (Don't confuse with _stop responding_). | - Close the Alarms app. <br> - Close Excel. <br> - Save and close the document. <br> - Closing Excel also closes all open worksheets. |
| **Leave** | Websites and webpages | Select **Submit** to complete the survey and leave this page. |
| **Go to** | - Opening a menu. <br> - Going to a tab or another particular place in the UI. <br> - Going to a website or webpage. <br> - It's ok to use _On the **XXX** tab_ if the instruction is brief and continues immediately. | - Go to Search, enter the word **settings**, and then select **Settings**. <br> - Go to **File**, and then select **Close**. <br> - On the ribbon, go to the **Design** tab. <br> - Go to the **Deploy** tab. in the **Configuration** list ... <br> - On the **Deploy** tab, in the **Configuration** list ... <br> - Go to Example.com to register. |
| **Select** | Instructing the user to select a specific item, including: <br> - Selecting an option, such as a button. <br> - Selecting a checkbox. <br> - Selecting a value from a list box. <br> - Selecting link text to go to a link. <br> - Selecting an item on a menu or shortcut menu. <br> - Selecting an item from a gallery. | - Select the **Modify** button. <br> - For **Alignment**, select **Left**. <br> - Select the text, open the shortcut menu, and then select **Font**. <br> - Select **Open in new tab**. <br> - Select the **LinkName** link. |
| **Select and hold, select and hold (or right-click)** | Use to describe pressing and holding an element in the UI. It's OK to use _right-click_ with _select and hold_ when the instruction isn't specific to touch devices. | - To flag a message that you want to deal with later, select and hold it, and then select **Set flag**. <br> - Select and hold (or right-click) the Windows taskbar, and then select **Cascade windows**. <br> - Select and hold (or right-click) the **Start** button, and then select **Device Manager**. |
| **>** | Use a greater-than symbol (>) to separate sequential steps. <br> Only use this approach when there's a clear and obvious path through the UI and the selection method is the same for each step. For example, don't mix things that require opening, selecting, and choosing. <br> Don't bold the greater-than symbol. Include a space before and after the symbol. | Select **Accounts** > **Other accounts** > **Add an account**. |
| **Clear** | Clearing the selection from a checkbox. | Clear the **Header row** checkbox. |
| **Choose** | Choosing an option, based on the customer's preference or desired outcome. | On the **Font** tab, choose the effects you want. |
| **Switch, turn on, turn off** | Turning a toggle key or toggle switch on or off. | - Use the **Caps lock** key to switch from typing capital letter to typing lowercase letters. <br> - To keep all applied filters, turn on the **Pass all filters** toggle. |
| **Enter** | Instructing the customer to type or otherwise insert a value, or to type or select a value in a combo box. | - In the search box, enter... <br> - In the **Tab stop position** box, enter the location where you want to set the new tab. <br> - In the **Deployment script name** box, enter a name for this script. |
| **Move, drag** | Moving anything from one place to another by dragging, cutting and pasting, or another method. Use for tiles and any open window (including apps, dialog boxes, and files). <br> Use _move through_ to describe moving around on a page, moving through screens or pages in an app, or moving up, down, right, and left in a UI. | - Drag the Filename file to the Foldername folder. <br> - Move the tile to the new section. <br> - Drag the Snipping Tool out of the way, if necessary, and then select the area you want to capture. <br> - If the **Apply Styles** task pane is in your way, just move it. |
| **Press** | Use _press_ to describe single key or key combination entries that users would perform on a keyboard, such as keyboard shortcuts. | - Press **F5**. <br> - Press **Shift+Enter**. <br> - Press **Ctrl+Alt+Delete**. |
| **Zoom, zoom in, zoom out** | Use _zoom_, _zoom in_, and _zoom out_ to refer to changing the magnification of the screen or window. | - Zoom in to see more details on the map. <br> - Zoom out to see a larger geographic area on the map. <br> - Zoom in or out to see more or less detail. |
### Punctuation and capitalization
- Use only one space after a period.
- Use contractions carefully for a more casual tone. Use common contractions. Avoid future tense (I’ll), archaic (‘twas), colloquial (ain’t), or compound (couldn’t’ve) contractions.
- Use sentence case for titles, headings, and table headers. Titles of standalone documents may use title case.
- Use lowercase for nouns and noun phrases that are not proper nouns; for example, *big data*. This style follows the standard rules of American English grammar.
- For plural forms of nouns that end in “s”, form the possessive case by adding only an apostrophe.
- When a colon introduces a list of words, a phrase, or other sentence fragment, the first word following the colon is lowercased unless it is a proper name. When a colon introduces one or more complete sentences, the first word following it is capitalized. When text introduces a table or image, it should be a complete sentence and end with a period, not a colon.
- Use commas to separate the following:
- Independent clauses separated by coordinating conjunctions (but, or, yet, for, and, nor, so).
- Introductory clauses, phrases, words that precede the main clause.
- Words, clauses, and phrases listed in a series. Also known as the Oxford comma.
- An em dash (—) is the width of an uppercase M. Do not include spacing on either side. Use an em dash to set off parenthetical phrases within a sentence or set off phrases or clauses at the end of a sentence for restatement or emphasis.
- An en dash (–) is the width of an uppercase N. In ranges, do not include spacing on either side. Use an en dash to indicate ranges in values and dates, separate a bullet heading from the following text in a list, or separate an open compound adjective (two compounds, only one of which is hyphenated) from the word that it modifies.
- Words with prefixes are normally closed (no hyphen), whether they are nouns, verbs, adjectives, or adverbs. Note that some industry terms don’t follow this hyphenation guidance. For example, *Command Line Interface* and *high performance computing* aren’t hyphenated, and *machine learning* isn’t hyphenated when used as an adjective. Other terms are hyphenated to improve readability. Examples include *non-production*, *post-migration*, and *pre-migration*.
- In general, comparative or superlative modifiers with “more,” “most,” “less,” or “least” don’t require hyphens. Use one only if it’s needed to avoid ambiguity.
- The ampersand (&) should never be used in a sentence as a replacement for the word and. An exception to this is in acronyms where the ampersand is commonly used, such as in Operations & Maintenance (O&M).
- When using a forward slash between words, do not insert space on either side of the slash. For example, *AI/ML* is correct whereas *AI / ML* is incorrect.
- When referring to API parameters, capitalize *Boolean*. Otherwise, primitive Java data types (*byte*, *short*, *int*, *long*, *float*, *double*, and *char*) start with a lowercase letter, while non-primitive types start with an uppercase letter.
### Topic titles
Here are two styles you can use for topic titles:
* *Present participle phrase* + *noun-based phrase* or *present participle phrase* + *preposition* + *noun-based phrase*, used most often for concept or task topics. For example:
* Configuring security
* Visualizing your data
* Running queries in the console
* *Noun-based phrase*, used most often for reference topics. For example:
* REST API reference
* OpenSearch CLI
* Field types
* Security analytics
Use *example*, not *sample*, in headings that introduce example blocks (for example, code, scripts, and API requests and responses).
## UI text
Consistent, succinct, and clear text is a critical component of a good UI. We help our users complete their tasks by providing simple instructions that follow a logical flow.
### UI best practices
* Follow the OpenSearch Project [naming conventions, voice, tone, and brand personality traits](#naming-conventions-voice-tone-and-brand-personality-traits) guidelines.
* Be consistent with other elements on the page and on the rest of the site.
* Use sentence case in the UI, except for product names and other proper nouns.
### UI voice and tone
Our UI text is people oriented and focused on empowering the user directly. We use language that is conversational, welcoming, engaging, and open and that emphasizes what the user can do with OpenSearch rather than what tasks OpenSearch can perform. The overall tone is knowledgeable but humble, informal but authoritative, informative but not dry, and friendly without being overly familiar.
We talk to readers in their own words, never assuming that they understand how OpenSearch works. We use precise technical terms where appropriate, but we avoid technical jargon and insider lingo. We speak to readers in simple, plain, everyday language.
For more information, see [Voice and tone](#voice-and-tone) and [Brand personality traits](#brand-personality-traits).
### Writing guidelines
UI text is a critical component of a user interface. We help users complete tasks by explaining concepts and providing simple instructions that follow a logical flow. We strive to use language that is consistent, succinct, and clear.
#### What's the purpose of UI text?
UI text includes all words, phrases, and sentences on a screen, and it has the following purposes:
* Describes a concept or defines a term
* Explains how to complete a task
* Describes the purpose of a page, section, table, graph, or dialog box
* Walks users through tutorials and first-run experiences
* Provides context and explanation for individual UI elements that might be unfamiliar to users
* Helps users make a choice or decide if settings are relevant or required for their particular deployment scenario or environment
* Explains an alert or error
#### Basic guidelines
Follow these basic guidelines when writing UI text.
##### Style
* Keep it short. Users don’t want to read dense text. Remember that UI text can expand by 30% when it’s translated into other languages.
* Keep it simple. Try to use simple sentences (one subject, one verb, one main clause and idea) rather than compound or complex sentences.
* Prefer active voice over passive voice. For example, "You can attach up to 10 policies" is active voice, and "Up to 10 policies can be attached" is passive voice.
* Use device-agnostic language rather than mouse-specific language. For example, use _choose_ instead of _click_ (exception: use _select_ for checkboxes).
##### Tone
* Use a tone that is knowledgeable but humble, informal but authoritative, informative but not dry, and friendly without being overly familiar.
* Use everyday language that most users will understand.
* Use second person (you, your) when you address the user.
* Use _we_ if you need to refer to the OpenSearch Project as an organization; for example, "We recommend…."
##### Mechanics
* Use sentence case for all UI text. (Capitalize only the first word in a sentence or phrase as well as any proper nouns, such as service names. All other words are lowercase.)
* Use parallel construction (use phrases and sentences that are grammatically similar). For example, items in a list should start with either all verbs or all nouns.
**Correct**
Snapshots have two main uses:
* Recovering from failure
* Migrating from one cluster to another
**Incorrect**
Snapshots have two main uses:
* Failure recovery
* Migrating from one cluster to another
* Use the serial (Oxford) comma. For example, “issues, bug fixes, and features”, not “issues, bug fixes and features”.
* Don’t use the ampersand (&).
* Avoid Latinisms, such as _e.g._, _i.e._, or _etc._ Instead of _e.g._, use _for example_ or _such as_. Instead of _i.e._, use _that is_ or _specifically_. Generally speaking, _etc._ and its equivalents (such as _and more_ or _and so on_) aren’t necessary.
## Special considerations for blog posts
Blog posts provide an informal approach to educating or inspiring readers through the personal perspective of the authors. Brief posts generally accompany service or feature releases, and longer posts may note best practices or provide creative solutions. Each post must provide a clear community benefit.
To enhance the strengths of the blogging platform, follow these post guidelines:
**Be conversational and informal.**
Posts tend to be more personable, unlike technical documentation. Ask questions, include relevant anecdotes, add recommendations, and generally try to make the post as approachable as possible. However, be careful of slang, jargon, and phrases that a global audience might not understand.
**Keep it short.**
Deep topics don’t necessarily require long posts. Shorter, more focused posts are easier for readers to digest. Consider breaking a long post into a series, which can also encourage repeat visitors to the blog channel.
**Avoid redundancy.**
Posts should add to the conversation. Instead of repeating content that is already available elsewhere, link to detail pages and technical documentation. Keep only the information that is specific to the post solution or recommendations.
**Connect with other content.**
All posts should contain one or more calls to action that give readers the opportunity to create resources, learn more about services or features, or connect with other community members. Posts should also include metadata tags such as services, solutions, or learning levels to help readers navigate to related content.
## Inclusive content
When developing OpenSearch Project documentation, we strive to create content that is inclusive and free of bias. We use inclusive language to connect with the diverse and global OpenSearch Project audience, and we are careful in our word choices. Inclusive and bias-free content improves clarity and accessibility of our content for all audiences, so we avoid ableist and sexist language and language that perpetuates racist structures or stereotypes. In practical terms, this means that we do not allow certain terms to appear in our content, and we avoid using others, *depending on the context*.
Our philosophy is that we positively impact users and our industry as we proactively reduce our use of terms that are problematic in some contexts. Instead, we use more technically precise language and terms that are inclusive of all audiences.
### Offensive terms
The following terms may be associated with unconscious racial bias, violence, or politically sensitive topics and should not appear in OpenSearch Project content, if possible. Note that many of these terms are still present but on a path to not being supported. For example, `slave` was removed from the Python programming language in 2018, and the open-source community continues to work toward replacing these terms.
| Don’t use | Guidance/Use instead |
|----------------|-----------------------------|
| abort | Don't use because it has unpleasant associations and is unnecessarily harsh sounding. Use *stop*, *end*, or *cancel* instead. |
| black day | blocked day |
| blacklist | deny list |
| kill | Don't use. Replace with *stop*, *end*, *clear*, *remove*, or *cancel*. <br><br> Exception: *Kill* is unavoidable when referring to Linux kill commands. |
| master | primary, main, leader |
| master account | management account |
| slave | replica, secondary, standby |
| white day | open day |
| whitelist | allow list |
### Sensitive terms
The following terms may be problematic *in some contexts*. This doesn’t mean that you can’t use these terms—just be mindful of their potential associations when using them, and avoid using them to refer to people.
| demilitarized zone (DMZ) | perimeter network, perimeter zone |
## Trademark policy
The “OpenSearch” word mark should be used in its exact form and not abbreviated or combined with any other word or words (e.g., “OpenSearch” software rather than “OPNSRCH” or “OpenSearch-ified”). See the [OpenSearch Trademark Policy](https://opensearch.org/trademark-usage.html) for more information. Also refer to the policy and to the [OpenSearch Brand Guidelines](https://opensearch.org/brand.html) for guidance regarding the use of the OpenSearch logo. When using another party’s logo, refer to that party’s trademark guidelines.
This is how we use our terms, but we’re always open to hearing your suggestions.
## A
**abort**
Do not use because it has unpleasant associations and is unnecessarily harsh sounding. Use *stop*, *end*, or *cancel* instead.
**above**
Use only for physical space or screen descriptions, for example, "the outlet above the floor" or "the button above the bar pane."
For orientation within a document use *previous*, *preceding*, or *earlier*.
**ad hoc**
Avoid. Use *one-time* instead.
**affect**
Affect as a noun refers to emotion as expressed in face or body language. Affect as a verb means to influence. Do not confuse with effect.
**AI**
No need to define as _artificial intelligence (AI)_.
**AI/ML**
On first mention, use artificial intelligence and machine learning (AI/ML).
**Alerting**
A plugin that notifies you when data from one or more OpenSearch indexes meets certain conditions.
**allow**
Use allow when the user must have security permissions in order to complete the task.
Avoid using allow to refer to making something possible for the user. Instead, rewrite to focus on what’s important from the user’s point of view.
**allow list**
Use to describe a list of items that are allowed (not blocked). Do not use as a verb. Do not use whitelist.
**Amazon OpenSearch Service**
Amazon OpenSearch Service is a managed service that makes it easy to deploy, operate, and scale OpenSearch clusters in the AWS Cloud. Amazon OpenSearch Service is the successor to Amazon Elasticsearch Service (Amazon ES) and supports OpenSearch and legacy Elasticsearch OSS (up to 7.10, the final open-source version of the software).
**Anomaly Detection**
A plugin that automatically detects anomalies in your OpenSearch data in near real time.
**API operation**
Use instead of action, method, or function.
OpenSearch style:
- Use the CopySnapshot operation to...
- The following API operations…
Not OpenSearch style
- Use the CopySnapshot action to...
- Use the CopySnapshot method to...
- Use the CopySnapshot function to...
**app or application**
Use app for mobile software, application for all other uses.
**appear, display, and open**
Messages and pop-up boxes appear. Windows, pages, and applications open. The verb display requires a definite object. For example: The system displays the error message.
**application server**
Do not abbreviate as app server.
**as well as**
Avoid. Replace with in addition to or and as appropriate.
**Asynchronous Search**
A plugin that lets the user send search requests in the background so that the results can be used later.
**auto scaling**
Lower case scaling, auto scaling, and automatic scaling (but not autoscaling) are the preferred descriptive terms when generically describing auto scaling functionality.
Do not use hyphenated auto-scaling as a compound modifier. Instead, use scaling (for example, scaling policy), or scalable (for example, scalable target or scalable, load-balanced environment).
**AWS Signature Version 4**
Use on first appearance. On subsequent appearances, *Signature Version 4* may be used. Only use *SigV4* when space is limited.
## B
**below**
Use only for physical space or screen descriptions, such as “the outlet below the vent,” or “the button below the bar pane.”
For orientation within a document, use *following* or *later*.
**big data**
**black day**
Do not use. Use *blocked day* instead.
**blacklist**
Do not use. Use *deny list* instead.
**blackout**
Avoid using. Use *service outage* or *blocked* instead.
**BM25**
A ranking function used to estimate the relevance of documents to a given search query. BM25 extends [TF–IDF](#t) by normalizing document length.
**Boolean**
Avoid using the name of a Boolean value at the beginning of a sentence or sentence fragment. In general, capitalize the word Boolean. For specific programming languages, follow the usage in that language.
OpenSearch style:
- You can use the Boolean functions with Boolean expressions or integer expressions.
- IsTruncated(): A Boolean value that specifies whether the resolved target list is truncated.
**bottom**
Use only as a general screen reference, such as “scroll to the bottom of the page.” Don’t use for window, page, or pane references to features or controls. Rather, use *lower* instead. For example, you can use the following wording: “Choose the button on the lower left.”
**browse**
Use when referring to scanning information or browsing the web. Don’t use when describing how to navigate to a particular item on our site or a computer. Instead, use *see* or *navigate to*.
**build (n., v.)**
Use as a verb to refer to compiling and linking code. Use as a noun only to refer to a compiled version of a program (for example, *Use the current build of Amazon Linux 2*...) in a programming reference.
## C
**CA**
certificate authority
**certs, certificates**
Use _certificates_ on first mention. It’s OK to use _certs_ thereafter.
**checkbox, checkboxes**
**CI/CD**
Use _continuous integration_ and _continuous delivery (CI/CD)_ or _continuous integration and delivery (CI/CD)_ on first mention.
**CLI**
No need to define as _command-line interface (CLI)_.
**cluster**
A collection of one or more nodes.
**cluster manager**
A single node that routes requests for the cluster and makes changes to other nodes. Each cluster contains a single cluster manager.
**command line, command-line**
Two words as a noun. Hyphenate as an adjective.
**console**
A tool inside OpenSearch Dashboards used to interact with the OpenSearch REST API.
**Cross-Cluster Replication**
A plugin that replicates indexes, mappings, and metadata from one OpenSearch cluster to another. Follows an active-passive model where the follower index pulls data from a leader index.
**cyber**
Except when dictated by open standards, use as a prefix in a closed compound: don’t use spaces or hyphens between _cyber_ and the rest of the word.
## D
**data**
Use data is, not data are. Don’t use datas. Use pieces of data or equivalent to describe individual items within a set of data.
**data center**
**dataset**
**data source**
**data store, datastore**
Two words when used generically, but one word when referring to the VMware product.
**data type**
**dates**
Use one of the following date formats:
- When a human-readable date format is preferred, spell out the date using the Month D, YYYY format (for example, _October 1, 2022_). Do not use an ordinal number for the day (use _1_, not _1st_). If the context is clear, you can omit the year on subsequent mention. If the specific day isn’t known, use the Month YYYY format (for example, _October 2022_).
- When a numeric, lexicographically sortable date is required, use the YYYY-MM-DD format (for example, _2022-10-01_). Make sure to add a zero (0) in front of a single-digit month and day. This is the ISO 8601 standard date format. Make sure also that you use a hyphen (-) and avoid omitting the year. Doing so avoids the ambiguity that’s caused by the common, locally used formats of MM/DD and DD/MM.
**demilitarized zone (DMZ)**
Avoid using. Use *perimeter network* or *perimeter zone* instead.
**deny list**
Use to describe a list of items that aren’t allowed (blocked). Do not use _blacklist_.
**disable**
Use *disable* to describe making a feature or command unavailable. For example:
- Clear the checkbox to disable automatic monitoring.
- The feature is disabled by default.
Note that alternatives to *disable*—such as *deactivate*, *turn off*, or *stop*—are acceptable usage where appropriate and may be found in existing documentation. In all cases, use language that corresponds to the language used in the UI, if applicable.
Do not use *disable* to refer to users.
**double-click**
Always hyphenated. Don’t use _double click_.
**dropdown list**
**due to**
Don’t use. Use _because of_ instead.
## E
**easy, easier, easily**
Avoid the use of *easy*, *easier*, or *easily* if possible when describing or comparing an OpenSearch Project product, feature, or procedure in technical content. Use of these terms is audience dependent. These terms are potentially misleading or inaccurate and might be perceived as condescending by some technical users. Instead, describe what the user can do.
On documentation landing pages, it’s acceptable to use *easy*, *easier*, or *easily* within the service description only.
**effect**
_Effect_ as a noun refers to something that’s caused by something else. _Effect_ as a verb means to bring about. Do not confuse with _affect_.
**e.g.**
Avoid. Use _for example_ or _such as_ instead.
**Elastic IP address**
**email**
Use as a singular noun or adjective to refer to the collective concept, and use _message_ or _mail_ for individual items. Use _send email_ as the verb form. Don’t use the plural form because it’s a collective noun.
**enable**
Use *enable* to describe making a feature or command available. For example:
- Select the checkbox to enable automatic monitoring.
- The feature is enabled by default.
Note that alternatives to *enable*—such as *activate*, *turn on*, or *start*—are acceptable usage where appropriate and may be found in existing documentation. In all cases, use language that corresponds to the language used in the UI, if applicable.
Avoid using *enable* to refer to making something possible for the user. Instead, rewrite to focus on what's important from the user's point of view. For example, “With ABC, you can do XYZ” is a stronger statement than “ABC enables you to XYZ.” Additionally, using a task-based statement is usually more clear than the vague “…enables you to….”
**enter**
In general, use in preference to _type_ when a user adds text or other input (such as numbers or symbols).
**etc., et cetera**
Do not use.
Generally speaking, etc. and its equivalents (such as and more or and so on) aren’t necessary.
**execute**
Replace with a more specific verb. In the sense of carrying out an action, use *run*, *process*, or *apply*. In the sense of initiating an operation, use *start*, *launch*, or *initiate*.
Exception: *Execution* is unavoidable for third-party terms for which no alternative was determined, such as SQL execution plans. *Executable* is also unavoidable.
## F
**fail over (v.), failover (n.)**
**Faiss**
**file name**
**frontend (n., adj.)**
Use frontend as an adjective and a noun. Do not use front end or front-end. Do not make frontend possessive except as part of a compound noun, such as frontend system.
## G
**generative AI**
Do not use _GenAI_, _Gen AI_, _gen AI_, or _genAI_. To avoid the overuse of *generative AI*, *AI/ML-powered applications* may also be used.
**geodistance**
**geohash**
**geohex**
**geopoint**
**geopolygon**
**geoshape**
**geospatial**
**geotile**
## H
**hang**
Do not use. This term is unnecessarily violent for technical documentation. Use *stop responding* instead.
**hardcode**
**hard disk drive (HDD)**
**high availability (HA)**
**high performance computing (HPC)**
**hostname**
**Hugging Face**
## I
**i.e.**
Do not use. Use _that_ is or _specifically_ instead.
**if, whether**
Do not use *if* to mean *whether*. It is best to use *whether* in reference to a choice or alternatives ("we're going whether it rains or not") and *if* when establishing a condition ("we will go if it doesn't rain").
**in, on**
Use _in Windows_ or _in Linux_ in reference to components of the OS or work in the OS. Use on Windows in reference to Windows applications. Examples:
- Use the Devices and Printers Control Panel in Windows to install a new printer.
- In Windows, run the setup command.
- Select an application that runs on Windows.
Run applications and instances _in the cloud_, but extend services to the cloud.
Use *on the forum*. Whatever is on the internet (the various websites, etc.), you are *on* because you cannot be *in* it.
**index, indexes**
In technical documentation and the UI, use *indexes* as the plural form of *index*. Use *indices* only in the context of mathematical expressions. Variable and setting names should not be changed.
In blog posts, use the plural *indexes* unless there is a domain-specific reason (for example, a mathematical or financial context) to use *indices*.
**Index Management (IM)**
**Index State Management (ISM)**
**ingest pipeline**
Not _ingestion pipeline_.
**inline**
**install in, on**
install in a folder, directory, or path; install on a disk, drive, or instance.
**internet**
Do not capitalize.
**invalid**
Avoid using. Use *not valid* instead.
**IP address**
Don’t abbreviate as _IP only_.
## J
**just**
Use *just* in the sense of *just now* (as in "the resources that you just created"). Otherwise, use *only* in all other contexts (to mean "limited to; nothing more than").
## K
**keystore**
**key-value**
Not _key/value_.
**kill**
Do not use. Replace with *stop*, *end*, *clear*, *remove*, or *cancel*.
Exception: *Kill* is unavoidable when referring to Linux kill commands.
**k-means**
A simple and popular unsupervised clustering ML algorithm built on top of Tribuo library that chooses random centroids and calculates iteratively to optimize the position of the centroids until each observation belongs to the cluster with the nearest mean.
**k-NN**
Short for _k-nearest neighbors_, the k-NN plugin enables users to search for the k-nearest neighbors to a query point across an index of vectors. No need to define.
## L
**launch, start**
You _start_ an application but _launch_ an instance, environment, or cluster.
**let**
Avoid using _let_ to refer to making something in a service or feature possible for the user. Instead, rewrite to focus on what’s important from the user’s point of view.
**leverage**
Replace with _use_.
**lifecycle**
One word in reference to software.
**like (prep.)**
OK to use to call out something for comparison.
As a general rule, if you can replace like with similar to, it’s OK to use like. But, if you can replace _like_ with _such as_, use _such as_.
**LLM**
Define on first appearance as _large language model (LLM)_.
**locate in, on**
Located _in_ (a folder, directory, path), located on a disk drive or instance.
**log in (v.), login (adj., n.)**
Use with technologies with interfaces that use this verb. Also note that you log in to an instance, not log into. Also use log out and logout.
**Logstash**
A light-weight, open-source, server-side data processing pipeline that allows you to collect data from a variety of sources, transform it on the fly, and send it to your desired destination.
**lower left, lower right**
Hyphenate as adjectives. Use instead of *bottom left* and *bottom right*, unless the field name uses *bottom*. For example, "The lower-right corner."
**LTS**
Long-Term Support
**Lucene**
Apache Lucene™ is a high-performance, full-featured search engine library written entirely in Java. OpenSearch uses a modified version of Lucene as the basis for search operations within OpenSearch.
## M
**machine learning**
When *machine learning* is used multiple times in a document, use *machine learning (ML)* on first mention and *ML* thereafter. There is no need to redefine *ML* when *AI/ML* has already been defined. If spelled out, write *machine learning* as two words (no hyphen) in all cases, including when used as an adjective before a noun.
**Machine Learning (ML) Commons**
A new plugin that makes it easy to develop new ML features. It allows engineers to leverage existing open-source ML algorithms and reduce the efforts to build them from scratch.
**master**
Do not use. Use *primary*, *main*, or *leader* instead.
**master account**
Do not use. Use *management account* instead.
**may**
Avoid. Use _can_ or _might_ instead.
**multilayer, multilayered**
**must, shall, should**
_Must_ and _shall_ refer to requirements. If the reader doesn’t follow the instruction, something won’t work right.
_Should_ is used with recommendations. If the reader doesn’t follow the instruction, it might be harder or slower, but it’ll work.
## N
**navigate to**
Not navigate _in_.
**near real time (n.), near real-time (adj.) (NRT)**
Use _near real time_ as a noun; use near real-time as an adjective. Don’t add a hyphen between _near_ and _real time_ or _real-time_.
Spell out _near real time_ on first mention; _NRT_ can be used on subsequent mentions.
**node**
A server that stores your data and processes search requests with OpenSearch, usually as part of a cluster. Do not use _master node_ and avoid using _worker node_.
**non-production**
Hyphenate to make the term easier to scan and read.
## O
**onsite**
**OpenSearch**
OpenSearch is a community-driven, open-source search and analytics suite derived from Apache 2.0 licensed Elasticsearch 7.10.2 and Kibana 7.10.2. It consists of a search engine daemon, OpenSearch, and a visualization and user interface, OpenSearch Dashboards.
**OpenSearch Dashboards**
The default visualization tool for data in OpenSearch. On first appearance, use the full name. *Dashboards* may be used on subsequent appearances.
open source (n.), open-source (adj.)
Use _open source_ as a noun (for example, “The code used throughout this tutorial is open source and can be freely modified”). Use _open-source_ as an adjective _(open-source software)_.
**OpenSearch Playground**
Do not precede with _the_. OpenSearch Playground provides a central location for existing and evaluating users to explore features in OpenSearch and OpenSearch Dashboards without downloading or installing any OpenSearch components locally.
**operating system**
When referencing operating systems in documentation, follow these guidelines:
- In general, if your docs or procedures apply to both Linux and macOS, you can also include Unix.
- Unix and UNIX aren’t the same. UNIX is a trademarked name that’s owned by The Open Group. In most cases, you should use Unix.
- When referring to the Mac operating system, use macOS. Don’t say Mac, Mac OS, or OS X.
- When referring to Windows, it’s not necessary to prefix with Microsoft.
- If you need to reference multiple Unix-like operating systems, you should separate by commas and use the following order: Linux, macOS, or Unix.
**or earlier, or later**
OK to use with software versions.
## P
**Painless**
The default scripting language for OpenSearch, either used inline or stored for repeat use. Similar to Java’s language specification.
**per**
- Do not use to mean _according to_ (for example, per the agreement).
- OK to use in meaning of _to_, _in_, _for_, or _by each_ (one per account) where space is limited and in set terms and phrases, such as any of the following:
- queries per second (QPS)
- bits per second (bps)
- megabytes per second (MBps)
- Consider writing around _per_ elsewhere. _Per_ can sound stuffy and confusing to some global users.
**percent**
Spell out in blog posts (for example, _30 percent_).
Use % in headlines, quotations, and tables or in technical copy.
**Performance Analyzer**
An agent and REST API that allows you to query numerous performance metrics for your cluster, including aggregations of those metrics, independent of the Java Virtual Machine (JVM).
**please**
Avoid using except in quoted text.
**plugin**
Tools inside of OpenSearch that can be customized to enhance OpenSearch’s functionality. For a list of core plugins, see the [OpenSearch plugin installation]({{site.url}}{{site.baseurl}}/opensearch/install/plugins/) page. Capitalize if it appears as part of the product name in the UI.
**pop-up**
**premise, premises**
With reference to property and buildings, always form as plural.
Correct: an on-premises solution
Incorrect: an on-premise solution, an on-prem solution
**pretrain**
**primary shard**
A Lucene instance that contains data for some or all of an index.
**purge**
Use only in reference to specific programming methods. Otherwise, use *delete*, *clear*, or *remove* instead.
## Q
**query**
A call used to request information about your data.
## R
**real time (n.) real-time (adj.)**
Use with caution; this term can imply a degree of responsiveness or speed that may not be true. When needed, use _real time_ as a noun (for example “The request is sent in real time”). Use _real-time_ as an adjective (“A real-time feed is displayed...”).
**recall**
The quantity of documents returned from a query.
**replica shard**
Copy of a primary shard. Helps improve performance when using indexes across multiple nodes.
**repo**
Use as a synonym for repository, on second and subsequent use.
**RPM Package Manager (RPM)**
Formerly known as RedHat Package Manager. An open-source package management system for use with Linux distributions.
**rule**
A set of conditions, internals, and actions that create notifications.
## S
**screenshot**
**segregate**
Avoid using. Use *separate* or *isolate* instead.
**setting**
A key-value pair that creates a mapping in one of the many YAML configuration files used throughout OpenSearch. Sometimes alternatively called parameters, the programming language manipulating the key-value pair usually dictates the name of this mapping in a YAML file. For OpenSearch documentation (Java), they are properly a `Setting` object.
The following examples of settings illustrate key-value pairs with a colon separating the two elements:
`Settings.index.number_of_shards: 4`
`plugins.security.audit.enable_rest: true`
**set up (v.), setup (n., adj.)**
Use _set up_ as a verb (“To set up a new user...”). Use _setup_ as a noun or adjective (“To begin setup...”).
**shard**
A piece of an index that consumes CPU and memory. Operates as a full Lucene index.
**simple, simply**
Don't use. Both *simple* and *simply* are not neutral in tone and might sound condescending to some users. If you mean *only*, use *only* instead.
**since**
Use only to describe time events. Don’t use in place of because.
**slave**
Do not use. Use *replica*, *secondary*, or *standby* instead.
**Snapshot Management (SM)**
**solid state drive (SSD)**
**standalone**
**start, launch**
You _start_ an application but _launch_ an instance, environment, or cluster.
**startup (n.), start up (v.)**
Never hyphenated. Use _startup_ as a noun (for example, “The following startup procedure guides you through...”). Use _start up_ as a verb (“You can start up the instances by...”).
**Stochastic Gradient Descent (SGD)**
## T
**term frequency–inverse document frequency (TF–IDF)**
A numerical statistic that is intended to reflect how important a word is to a document in a collection or corpus.
**time out (verb), timeout (noun, adjective)**
Never hyphenate. Use _time out_ as a verb (“The request will time out if the server doesn’t respond”). Use _timeout_ as a noun or adjective (“You can set the timeout interval by entering a number into...”).
**time frame**
**time-series data**
Data that's provided as part of a metric. The time value is assumed to be when the value occurred.
**timestamp**
**time zone**
**trade-off**
**trigger**
Avoid using as a verb to refer to an action that precipitates a subsequent action. It is OK to use when referring to a feature name, such as a *trigger function* or *time-triggered architecture*. As a verb, use an alternative, such as *initiate*, *invoke*, *launch*, or *start*.
**truststore**
**turn on, turn off**
Use *turn on* and *turn off* in reference to a toggle to describe switching a setting or mode on or off.
Don't use *choose*, *select*, *clear*, *slide*, *enable*, or *disable* for a toggle.
For making a feature available or unavailable, use *enable*.
## U
**UltraWarm**
A storage tier that you can use to store and analyze your data with Elasticsearch and Kibana that is optimized for performance. To learn more about the service, see the introductory [blog post](https://aws.amazon.com/about-aws/whats-new/2020/05/aws-announces-amazon-elasticsearch-service-ultrawarm-general-availability/).
**upper left, upper right**
Hyphenate as adjectives. Use instead of *top left* and *top right*, unless the field name uses *top*. For example, "The upper-right corner."
**US**
No periods, as specified in the Chicago Manual of Style.
**user**
In most cases, replace with the more direct form you. Reserve _user_ for cases where you are referring to a third party (not the audience you are writing for).
**username**
## V
**version**
**v., vs., versus**
Do not use. Use _compared_ to or _compared with_ instead.
**via**
Do not use. Replace with by using, through, or with or a more specific phrase such as by accessing or by choosing.
## W
**web**
**webpage**
Never _web page_.
**website**
Never _web site_.
**while, although, whereas**
Only use _while_ to mean “during an interval of time.” Don’t use it to mean although because it is often ambiguous. _Whereas_ is a better alternative to although in many cases, but it can sound overly formal.
**white day**
Do not use. Use *open day* instead.
**whitelist**
Do not use. Use *allow list* instead.
**white space**
**wish, want, desire, need**
_Wish_ and _desire_ are indirect and nuanced versions of _want_. Don’t use them. Be direct.
Do not confuse wants with needs. Use the term that’s appropriate to the situation. _Need_ connotes a requirement or obligation, whereas _want_ indicates that you have an intent but still a choice of valid actions.
## Y
**Yellowdog Updater Modified (YUM)**
An open-source tool for command-line and graphical-based package management for RPM (RedHat Package Manager)-based Linux systems.
### Migrating to OpenSearch and limits on the number of nested JSON objects
Migrating from Elasticsearch OSS version 6.8 to OpenSearch version 1.x will fail when a cluster contains any document that includes more than 10,000 nested JSON objects across all fields. Elasticsearch version 7.0 introduced the `index.mapping.nested_objects.limit` setting to guard against out-of-memory errors and assigned the setting a default of `10000`. OpenSearch adopted this setting at its inception and enforces the limitation on nested JSON objects. However, because the setting is not present in Elasticsearch 6.8 and not recognized by this version, migration to OpenSearch 1.x can result in incompatibility issues that block shard relocation between Elasticsearch 6.8 and OpenSearch versions 1.x when the number of nested JSON objects in any document surpasses the default limit.
Therefore, we recommend evaluating your data for these limits before attempting to migrate from Elasticsearch 6.8.
## 2.0.0
### Remove mapping types parameter
The `type` parameter has been removed from all OpenSearch API endpoints. Instead, indexes can be categorized by document type. For more details, see issue [#1940](https://github.com/opensearch-project/opensearch/issues/1940).
### Deprecate non-inclusive terms
Non-inclusive terms are deprecated in version 2.x and will be permanently removed in OpenSearch 3.0. We are using the following replacements:
- "Whitelist" is now "Allow list"
- "Blacklist" is now "Deny list"
- "Master" is now "Cluster Manager"
### Add OpenSearch Notifications plugins
In OpenSearch 2.0, the Alerting plugin is now integrated with new plugins for Notifications. If you want to continue to use the notification action in the Alerting plugin, install the new backend plugins `notifications-core` and `notifications`. If you want to manage notifications in OpenSearch Dashboards, use the new `notificationsDashboards` plugin. For more information, see [Notifications]({{site.url}}{{site.baseurl}}/observing-your-data/notifications/index/) on the OpenSearch documentation page.
### Drop support for JDK 8
A Lucene upgrade forced OpenSearch to drop support for JDK 8. As a consequence, the [Java high-level REST client]({{site.url}}{{site.baseurl}}/clients/java-rest-high-level/) no longer supports JDK 8. Restoring JDK 8 support is currently an `opensearch-java` proposal [#156](https://github.com/opensearch-project/opensearch-java/issues/156) and will require removing OpenSearch core as a dependency from the Java client (issue [#262](https://github.com/opensearch-project/opensearch-java/issues/262)).
## 2.5.0
### Wildcard query behavior for text fields
OpenSearch 2.5 contains a bug fix to correct the behavior of the `case_insensitive` parameter for the `wildcard` query on text fields. As a result, a wildcard query on text fields that ignored case sensitivity and erroneously returned results prior to the bug fix will not return the same results. For more information, see issue [#8711](https://github.com/opensearch-project/OpenSearch/issues/8711).
<td>Application and Infrastructure Monitoring</td>
<td>Security and Event Information Management</td>
<td>Operational Health Tracking</td>
</tr>
<trstyle="text-align: left; vertical-align:top;">
<td>Help users find the right information within your application, website, or data lake catalog. </td>
<td>Easily store and analyze log data, and set automated alerts for underperformance.</td>
<td>Centralize logs to enable real-time security monitoring and forensic analysis.</td>
<td>Use observability logs, metrics, and traces to monitor your applications and business in real time.</td>
</tr>
</tbody>
</table>
**Additional features and plugins:**
OpenSearch has several features and plugins to help index, secure, monitor, and analyze your data. Most OpenSearch plugins have corresponding OpenSearch Dashboards plugins that provide a convenient, unified user interface.
- [Anomaly detection]({{site.url}}{{site.baseurl}}/monitoring-plugins/ad/) - Identify atypical data and receive automatic notifications
- [KNN]({{site.url}}{{site.baseurl}}/search-plugins/knn/) - Find “nearest neighbors” in your vector data
- [Performance Analyzer]({{site.url}}{{site.baseurl}}/monitoring-plugins/pa/) - Monitor and optimize your cluster
- [SQL]({{site.url}}{{site.baseurl}}/search-plugins/sql/index/) - Use SQL or a piped processing language to query your data
- [Index State Management]({{site.url}}{{site.baseurl}}/im-plugin/) - Automate index operations
- [ML Commons plugin]({{site.url}}{{site.baseurl}}/ml-commons-plugin/index/) - Train and execute machine-learning models
- [Asynchronous search]({{site.url}}{{site.baseurl}}/search-plugins/async/) - Run search requests in the background
- [Cross-cluster replication]({{site.url}}{{site.baseurl}}/replication-plugin/index/) - Replicate your data across multiple OpenSearch clusters
## The secure path forward
OpenSearch includes a demo configuration so that you can get up and running quickly, but before using OpenSearch in a production environment, you must [configure the Security plugin manually]({{site.url}}{{site.baseurl}}/security/configuration/index/) with your own certificates, authentication method, users, and passwords.
## Looking for the Javadoc?
See [opensearch.org/javadocs/](https://opensearch.org/javadocs/).
## Get involved
[OpenSearch](https://opensearch.org) is supported by Amazon Web Services. All components are available under the [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.html) on [GitHub](https://github.com/opensearch-project/).
The project welcomes GitHub issues, bug fixes, features, plugins, documentation---anything at all. To get involved, see [Contributing](https://opensearch.org/source.html) on the OpenSearch website.
---
<small>OpenSearch includes certain Apache-licensed Elasticsearch code from Elasticsearch B.V. and other source code. Elasticsearch B.V. is not the source of that other source code. ELASTICSEARCH is a registered trademark of Elasticsearch B.V.</small>
{%- comment -%}The `/docs/opensearch/` redirect is specifically to support the UI links in OpenSearch Dashboards 1.0.0.{%- endcomment -%}
# Introduction to OpenSearch
OpenSearch is a distributed search and analytics engine based on [Apache Lucene](https://lucene.apache.org/). After adding your data to OpenSearch, you can perform full-text searches on it with all of the features you might expect: search by field, search multiple indices, boost fields, rank results by score, sort results by field, and aggregate results.
OpenSearch is a distributed search and analytics engine based on [Apache Lucene](https://lucene.apache.org/). After adding your data to OpenSearch, you can perform full-text searches on it with all of the features you might expect: search by field, search multiple indexes, boost fields, rank results by score, sort results by field, and aggregate results.
Unsurprisingly, people often use search engines like OpenSearch as the backend for a search application---think [Wikipedia](https://en.wikipedia.org/wiki/Wikipedia:FAQ/Technical#What_software_is_used_to_run_Wikipedia?) or an online store. It offers excellent performance and can scale up and down as the needs of the application grow or shrink.
An equally popular, but less obvious use case is log analytics, in which you take the logs from an application, feed them into OpenSearch, and use the rich search and visualization functionality to identify issues. For example, a malfunctioning web server might throw a 500 error 0.5% of the time, which can be hard to notice unless you have a real-time graph of all HTTP status codes that the server has thrown in the past four hours. You can use [OpenSearch Dashboards]({{site.url}}{{site.baseurl}}/dashboards/) to build these sorts of visualizations from data in OpenSearch.
An equally popular, but less obvious use case is log analytics, in which you take the logs from an application, feed them into OpenSearch, and use the rich search and visualization functionality to identify issues. For example, a malfunctioning web server might throw a 500 error 0.5% of the time, which can be hard to notice unless you have a real-time graph of all HTTP status codes that the server has thrown in the past four hours. You can use [OpenSearch Dashboards]({{site.url}}{{site.baseurl}}/dashboards/index/) to build these sorts of visualizations from data in OpenSearch.
## Clusters and nodes
@ -29,9 +23,9 @@ You can run OpenSearch locally on a laptop---its system requirements are minimal
In a single node cluster, such as a laptop, one machine has to do everything: manage the state of the cluster, index and search data, and perform any preprocessing of data prior to indexing it. As a cluster grows, however, you can subdivide responsibilities. Nodes with fast disks and plenty of RAM might be great at indexing and searching data, whereas a node with plenty of CPU power and a tiny disk could manage cluster state. For more information on setting node types, see [Cluster formation]({{site.url}}{{site.baseurl}}/opensearch/cluster/).
## Indices and documents
## Indexes and documents
OpenSearch organizes data into *indices*. Each index is a collection of JSON *documents*. If you have a set of raw encyclopedia articles or log lines that you want to add to OpenSearch, you must first convert them to [JSON](https://www.json.org/). A simple JSON document for a movie might look like this:
OpenSearch organizes data into *indexes*. Each index is a collection of JSON *documents*. If you have a set of raw encyclopedia articles or log lines that you want to add to OpenSearch, you must first convert them to [JSON](https://www.json.org/). A simple JSON document for a movie might look like this:
```json
{
@ -55,14 +49,14 @@ When you add the document to an index, OpenSearch adds some metadata, such as th
}
```
Indices also contain mappings and settings:
Indexes also contain mappings and settings:
- A *mapping* is the collection of *fields* that documents in the index have. In this case, those fields are `title` and `release_date`.
- Settings include data like the index name, creation date, and number of shards.
## Primary and replica shards
OpenSearch splits indices into *shards* for even distribution across nodes in a cluster. For example, a 400 GB index might be too large for any single node in your cluster to handle, but split into ten shards, each one 40 GB, OpenSearch can distribute the shards across ten nodes and work with each shard individually.
OpenSearch splits indexes into *shards* for even distribution across nodes in a cluster. For example, a 400 GB index might be too large for any single node in your cluster to handle, but split into ten shards, each one 40 GB, OpenSearch can distribute the shards across ten nodes and work with each shard individually.
By default, OpenSearch creates a *replica* shard for each *primary* shard. If you split your index into ten shards, for example, OpenSearch also creates ten replica shards. These replica shards act as backups in the event of a node failure---OpenSearch distributes replica shards to different nodes than their corresponding primary shards---but they also improve the speed and rate at which the cluster can process search requests. You might specify more than one replica per index for a search-heavy workload.
@ -71,7 +65,7 @@ Despite being a piece of an OpenSearch index, each shard is actually a full Luce
## REST API
You interact with OpenSearch clusters using the REST API, which offers a lot of flexibility. You can use clients like [curl](https://curl.haxx.se/) or any programming language that can send HTTP requests. To add a JSON document to an OpenSearch index (i.e. index a document), you send an HTTP request:
You interact with OpenSearch clusters using the REST API, which offers a lot of flexibility. You can use clients like [curl](https://curl.se/) or any programming language that can send HTTP requests. To add a JSON document to an OpenSearch index (i.e. index a document), you send an HTTP request:
```json
PUT https://<host>:<port>/<index-name>/_doc/<document-id>
@ -83,14 +77,36 @@ PUT https://<host>:<port>/<index-name>/_doc/<document-id>
To run a search for the document:
```
```json
GET https://<host>:<port>/<index-name>/_search?q=wind
You can change most OpenSearch settings using the REST API, modify indices, check the health of the cluster, get statistics---almost everything.
You can change most OpenSearch settings using the REST API, modify indexes, check the health of the cluster, get statistics---almost everything.
## Advanced concepts
The following section describes more advanced OpenSearch concepts.
### Translog
Any index changes, such as document indexing or deletion, are written to disk during a Lucene commit. However, Lucene commits are expensive operations, so they cannot be performed after every change to the index. Instead, each shard records every indexing operation in a transaction log called _translog_. When a document is indexed, it is added to the memory buffer and recorded in the translog. After a process or host restart, any data in the in-memory buffer is lost. Recording the document in the translog ensures durability because the translog is written to disk.
Frequent refresh operations write the documents in the memory buffer to a segment and then clear the memory buffer. Periodically, a [flush](#flush) performs a Lucene commit, which includes writing the segments to disk using `fsync`, purging the old translog, and starting a new translog. Thus, a translog contains all operations that have not yet been flushed.
### Refresh
Periodically, OpenSearch performs a _refresh_ operation, which writes the documents from the in-memory Lucene index to files. These files are not guaranteed to be durable because an `fsync` is not performed. A refresh makes documents available for search.
### Flush
A _flush_ operation persists the files to disk using `fsync`, ensuring durability. Flushing ensures that the data stored only in the translog is recorded in the Lucene index. OpenSearch performs a flush as needed to ensure that the translog does not grow too large.
### Merge
In OpenSearch, a shard is a Lucene index, which consists of _segments_ (or segment files). Segments store the indexed data and are immutable. Periodically, smaller segments are merged into larger ones. Merging reduces the overall number of segments on each shard, frees up disk space, and improves search performance. Eventually, segments reach a maximum size specified in the merge policy and are no longer merged into larger segments. The merge policy also specifies how often merges are performed.
Get started using OpenSearch and OpenSearch Dashboards by deploying your containers with [Docker](https://www.docker.com/). Before proceeding, you need to [get Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://github.com/docker/compose) installed on your local machine.
The Docker Compose commands used in this guide are written with a hyphen (for example, `docker-compose`). If you installed Docker Desktop on your machine, which automatically installs a bundled version of Docker Compose, then you should remove the hyphen. For example, change `docker-compose` to `docker compose`.
{: .note}
## Starting your cluster
You'll need a special file, called a Compose file, that Docker Compose uses to define and create the containers in your cluster. The OpenSearch Project provides a sample Compose file that you can use to get started. Learn more about working with Compose files by reviewing the official [Compose specification](https://docs.docker.com/compose/compose-file/).
1. Before running OpenSearch on your machine, you should disable memory paging and swapping performance on the host to improve performance and increase the number of memory maps available to OpenSearch. See [important system settings]({{site.url}}{{site.baseurl}}/opensearch/install/important-settings/) for more information.
```bash
# Disable memory paging and swapping.
sudo swapoff -a
# Edit the sysctl config file that defines the host's max map count.
sudo vi /etc/sysctl.conf
# Set max map count to the recommended value of 262144.
vm.max_map_count=262144
# Reload the kernel parameters.
sudo sysctl -p
```
1. Download the sample Compose file to your host. You can download the file with command line utilities like `curl` and `wget`, or you can manually copy [docker-compose.yml](https://github.com/opensearch-project/documentation-website/blob/{{site.opensearch_major_minor_version}}/assets/examples/docker-compose.yml) from the OpenSearch Project documentation-website repository using a web browser.
1. In your terminal application, navigate to the directory containing the `docker-compose.yml` file you just downloaded, and run the following command to create and start the cluster as a background process.
```bash
docker-compose up -d
```
1. Confirm that the containers are running with the command `docker-compose ps`. You should see an output like the following:
1. Query the OpenSearch REST API to verify that the service is running. You should use `-k` (also written as `--insecure`) to disable hostname checking because the default security configuration uses demo certificates. Use `-u` to pass the default username and password (`admin:<custom-admin-password>`).
"tagline" : "The OpenSearch Project: https://opensearch.org/"
}
```
1. Explore OpenSearch Dashboards by opening `http://localhost:5601/` in a web browser on the same host that is running your OpenSearch cluster. The default username is `admin` and the default password is set in your `docker-compose.yml` file in the `OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password>` setting.
## Create an index and field mappings using sample data
Create an index and define field mappings using a dataset provided by the OpenSearch Project. The same fictitious e-commerce data is also used for sample visualizations in OpenSearch Dashboards. To learn more, see [Getting started with OpenSearch Dashboards]({{site.url}}{{site.baseurl}}/dashboards/index/).
1. Download [ecommerce-field_mappings.json](https://github.com/opensearch-project/documentation-website/blob/{{site.opensearch_major_minor_version}}/assets/examples/ecommerce-field_mappings.json). This file defines a [mapping]({{site.url}}{{site.baseurl}}/opensearch/mappings/) for the sample data you will use.
1. Download [ecommerce.json](https://github.com/opensearch-project/documentation-website/blob/{{site.opensearch_major_minor_version}}/assets/examples/ecommerce.json). This file contains the index data formatted so that it can be ingested by the bulk API. To learn more, see [index data]({{site.url}}{{site.baseurl}}/opensearch/index-data/) and [Bulk]({{site.url}}{{site.baseurl}}/api-reference/document-apis/bulk/).
Queries submitted to the OpenSearch REST API will generally return a flat JSON by default. For a human readable response body, use the query parameter `pretty=true`. For more information about `pretty` and other useful query parameters, see [Common REST parameters]({{site.url}}{{site.baseurl}}/opensearch/common-parameters/).
1. Access OpenSearch Dashboards by opening `http://localhost:5601/` in a web browser on the same host that is running your OpenSearch cluster. The default username is `admin` and the password is set in your `docker-compose.yml` file in the `OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password>` setting.
1. On the top menu bar, go to **Management > Dev Tools**.
1. In the left pane of the console, enter the following:
```json
GET ecommerce/_search
{
"query": {
"match": {
"customer_first_name": "Sonya"
}
}
}
```
1. Choose the triangle icon at the top right of the request to submit the query. You can also submit the request by pressing `Ctrl+Enter` (or `Cmd+Enter` for Mac users). To learn more about using the OpenSearch Dashboards console for submitting queries, see [Running queries in the console]({{site.url}}{{site.baseurl}}/dashboards/run-queries/).
## Next steps
You successfully deployed your own OpenSearch cluster with OpenSearch Dashboards and added some sample data. Now you're ready to learn about configuration and functionality in more detail. Here are a few recommendations on where to begin:
- [About the Security plugin]({{site.url}}{{site.baseurl}}/security/index/)
Review these common issues and suggested solutions if your containers fail to start or exit unexpectedly.
### Docker commands require elevated permissions
Eliminate the need for running your Docker commands with `sudo` by adding your user to the `docker` user group. See Docker's [Post-installation steps for Linux](https://docs.docker.com/engine/install/linux-postinstall/) for more information.
```bash
sudo usermod -aG docker $USER
```
### Error message: "-bash: docker-compose: command not found"
If you installed Docker Desktop, then Docker Compose is already installed on your machine. Try `docker compose` (without the hyphen) instead of `docker-compose`. See [Use Docker Compose](https://docs.docker.com/get-started/08_using_compose/).
### Error message: "docker: 'compose' is not a docker command."
If you installed Docker Engine, then you must install Docker Compose separately, and you will use the command `docker-compose` (with a hyphen). See [Docker Compose](https://github.com/docker/compose).
### Error message: "max virtual memory areas vm.max_map_count [65530] is too low"
OpenSearch will fail to start if your host's `vm.max_map_count` is too low. Review the [important system settings]({{site.url}}{{site.baseurl}}/opensearch/install/important-settings/) if you see the following errors in the service log, and set `vm.max_map_count` appropriately.
OpenSearch version | Release highlights | Release date
:--- | :--- | :---
[2.12.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.12.0.md) | Makes concurrent segment search and conversational search generally available. Provides an experimental OpenSearch Assistant Toolkit, including agents and tools, workflow automation, and OpenSearch Assistant for OpenSearch Dashboards UI. Adds a new match-only text field, query insights to monitor top N queries, and k-NN search on nested fields. For a full list of release highlights, see the Release Notes. | 20 February 2024
[2.11.1](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.11.1.md) | Includes maintenance changes and bug fixes for cross-cluster replication, alerting, observability, OpenSearch Dashboards, index management, machine learning, security, and security analytics. For a full list of release highlights, see the Release Notes. | 30 November 2023
[2.11.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.11.0.md) | Adds multimodal and sparse neural search capability and the ability to take shallow snapshots that refer to data stored in remote-backed storage. Makes the search comparison tool generally available. Includes a simplified workflow to create threat detectors in Security Analytics and improved security in OpenSearch Dashboards. Experimental features include a new framework and toolset for distributed tracing and updates to conversational search. For a full list of release highlights, see the Release Notes. | 16 October 2023
[2.10.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.10.0.md) | Makes remote-backed storage generally available. Adds hybrid search capability, custom log types for Security Analytics, IP2Geo ingest processor, and delimited term frequency token filter. Includes a new look and feel for OpenSearch Dashboards and updates the Discover tool. Adds Microsoft Teams webhook support for notifications. Experimental features include concurrent segment search and conversational search. For a full list of release highlights, see the Release Notes. | 25 September 2023
[2.9.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.9.0.md) | Makes search pipelines and the Neural Search plugin generally available. Adds ML model access control and integration with external ML tools. Implements k-NN byte vectors and efficient filtering with the Faiss engine. Integrates alerting and anomaly detection with OpenSearch Dashboards and adds composite monitors. Adds two new index codec algorithm options. Includes a new ingestion schema for Security Analytics, geoshape aggregations, and extensions---a new mechanism for extending OpenSearch functionality. For a full list of release highlights, see the Release Notes. | 24 July 2023
[2.8.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.8.0.md) | Adds cross-cluster query with PPL, search pipelines, an option to turn on segment replication as the default replication type, improved searchable snapshot performance, and Amazon OpenSearch Serverless support with SigV4 authentication for multiple data sources. Includes the UI for the flush, refresh, and clear cache operations in OpenSearch Dashboards. For a full list of release highlights, see the Release Notes. | 06 June 2023
[2.7.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.7.0.md) | Includes searchable snapshots and segment replication, which are now generally available. Adds multiple data sources, observability features, dynamic tenant management, component templates, and shape-based map filters in OpenSearch Dashboards. Includes the flat object field type, hot shard identification, and a new automatic reloading mechanism for ML models. For a full list of release highlights, see the Release Notes. | 02 May 2023
[2.6.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.6.0.md) | Includes simple schema for observability, index management UI enhancements, Security Analytics enhancements, search backpressure at the coordinator node level, and the ability to add maps to dashboards. Experimental features include a new ML model health dashboard, new text embedding models in ML, and SigV4 authentication in Dashboards. For a full list of release highlights, see the Release Notes. | 28 February 2023
[2.5.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.5.0.md) | Includes index management UI enhancements, multi-layer maps, Jaeger support for observability, Debian distributions, returning cluster health by awareness attribute, cluster manager task throttling, weighted zonal search request routing policy, and query string support in index rollups. Experimental features include request-level durability in remote-backed storage and GPU acceleration for ML nodes. For a full list of release highlights, see the Release Notes. | 24 January 2023
[2.4.1](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.4.1.md) | Includes maintenance changes and bug fixes for gradle check and indexing pressure tests. Adds support for skipping changelog. | 13 December 2022
[2.4.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.4.0.md) | Includes Windows support, Point-in-time search, custom k-NN filtering, xy_point and xy_shape field types for Cartesian coordinates, GeoHex grid aggregation, and resilience enhancements, including search backpressure. In OpenSearch Dashboards, this release adds snapshot restore functionality, multiple authentication, and aggregate view of saved objects. This release includes the following experimental features: searchable snapshots, Compare Search Results, multiple data sources in OpenSearch Dashboards, a new Model Serving Framework in ML Commons, a new Neural Search plugin that supports semantic search, and a new Security Analytics plugin to analyze security logs. For a full list of release highlights, see the Release Notes. | 15 November 2022
[2.3.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.3.0.md) | This release includes the following experimental features: segment replication, remote-backed storage, and drag and drop for OpenSearch Dashboards. Experimental features allow you to test new functionality in OpenSearch. Because these features are still being developed, your testing and feedback can help shape the development of the feature before it's official released. We do not recommend use of experimental features in production. Additionally, this release adds maketime and makedate datetime functions for the SQL plugin. Creates a new [OpenSearch Playground](https://playground.opensearch.org) demo site for OpenSearch Dashboards. For a full list of release highlights, see the Release Notes. | 14 September 2022
[2.2.1](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.2.1.md) | Includes gradle updates and bug fixes for gradle check. | 01 September 2022
[2.2.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.2.0.md) | Includes support for Logistic Regression and RCF Summarize machine learning algorithms in ML Commons, Lucene or C-based Nmslib and Faiss libraries for approximate k-NN search, search by relevance using SQL and PPL queries, custom region maps for visualizations, and rollup enhancements. For a full list of release highlights, see the Release Notes. | 11 August 2022
[2.1.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.1.0.md) | Includes support for dedicated ML node in the ML Commons plugin, relevance search and other features in SQL, multi-terms aggregation, and Snapshot Management. For a full list of release highlights, see the Release Notes. | 07 July 2022
[2.0.1](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.0.1.md) | Includes bug fixes and maintenance updates for Alerting and Anomaly Detection. | 16 June 2022
[2.0.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.0.0.md) | Includes document-level monitors for alerting, OpenSearch Notifications plugins, and Geo Map Tiles in OpenSearch Dashboards. Also adds support for Lucene 9 and bug fixes for all OpenSearch plugins. For a full list of release highlights, see the Release Notes. | 26 May 2022
[2.0.0-rc1](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.0.0-rc1.md) | The Release Candidate for 2.0.0. This version allows you to preview the upcoming 2.0.0 release before the GA release. The preview release adds document-level alerting, support for Lucene 9, and the ability to use term lookup queries in document level security. | 03 May 2022
[1.3.15](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.15.md) | Includes bug fixes and maintenance updates for cross-cluster replication, SQL, OpenSearch Dashboards reporting, and alerting. | 05 March 2024
[1.3.14](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.14.md) | Includes bug fixes and maintenance updates for OpenSearch security and OpenSearch Dashboards security. | 12 December 2023
[1.3.13](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.13.md) | Includes bug fixes for Anomaly Detection, adds maintenance updates and infrastructure enhancements. | 21 September 2023
[1.3.12](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.12.md) | Adds maintenance updates for OpenSearch security and OpenSearch Dashboards observability. Includes bug fixes for observability, OpenSearch Dashboards visualizations, and OpenSearch security. | 10 August 2023
[1.3.11](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.11.md) | Adds maintenance updates for OpenSearch security, OpenSearch Dashboards security, and ML Commons. | 29 June 2023
[1.3.10](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.10.md) | Adds infrastructure enhancements and maintenance updates for anomaly detection, observability, and security. Includes bug fixes for index management and OpenSearch security. | 18 May 2023
[1.3.9](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.9.md) | Adds Debian support. Includes upgrades, enhancements, and maintenance updates for OpenSearch core, k-NN, and OpenSearch security. | 16 March 2023
[1.3.8](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.8.md) | Adds OpenSearch security enhancements. Updates tool scripts to run on Windows. Includes maintenance updates and bug fixes for Anomaly Detection and OpenSearch security. | 02 February 2023
[1.3.7](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.7.md) | Adds Windows support. Includes maintenance updates and bug fixes for error handling. | 13 December 2022
[1.3.6](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.6.md) | Includes maintenance updates and bug fixes for tenancy in the OpenSearch Security Dashboards plugin. | 06 October 2022
[1.3.5](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.5.md) | Includes maintenance updates and bug fixes for gradle check and OpenSearch security. | 01 September 2022
[1.3.4](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.4.md) | Includes maintenance updates and bug fixes for OpenSearch and OpenSearch Dashboards. | 14 July 2022
[1.3.3](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.3.md) | Adds enhancements to Anomaly Detection and ML Commons. Bug fixes for Anomaly Detection, Observability, and k-NN. | 09 June 2022
[1.3.2](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.2.md) | Bug fixes for Anomaly Detection and the Security Dashboards Plugin, adds the option to install OpenSearch using RPM, as well as enhancements to the ML Commons execute task, and the removal of the job-scheduler zip in Anomaly Detection. | 05 May 2022
[1.3.1](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.1.md) | Bug fixes when using document-level security, and adjusted ML Commons to use the latest RCF jar and protostuff to RCF model serialization. | 30 March 2022
[1.3.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.0.md) | Adds Model Type Validation to Validate Detector API, continuous transforms, custom actions, applied policy parameter to Explain API, default action retries, and new rollover and transition conditions to Index Management, new ML Commons plugin, parse command to SQL, Application Analytics, Live Tail, Correlation, and Events Flyout to Observability, and auto backport and support for OPENSEARCH_JAVA_HOME to Performance Analyzer. Bug fixes. | 17 March 2022
[1.2.4](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.2.4.md) | Updates Performance Analyzer, SQL, and Security plugins to Log4j 2.17.1, Alerting and Job Scheduler to cron-utils 9.1.6, and gson in Anomaly Detection and SQL. | 18 January 2022
[1.2.3](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.2.3.md) | Updates the version of Log4j used in OpenSearch to Log4j 2.17.0 as recommended by the advisory in [CVE-2021-45105](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45105). | 22 December 2021
[1.2.0](https://github.com/opensearch-project/OpenSearch/blob/main/release-notes/opensearch.release-notes-1.2.0.md) | Adds observability, new validation API for Anomaly Detection, shard-level indexing back-pressure, new "match" query type for SQL and PPL, support for Faiss libraries in k-NN, and custom Dashboards branding. | 23 November 2021
[1.1.0](https://github.com/opensearch-project/opensearch-build/tree/main/release-notes/opensearch-release-notes-1.1.0.md) | Adds cross-cluster replication, security for Index Management, bucket-level alerting, a CLI to help with upgrading from Elasticsearch OSS to OpenSearch, and enhancements to high cardinality data in the anomaly detection plugin. | 05 October 2021
[1.0.1](https://github.com/opensearch-project/opensearch-build/tree/main/release-notes/opensearch-release-notes-1.0.1.md) | Bug fixes. | 01 September 2021
[1.0.0](https://github.com/opensearch-project/opensearch-build/tree/main/release-notes/opensearch-release-notes-1.0.0.md) | General availability release. Adds compatibility setting for clients that require a version check before connecting. | 12 July 2021
[1.0.0-rc1](https://github.com/opensearch-project/opensearch-build/tree/main/release-notes/opensearch-release-notes-1.0.0-rc1.md) | First release candidate. | 07 June 2021
[1.0.0-beta1](https://github.com/opensearch-project/opensearch-build/tree/main/release-notes/opensearch-release-notes-1.0.0-beta1.md) | Initial beta release. Refactors plugins to work with OpenSearch. | 13 May 2021
The `adjacency_matrix` aggregation lets you define filter expressions and returns a matrix of the intersecting filters where each non-empty cell in the matrix represents a bucket. You can find how many documents fall within any combination of filters.
Use the `adjacency_matrix` aggregation to discover how concepts are related by visualizing the data as graphs.
For example, in the sample eCommerce dataset, to analyze how the different manufacturing companies are related:
```json
GET opensearch_dashboards_sample_data_ecommerce/_search
{
"size": 0,
"aggs": {
"interactions": {
"adjacency_matrix": {
"filters": {
"grpA": {
"match": {
"manufacturer.keyword": "Low Tide Media"
}
},
"grpB": {
"match": {
"manufacturer.keyword": "Elitelligence"
}
},
"grpC": {
"match": {
"manufacturer.keyword": "Oceanavigations"
}
}
}
}
}
}
}
```
{% include copy-curl.html %}
#### Example response
```json
{
...
"aggregations" : {
"interactions" : {
"buckets" : [
{
"key" : "grpA",
"doc_count" : 1553
},
{
"key" : "grpA&grpB",
"doc_count" : 590
},
{
"key" : "grpA&grpC",
"doc_count" : 329
},
{
"key" : "grpB",
"doc_count" : 1370
},
{
"key" : "grpB&grpC",
"doc_count" : 299
},
{
"key" : "grpC",
"doc_count" : 1218
}
]
}
}
}
```
Let’s take a closer look at the result:
```json
{
"key" : "grpA&grpB",
"doc_count" : 590
}
```
- `grpA`: Products manufactured by Low Tide Media.
- `grpB`: Products manufactured by Elitelligence.
- `590`: Number of products that are manufactured by both.
You can use OpenSearch Dashboards to represent this data with a network graph.
The `date_histogram` aggregation uses [date math]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/date/#date-math) to generate histograms for time-series data.
For example, you can find how many hits your website gets per month:
```json
GET opensearch_dashboards_sample_data_logs/_search
{
"size": 0,
"aggs": {
"logs_per_month": {
"date_histogram": {
"field": "@timestamp",
"interval": "month"
}
}
}
}
```
{% include copy-curl.html %}
#### Example response
```json
...
"aggregations" : {
"logs_per_month" : {
"buckets" : [
{
"key_as_string" : "2020-10-01T00:00:00.000Z",
"key" : 1601510400000,
"doc_count" : 1635
},
{
"key_as_string" : "2020-11-01T00:00:00.000Z",
"key" : 1604188800000,
"doc_count" : 6844
},
{
"key_as_string" : "2020-12-01T00:00:00.000Z",
"key" : 1606780800000,
"doc_count" : 5595
}
]
}
}
}
```
The response has three months worth of logs. If you graph these values, you can see the peak and valleys of the request traffic to your website month over month.
The `diversified_sampler` aggregation lets you reduce the bias in the distribution of the sample pool by deduplicating documents containing the same `field`. It does so by using the `max_docs_per_value` and `field` settings, which limit the maximum number of documents collected on a shard for the provided `field`. The `max_docs_per_value` setting is an optional parameter used to determine the maximum number of documents that will be returned per `field`. The default value of this setting is `1`.
Similarly to the [`sampler` aggregation]({{site.url}}{{site.baseurl}}/aggregations/bucket/sampler/), you can use the `shard_size` setting to control the maximum number of documents collected on any one shard, as shown in the following example:
```json
GET opensearch_dashboards_sample_data_logs/_search
{
"size": 0,
"aggs": {
"sample": {
"diversified_": {
"shard_size": 1000,
"field": "response.keyword"
},
"aggs": {
"terms": {
"terms": {
"field": "agent.keyword"
}
}
}
}
}
}
```
{% include copy-curl.html %}
#### Example response
```json
...
"aggregations" : {
"sample" : {
"doc_count" : 3,
"terms" : {
"doc_count_error_upper_bound" : 0,
"sum_other_doc_count" : 0,
"buckets" : [
{
"key" : "Mozilla/5.0 (X11; Linux x86_64; rv:6.0a1) Gecko/20110421 Firefox/6.0a1",
"doc_count" : 2
},
{
"key" : "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)",
A `filter` aggregation is a query clause, exactly like a search query — `match` or `term` or `range`. You can use the `filter` aggregation to narrow down the entire set of documents to a specific set before creating buckets.
The following example shows the `avg` aggregation running within the context of a filter. The `avg` aggregation only aggregates the documents that match the `range` query:
```json
GET opensearch_dashboards_sample_data_ecommerce/_search
The `geo_distance` aggregation groups documents into concentric circles based on distances from an origin `geo_point` field.
It's the same as the `range` aggregation, except that it works on geo locations.
For example, you can use the `geo_distance` aggregation to find all pizza places within 1 km of you. The search results are limited to the 1 km radius specified by you, but you can add another result found within 2 km.
You can only use the `geo_distance` aggregation on fields mapped as `geo_point`.
A point is a single geographical coordinate, such as your current location shown by your smart-phone. A point in OpenSearch is represented as follows:
```json
{
"location": {
"type": "point",
"coordinates": {
"lat": 83.76,
"lon": -81.2
}
}
}
```
You can also specify the latitude and longitude as an array `[-81.20, 83.76]` or as a string `"83.76, -81.20"`
This table lists the relevant fields of a `geo_distance` aggregation:
Field | Description | Required
:--- | :--- |:---
`field` | Specify the geopoint field that you want to work on. | Yes
`origin` | Specify the geopoint that's used to compute the distances from. | Yes
`ranges` | Specify a list of ranges to collect documents based on their distance from the target point. | Yes
`unit` | Define the units used in the `ranges` array. The `unit` defaults to `m` (meters), but you can switch to other units like `km` (kilometers), `mi` (miles), `in` (inches), `yd` (yards), `cm` (centimeters), and `mm` (millimeters). | No
`distance_type` | Specify how OpenSearch calculates the distance. The default is `sloppy_arc` (faster but less accurate), but can also be set to `arc` (slower but most accurate) or `plane` (fastest but least accurate). Because of high error margins, use `plane` only for small geographic areas. | No
The syntax is as follows:
```json
{
"aggs": {
"aggregation_name": {
"geo_distance": {
"field": "field_1",
"origin": "x, y",
"ranges": [
{
"to": "value_1"
},
{
"from": "value_2",
"to": "value_3"
},
{
"from": "value_4"
}
]
}
}
}
}
```
This example forms buckets from the following distances from a `geo-point` field:
- Fewer than 10 km
- From 10 to 20 km
- From 20 to 50 km
- From 50 to 100 km
- Above 100 km
```json
GET opensearch_dashboards_sample_data_logs/_search
The `geohash_grid` aggregation buckets documents for geographical analysis. It organizes a geographical region into a grid of smaller regions of different sizes or precisions. Lower values of precision represent larger geographical areas, and higher values represent smaller, more precise geographical areas. You can aggregate documents on [geopoint]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/geo-point/) or [geoshape]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/geo-shape/) fields using a geohash grid aggregation. One notable difference is that a geopoint is only present in one bucket, but a geoshape is counted in all geohash grid cells with which it intersects.
The number of results returned by a query might be far too many to display each geopoint individually on a map. The `geohash_grid` aggregation buckets nearby geopoints together by calculating the geohash for each point, at the level of precision that you define (between 1 to 12; the default is 5). To learn more about geohash, see [Wikipedia](https://en.wikipedia.org/wiki/Geohash).
The web logs example data is spread over a large geographical area, so you can use a lower precision value. You can zoom in on this map by increasing the precision value:
```json
GET opensearch_dashboards_sample_data_logs/_search
{
"size": 0,
"aggs": {
"geo_hash": {
"geohash_grid": {
"field": "geo.coordinates",
"precision": 4
}
}
}
}
```
{% include copy-curl.html %}
#### Example response
```json
...
"aggregations" : {
"geo_hash" : {
"buckets" : [
{
"key" : "c1cg",
"doc_count" : 104
},
{
"key" : "dr5r",
"doc_count" : 26
},
{
"key" : "9q5b",
"doc_count" : 20
},
{
"key" : "c20g",
"doc_count" : 19
},
{
"key" : "dr70",
"doc_count" : 18
}
...
]
}
}
}
```
You can visualize the aggregated response on a map using OpenSearch Dashboards.
The more accurate you want the aggregation to be, the more resources OpenSearch consumes because of the number of buckets that the aggregation has to calculate. By default, OpenSearch does not generate more than 10,000 buckets. You can change this behavior by using the `size` attribute, but keep in mind that the performance might suffer for very wide queries consisting of thousands of buckets.
## Aggregating geoshapes
To run an aggregation on a geoshape field, first create an index and map the `location` field as a `geo_shape`:
```json
PUT national_parks
{
"mappings": {
"properties": {
"location": {
"type": "geo_shape"
}
}
}
}
```
{% include copy-curl.html %}
Next, index some documents into the `national_parks` index:
You can run an aggregation on the `location` field as follows:
```json
GET national_parks/_search
{
"aggregations": {
"grouped": {
"geohash_grid": {
"field": "location",
"precision": 1
}
}
}
}
```
{% include copy-curl.html %}
When aggregating geoshapes, one geoshape can be counted for multiple buckets because it overlaps multiple grid cells:
<detailsopenmarkdown="block">
<summary>
Response
</summary>
{: .text-delta}
```json
{
"took" : 24,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 3,
"relation" : "eq"
},
"max_score" : 1.0,
"hits" : [
{
"_index" : "national_parks",
"_id" : "1",
"_score" : 1.0,
"_source" : {
"name" : "Yellowstone National Park",
"location" : {
"type" : "envelope",
"coordinates" : [
[
-111.15,
45.12
],
[
-109.83,
44.12
]
]
}
}
},
{
"_index" : "national_parks",
"_id" : "2",
"_score" : 1.0,
"_source" : {
"name" : "Yosemite National Park",
"location" : {
"type" : "envelope",
"coordinates" : [
[
-120.23,
38.16
],
[
-119.05,
37.45
]
]
}
}
},
{
"_index" : "national_parks",
"_id" : "3",
"_score" : 1.0,
"_source" : {
"name" : "Death Valley National Park",
"location" : {
"type" : "envelope",
"coordinates" : [
[
-117.34,
37.01
],
[
-116.38,
36.25
]
]
}
}
}
]
},
"aggregations" : {
"grouped" : {
"buckets" : [
{
"key" : "9",
"doc_count" : 3
},
{
"key" : "c",
"doc_count" : 1
}
]
}
}
}
```
</details>
Currently, OpenSearch supports geoshape aggregation through the API but not in OpenSearch Dashboards visualizations. If you'd like to see geoshape aggregation implemented for visualizations, upvote the related [GitHub issue](https://github.com/opensearch-project/dashboards-maps/issues/250).
{: .note}
## Supported parameters
Geohash grid aggregation requests support the following parameters.
Parameter | Data type | Description
:--- | :--- | :---
field | String | The field on which aggregation is performed. This field must be mapped as a `geo_point` or `geo_shape` field. If the field contains an array, all array values are aggregated. Required.
precision | Integer | The granularity level used to determine grid cells for bucketing results. Cells cannot exceed the specified size (diagonal) of the required precision. Valid values are in the [0, 12] range. Optional. Default is 5.
bounds | Object | The bounding box for filtering geopoints and geoshapes. The bounding box is defined by the upper-left and lower-right vertices. Only shapes that intersect with this bounding box or are completely enclosed by this bounding box are included in the aggregation output. The vertices are specified as geopoints in one of the following formats: <br>- An object with a latitude and longitude<br>- An array in the [`longitude`, `latitude`] format<br>- A string in the "`latitude`,`longitude`" format<br>- A geohash <br>- WKT<br> See the [geopoint formats]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/geo-point#formats) for formatting examples. Optional.
size | Integer | The maximum number of buckets to return. When there are more buckets than `size`, OpenSearch returns buckets with more documents. Optional. Default is 10,000.
shard_size | Integer | The maximum number of buckets to return from each shard. Optional. Default is max (10, `size`· number of shards), which provides a more accurate count of more highly prioritized buckets.
## Geohash precision
The relationship between geohash precision and the approximate grid cell dimensions is described in the following table.
The Hexagonal Hierarchical Geospatial Indexing System (H3) partitions the Earth's areas into identifiable hexagon-shaped cells.
The H3 grid system works well for proximity applications because it overcomes the limitations of Geohash's non-uniform partitions. Geohash encodes latitude and longitude pairs, leading to significantly smaller partitions near the poles and a degree of longitude near the equator. However, the H3 grid system's distortions are low and limited to 5 partitions of 122. These five partitions are placed in low-use areas (for example, in the middle of the ocean), leaving the essential areas error free. Thus, grouping documents based on the H3 grid system provides a better aggregation than the Geohash grid.
The geohex grid aggregation groups [geopoints]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/geo-point/) into grid cells for geographical analysis. Each grid cell corresponds to an [H3 cell](https://h3geo.org/docs/core-library/h3Indexing/#h3-cell-indexp) and is identified using the [H3Index representation](https://h3geo.org/docs/core-library/h3Indexing/#h3index-representation).
## Precision
The `precision` parameter controls the level of granularity that determines the grid cell size. The lower the precision, the larger the grid cells.
The following example illustrates low-precision and high-precision aggregation requests.
To start, create an index and map the `location` field as a `geo_point`:
```json
PUT national_parks
{
"mappings": {
"properties": {
"location": {
"type": "geo_point"
}
}
}
}
```
{% include copy-curl.html %}
Index the following documents into the sample index:
```json
PUT national_parks/_doc/1
{
"name": "Yellowstone National Park",
"location": "44.42, -110.59"
}
```
{% include copy-curl.html %}
```json
PUT national_parks/_doc/2
{
"name": "Yosemite National Park",
"location": "37.87, -119.53"
}
```
{% include copy-curl.html %}
```json
PUT national_parks/_doc/3
{
"name": "Death Valley National Park",
"location": "36.53, -116.93"
}
```
{% include copy-curl.html %}
You can index geopoints in several formats. For a list of all supported formats, see the [geopoint documentation]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/geo-point#formats).
{: .note}
## Low-precision requests
Run a low-precision request that buckets all three documents together:
```json
GET national_parks/_search
{
"aggregations": {
"grouped": {
"geohex_grid": {
"field": "location",
"precision": 1
}
}
}
}
```
{% include copy-curl.html %}
You can use either the `GET` or `POST` HTTP method for geohex grid aggregation queries.
{: .note}
The response groups documents 2 and 3 together because they are close enough to be bucketed in one grid cell:
```json
{
"took" : 4,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 3,
"relation" : "eq"
},
"max_score" : 1.0,
"hits" : [
{
"_index" : "national_parks",
"_id" : "1",
"_score" : 1.0,
"_source" : {
"name" : "Yellowstone National Park",
"location" : "44.42, -110.59"
}
},
{
"_index" : "national_parks",
"_id" : "2",
"_score" : 1.0,
"_source" : {
"name" : "Yosemite National Park",
"location" : "37.87, -119.53"
}
},
{
"_index" : "national_parks",
"_id" : "3",
"_score" : 1.0,
"_source" : {
"name" : "Death Valley National Park",
"location" : "36.53, -116.93"
}
}
]
},
"aggregations" : {
"grouped" : {
"buckets" : [
{
"key" : "8129bffffffffff",
"doc_count" : 2
},
{
"key" : "8128bffffffffff",
"doc_count" : 1
}
]
}
}
}
```
## High-precision requests
Now run a high-precision request:
```json
GET national_parks/_search
{
"aggregations": {
"grouped": {
"geohex_grid": {
"field": "location",
"precision": 6
}
}
}
}
```
{% include copy-curl.html %}
All three documents are bucketed separately because of higher granularity:
```json
{
"took" : 5,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 3,
"relation" : "eq"
},
"max_score" : 1.0,
"hits" : [
{
"_index" : "national_parks",
"_id" : "1",
"_score" : 1.0,
"_source" : {
"name" : "Yellowstone National Park",
"location" : "44.42, -110.59"
}
},
{
"_index" : "national_parks",
"_id" : "2",
"_score" : 1.0,
"_source" : {
"name" : "Yosemite National Park",
"location" : "37.87, -119.53"
}
},
{
"_index" : "national_parks",
"_id" : "3",
"_score" : 1.0,
"_source" : {
"name" : "Death Valley National Park",
"location" : "36.53, -116.93"
}
}
]
},
"aggregations" : {
"grouped" : {
"buckets" : [
{
"key" : "8629ab6dfffffff",
"doc_count" : 1
},
{
"key" : "8629857a7ffffff",
"doc_count" : 1
},
{
"key" : "862896017ffffff",
"doc_count" : 1
}
]
}
}
}
```
## Filtering requests
High-precision requests are resource intensive, so we recommend using a filter like `geo_bounding_box` to limit the geographical area. For example, the following query applies a filter to limit the search area:
```json
GET national_parks/_search
{
"size" : 0,
"aggregations": {
"filtered": {
"filter": {
"geo_bounding_box": {
"location": {
"top_left": "38, -120",
"bottom_right": "36, -116"
}
}
},
"aggregations": {
"grouped": {
"geohex_grid": {
"field": "location",
"precision": 6
}
}
}
}
}
}
```
{% include copy-curl.html %}
The response contains the two documents that are within the `geo_bounding_box` bounds:
```json
{
"took" : 4,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 3,
"relation" : "eq"
},
"max_score" : null,
"hits" : [ ]
},
"aggregations" : {
"filtered" : {
"doc_count" : 2,
"grouped" : {
"buckets" : [
{
"key" : "8629ab6dfffffff",
"doc_count" : 1
},
{
"key" : "8629857a7ffffff",
"doc_count" : 1
}
]
}
}
}
}
```
You can also restrict the geographical area by providing the coordinates of the bounding envelope in the `bounds` parameter. Both `bounds` and `geo_bounding_box` coordinates can be specified in any of the [geopoint formats]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/geo-point#formats). The following query uses the well-known text (WKT) "POINT(`longitude``latitude`)" format for the `bounds` parameter:
```json
GET national_parks/_search
{
"size": 0,
"aggregations": {
"grouped": {
"geohex_grid": {
"field": "location",
"precision": 6,
"bounds": {
"top_left": "POINT (-120 38)",
"bottom_right": "POINT (-116 36)"
}
}
}
}
}
```
{% include copy-curl.html %}
The response contains only the two results that are within the specified bounds:
```json
{
"took" : 3,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 3,
"relation" : "eq"
},
"max_score" : null,
"hits" : [ ]
},
"aggregations" : {
"grouped" : {
"buckets" : [
{
"key" : "8629ab6dfffffff",
"doc_count" : 1
},
{
"key" : "8629857a7ffffff",
"doc_count" : 1
}
]
}
}
}
```
The `bounds` parameter can be used with or without the `geo_bounding_box` filter; these two parameters are independent and can have any spatial relationship to each other.
## Supported parameters
Geohex grid aggregation requests support the following parameters.
Parameter | Data type | Description
:--- | :--- | :---
field | String | The field that contains the geopoints. This field must be mapped as a `geo_point` field. If the field contains an array, all array values are aggregated. Required.
precision | Integer | The granularity level used to determine grid cells for bucketing results. Cells cannot exceed the specified size (diagonal) of the required precision. Valid values are in the [0, 15] range. Optional. Default is 5.
bounds | Object | The bounding box for filtering geopoints. The bounding box is defined by the upper-left and lower-right vertices. The vertices are specified as geopoints in one of the following formats: <br>- An object with a latitude and longitude<br>- An array in the [`longitude`, `latitude`] format<br>- A string in the "`latitude`,`longitude`" format<br>- A geohash <br>- WKT<br> See the [geopoint formats]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/geo-point#formats) for formatting examples. Optional.
size | Integer | The maximum number of buckets to return. When there are more buckets than `size`, OpenSearch returns buckets with more documents. Optional. Default is 10,000.
shard_size | Integer | The maximum number of buckets to return from each shard. Optional. Default is max (10, `size`· number of shards), which provides a more accurate count of more highly prioritized buckets.
The geotile grid aggregation groups documents into grid cells for geographical analysis. Each grid cell corresponds to a [map tile](https://en.wikipedia.org/wiki/Tiled_web_map) and is identified using the `{zoom}/{x}/{y}` format. You can aggregate documents on [geopoint]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/geo-point/) or [geoshape]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/geo-shape/) fields using a geotile grid aggregation. One notable difference is that a geopoint is only present in one bucket, but a geoshape is counted in all geotile grid cells with which it intersects.
## Precision
The `precision` parameter controls the level of granularity that determines the grid cell size. The lower the precision, the larger the grid cells.
The following example illustrates low-precision and high-precision aggregation requests.
To start, create an index and map the `location` field as a `geo_point`:
```json
PUT national_parks
{
"mappings": {
"properties": {
"location": {
"type": "geo_point"
}
}
}
}
```
{% include copy-curl.html %}
Index the following documents into the sample index:
```json
PUT national_parks/_doc/1
{
"name": "Yellowstone National Park",
"location": "44.42, -110.59"
}
```
{% include copy-curl.html %}
```json
PUT national_parks/_doc/2
{
"name": "Yosemite National Park",
"location": "37.87, -119.53"
}
```
{% include copy-curl.html %}
```json
PUT national_parks/_doc/3
{
"name": "Death Valley National Park",
"location": "36.53, -116.93"
}
```
{% include copy-curl.html %}
You can index geopoints in several formats. For a list of all supported formats, see the [geopoint documentation]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/geo-point#formats).
{: .note}
## Low-precision requests
Run a low-precision request that buckets all three documents together:
```json
GET national_parks/_search
{
"aggregations": {
"grouped": {
"geotile_grid": {
"field": "location",
"precision": 1
}
}
}
}
```
{% include copy-curl.html %}
You can use either the `GET` or `POST` HTTP method for geotile grid aggregation queries.
{: .note}
The response groups all documents together because they are close enough to be bucketed in one grid cell:
<detailsopenmarkdown="block">
<summary>
Response
</summary>
{: .text-delta}
```json
{
"took": 51,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"skipped": 0,
"failed": 0
},
"hits": {
"total": {
"value": 3,
"relation": "eq"
},
"max_score": 1,
"hits": [
{
"_index": "national_parks",
"_id": "1",
"_score": 1,
"_source": {
"name": "Yellowstone National Park",
"location": "44.42, -110.59"
}
},
{
"_index": "national_parks",
"_id": "2",
"_score": 1,
"_source": {
"name": "Yosemite National Park",
"location": "37.87, -119.53"
}
},
{
"_index": "national_parks",
"_id": "3",
"_score": 1,
"_source": {
"name": "Death Valley National Park",
"location": "36.53, -116.93"
}
}
]
},
"aggregations": {
"grouped": {
"buckets": [
{
"key": "1/0/0",
"doc_count": 3
}
]
}
}
}
```
</details>
## High-precision requests
Now run a high-precision request:
```json
GET national_parks/_search
{
"aggregations": {
"grouped": {
"geotile_grid": {
"field": "location",
"precision": 6
}
}
}
}
```
{% include copy-curl.html %}
All three documents are bucketed separately because of higher granularity:
<detailsopenmarkdown="block">
<summary>
Response
</summary>
{: .text-delta}
```json
{
"took": 15,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"skipped": 0,
"failed": 0
},
"hits": {
"total": {
"value": 3,
"relation": "eq"
},
"max_score": 1,
"hits": [
{
"_index": "national_parks",
"_id": "1",
"_score": 1,
"_source": {
"name": "Yellowstone National Park",
"location": "44.42, -110.59"
}
},
{
"_index": "national_parks",
"_id": "2",
"_score": 1,
"_source": {
"name": "Yosemite National Park",
"location": "37.87, -119.53"
}
},
{
"_index": "national_parks",
"_id": "3",
"_score": 1,
"_source": {
"name": "Death Valley National Park",
"location": "36.53, -116.93"
}
}
]
},
"aggregations": {
"grouped": {
"buckets": [
{
"key": "6/12/23",
"doc_count": 1
},
{
"key": "6/11/25",
"doc_count": 1
},
{
"key": "6/10/24",
"doc_count": 1
}
]
}
}
}
```
</details>
You can also restrict the geographical area by providing the coordinates of the bounding envelope in the `bounds` parameter. Both `bounds` and `geo_bounding_box` coordinates can be specified in any of the [geopoint formats]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/geo-point#formats). The following query uses the well-known text (WKT) "POINT(`longitude``latitude`)" format for the `bounds` parameter:
```json
GET national_parks/_search
{
"size": 0,
"aggregations": {
"grouped": {
"geotile_grid": {
"field": "location",
"precision": 6,
"bounds": {
"top_left": "POINT (-120 38)",
"bottom_right": "POINT (-116 36)"
}
}
}
}
}
```
{% include copy-curl.html %}
The response contains only the two results that are within the specified bounds:
<detailsopenmarkdown="block">
<summary>
Response
</summary>
{: .text-delta}
```json
{
"took": 48,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"skipped": 0,
"failed": 0
},
"hits": {
"total": {
"value": 3,
"relation": "eq"
},
"max_score": 1,
"hits": [
{
"_index": "national_parks",
"_id": "1",
"_score": 1,
"_source": {
"name": "Yellowstone National Park",
"location": "44.42, -110.59"
}
},
{
"_index": "national_parks",
"_id": "2",
"_score": 1,
"_source": {
"name": "Yosemite National Park",
"location": "37.87, -119.53"
}
},
{
"_index": "national_parks",
"_id": "3",
"_score": 1,
"_source": {
"name": "Death Valley National Park",
"location": "36.53, -116.93"
}
}
]
},
"aggregations": {
"grouped": {
"buckets": [
{
"key": "6/11/25",
"doc_count": 1
},
{
"key": "6/10/24",
"doc_count": 1
}
]
}
}
}
```
</details>
The `bounds` parameter can be used with or without the `geo_bounding_box` filter; these two parameters are independent and can have any spatial relationship to each other.
## Aggregating geoshapes
To run an aggregation on a geoshape field, first create an index and map the `location` field as a `geo_shape`:
```json
PUT national_parks
{
"mappings": {
"properties": {
"location": {
"type": "geo_shape"
}
}
}
}
```
{% include copy-curl.html %}
Next, index some documents into the `national_parks` index:
You can run an aggregation on the `location` field as follows:
```json
GET national_parks/_search
{
"aggregations": {
"grouped": {
"geotile_grid": {
"field": "location",
"precision": 6
}
}
}
}
```
{% include copy-curl.html %}
When aggregating geoshapes, one geoshape can be counted for multiple buckets because it overlaps with multiple grid cells:
<detailsopenmarkdown="block">
<summary>
Response
</summary>
{: .text-delta}
```json
{
"took" : 3,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 3,
"relation" : "eq"
},
"max_score" : 1.0,
"hits" : [
{
"_index" : "national_parks",
"_id" : "1",
"_score" : 1.0,
"_source" : {
"name" : "Yellowstone National Park",
"location" : {
"type" : "envelope",
"coordinates" : [
[
-111.15,
45.12
],
[
-109.83,
44.12
]
]
}
}
},
{
"_index" : "national_parks",
"_id" : "2",
"_score" : 1.0,
"_source" : {
"name" : "Yosemite National Park",
"location" : {
"type" : "envelope",
"coordinates" : [
[
-120.23,
38.16
],
[
-119.05,
37.45
]
]
}
}
},
{
"_index" : "national_parks",
"_id" : "3",
"_score" : 1.0,
"_source" : {
"name" : "Death Valley National Park",
"location" : {
"type" : "envelope",
"coordinates" : [
[
-117.34,
37.01
],
[
-116.38,
36.25
]
]
}
}
}
]
},
"aggregations" : {
"grouped" : {
"buckets" : [
{
"key" : "6/12/23",
"doc_count" : 1
},
{
"key" : "6/12/22",
"doc_count" : 1
},
{
"key" : "6/11/25",
"doc_count" : 1
},
{
"key" : "6/11/24",
"doc_count" : 1
},
{
"key" : "6/10/24",
"doc_count" : 1
}
]
}
}
}
```
</details>
Currently, OpenSearch supports geoshape aggregation through the API but not in OpenSearch Dashboards visualizations. If you'd like to see geoshape aggregation implemented for visualizations, upvote the related [GitHub issue](https://github.com/opensearch-project/dashboards-maps/issues/250).
{: .note}
## Supported parameters
Geotile grid aggregation requests support the following parameters.
Parameter | Data type | Description
:--- | :--- | :---
field | String | The field that contains the geopoints. This field must be mapped as a `geo_point` field. If the field contains an array, all array values are aggregated. Required.
precision | Integer | The granularity level used to determine grid cells for bucketing results. Cells cannot exceed the specified size (diagonal) of the required precision. Valid values are in the [0, 29] range. Optional. Default is 7.
bounds | Object | The bounding box for filtering geopoints. The bounding box is defined by the upper-left and lower-right vertices. The vertices are specified as geopoints in one of the following formats: <br>- An object with a latitude and longitude<br>- An array in the [`longitude`, `latitude`] format<br>- A string in the "`latitude`,`longitude`" format<br>- A geohash <br>- WKT<br> See the [geopoint formats]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/geo-point#formats) for formatting examples. Optional.
size | Integer | The maximum number of buckets to return. When there are more buckets than `size`, OpenSearch returns buckets with more documents. Optional. Default is 10,000.
shard_size | Integer | The maximum number of buckets to return from each shard. Optional. Default is max (10, `size`· number of shards), which provides a more accurate count of more highly prioritized buckets.
The `global` aggregations lets you break out of the aggregation context of a filter aggregation. Even if you have included a filter query that narrows down a set of documents, the `global` aggregation aggregates on all documents as if the filter query wasn't there. It ignores the `filter` aggregation and implicitly assumes the `match_all` query.
The following example returns the `avg` value of the `taxful_total_price` field from all documents in the index:
```json
GET opensearch_dashboards_sample_data_ecommerce/_search
{
"size": 0,
"query": {
"range": {
"taxful_total_price": {
"lte": 50
}
}
},
"aggs": {
"total_avg_amount": {
"global": {},
"aggs": {
"avg_price": {
"avg": {
"field": "taxful_total_price"
}
}
}
}
}
}
```
{% include copy-curl.html %}
#### Example response
```json
...
"aggregations" : {
"total_avg_amount" : {
"doc_count" : 4675,
"avg_price" : {
"value" : 75.05542864304813
}
}
}
}
```
You can see that the average value for the `taxful_total_price` field is 75.05 and not the 38.36 as seen in the `filter` example when the query matched.
Some files were not shown because too many files have changed in this diff
Show More
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.