From 09aa024b55f9ed59190f26567552eff298a9812f Mon Sep 17 00:00:00 2001 From: Heather Halter Date: Tue, 6 Jun 2023 15:50:47 -0700 Subject: [PATCH] Update version and add link to examples - Javascript client (#4224) * addlinktoguides Signed-off-by: Heather Halter * addslinktohelperfile Signed-off-by: Heather Halter * addedlinktohelper Signed-off-by: Heather Halter * Update _clients/javascript/index.md Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Signed-off-by: Heather Halter * Update _clients/javascript/helpers.md Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Signed-off-by: Heather Halter --------- Signed-off-by: Heather Halter Signed-off-by: Heather Halter Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> --- _clients/javascript/helpers.md | 4 ++-- _clients/javascript/index.md | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/_clients/javascript/helpers.md b/_clients/javascript/helpers.md index 9efd74d305..b03af21f94 100644 --- a/_clients/javascript/helpers.md +++ b/_clients/javascript/helpers.md @@ -7,7 +7,7 @@ nav_order: 2 # Helper methods -Helper methods simplify the use of complicated API tasks. +Helper methods simplify the use of complicated API tasks. For the client's complete API documentation and additional examples, see the [JS client API documentation](https://opensearch-project.github.io/opensearch-js/2.2/index.html). ## Bulk helper @@ -68,7 +68,7 @@ When creating a new bulk helper instance, you can use the following configuratio ### Examples -The following examples illustrate the index, create, update, and delete bulk helper operations. +The following examples illustrate the index, create, update, and delete bulk helper operations. For more information and advanced index actions, see the [`opensearch-js` guides](https://github.com/opensearch-project/opensearch-js/tree/main/guides) in GitHub. #### Index diff --git a/_clients/javascript/index.md b/_clients/javascript/index.md index ba58ad04f4..9adcd65be7 100644 --- a/_clients/javascript/index.md +++ b/_clients/javascript/index.md @@ -9,9 +9,11 @@ redirect_from: # JavaScript client -The OpenSearch JavaScript (JS) client provides a safer and easier way to interact with your OpenSearch cluster. Rather than using OpenSearch from the browser and potentially exposing your data to the public, you can build an OpenSearch client that takes care of sending requests to your cluster. For the client's complete API documentation and additional examples, see the [JS client API documentation](https://opensearch-project.github.io/opensearch-js/2.1/index.html). +The OpenSearch JavaScript (JS) client provides a safer and easier way to interact with your OpenSearch cluster. Rather than using OpenSearch from the browser and potentially exposing your data to the public, you can build an OpenSearch client that takes care of sending requests to your cluster. For the client's complete API documentation and additional examples, see the [JS client API documentation](https://opensearch-project.github.io/opensearch-js/2.2/index.html). -The client contains a library of APIs that let you perform different operations on your cluster and return a standard response body. The example here demonstrates some basic operations like creating an index, adding documents, and searching your data. +The client contains a library of APIs that let you perform different operations on your cluster and return a standard response body. The example here demonstrates some basic operations like creating an index, adding documents, and searching your data. + +You can use helper methods to simplify the use of complicated API tasks. For more information, see [Helper methods]({{site.url}}{{site.baseurl}}/clients/javascript/helpers/). For more advanced index actions, see the [`opensearch-js` guides](https://github.com/opensearch-project/opensearch-js/tree/main/guides) in GitHub. ## Setup