Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[DOCS] Replace 'Elasticsearch' with 'OpenSearch' that used as software name #372

Merged
merged 15 commits into from
Mar 18, 2021

Conversation

tlfeng
Copy link
Collaborator

@tlfeng tlfeng commented Mar 18, 2021

Issue #, if available:
#238

Description of changes:

The PR complete the work in PR #237

The PR requests merging the code into oss-docs branch.

  • Replace Elasticsearch that used as software name with OpenSearch (case sensitive)
  • Add TODO in the places that version number or file path need to be corrected.
// TODO(OpenSearch): Correct the version number
// TODO(OpenSearch): Correct the path

Exceptions - Didn't do the replacement in the following places:
(All the files are in docs directory)

  • Clients made for Elasticsearch
    community-clients
    perl
    java-api (a part of "Elasticsearch" words remains)

  • Reference about features in old versions
    reference/mapping/removal_of_types.asciidoc

  • Plugins made for Elasticsearch:
    plugins/api
    plugins/intrgrations
    plugins/security

  • Other topics
    Website links
    License
    Code snippets

  • README file - PR Updating README.md for docs/ #373

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@tlfeng tlfeng added documentation Improvements or additions to documentation >FORK Related to the fork process Rename Renaming to OpenSearch labels Mar 18, 2021
@tlfeng tlfeng requested review from setiah and removed request for setiah March 18, 2021 03:14
@odfe-release-bot
Copy link

❌   DCO Check Failed
Run ./dev-tools/signoff-check.sh remotes/origin/oss-docs 494a0a42913e869ba2252e8aa38c90bdfe1fd44c to check locally
Use git commit with -s to add 'Signed-of-by: {EMAIL}' on impacted commits

Tianli Feng added 8 commits March 17, 2021 20:35
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Signed-off-by: Tianli Feng <ftianli@amazon.com>
@odfe-release-bot
Copy link

✅   DCO Check Passed

Tianli Feng added 2 commits March 17, 2021 20:49
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Signed-off-by: Tianli Feng <ftianli@amazon.com>
@odfe-release-bot
Copy link

✅   DCO Check Passed

Signed-off-by: Tianli Feng <ftianli@amazon.com>
@tlfeng tlfeng requested a review from setiah March 18, 2021 03:51
@tlfeng tlfeng marked this pull request as ready for review March 18, 2021 03:51
@odfe-release-bot
Copy link

✅   DCO Check Passed

[[java-api]]
[preface]
== Preface

deprecated[7.0.0, The `TransportClient` is deprecated in favour of the {java-rest}/java-rest-high.html[Java High Level REST Client] and will be removed in Elasticsearch 8.0. The {java-rest}/java-rest-high-level-migration.html[migration guide] describes all the steps needed to migrate.]
deprecated[7.0.0, The `TransportClient` is deprecated in favour of the {java-rest}/java-rest-high.html[Java High Level REST Client] and will be removed in OpenSearch 8.0. The {java-rest}/java-rest-high-level-migration.html[migration guide] describes all the steps needed to migrate.]
Copy link
Contributor

Choose a reason for hiding this comment

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

Can remove the last part here and will be removed in OpenSearch 8.0

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thank you. I will modify it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done. 👍

@@ -1,5 +1,5 @@
[[opensearch-reference]]
= Elasticsearch Reference
= OpenSearch Reference

:es-test-dir: {search-root}/docs/src/test
Copy link
Contributor

Choose a reason for hiding this comment

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

es-test-dir --> opensearch-test-dir

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No problem, I will modify the asciidoc attributes in my next PR.

@@ -1,5 +1,5 @@
[[opensearch-reference]]
= Elasticsearch Reference
= OpenSearch Reference

:es-test-dir: {search-root}/docs/src/test
:plugins-examples-dir: {search-root}/plugins/examples
Copy link
Contributor

Choose a reason for hiding this comment

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

es-repo-dir --> opensearch-repo-dir

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thank you, the asciidoc attributes will be resolved in my next PR.

@@ -287,7 +287,7 @@ separately.
Per cluster boolean setting that enables you to configure compression for
requests to a specific remote cluster. This setting impacts only requests
sent to the remote cluster. If the inbound request is compressed,
Elasticsearch compresses the response. If unset, the global
OpenSearchcompresses the response. If unset, the global
Copy link
Contributor

Choose a reason for hiding this comment

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

add space

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch! Thanks!

@@ -134,7 +135,7 @@ The following parameters are required when percolating a document:
This is an optional parameter.
`document`:: The source of the document being percolated.
`documents`:: Like the `document` parameter, but accepts multiple documents via a json array.
`document_type`:: The type / mapping of the document being percolated. This parameter is deprecated and will be removed in Elasticsearch 8.0.
`document_type`:: The type / mapping of the document being percolated. This parameter is deprecated and will be removed in OpenSearch 8.0.
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove this line. - This parameter is deprecated and will be removed in OpenSearch 8.0.

Our OpenSearch version will not be 8.0 and secondly, we are not sure yet if we will remove these deprecated parameters

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Lol, "will not be 8.0" 😂 😏!

@@ -143,7 +144,7 @@ In that case the `document` parameter can be substituted with the following para

[horizontal]
`index`:: The index the document resides in. This is a required parameter.
`type`:: The type of the document to fetch. This parameter is deprecated and will be removed in Elasticsearch 8.0.
`type`:: The type of the document to fetch. This parameter is deprecated and will be removed in OpenSearch 8.0.
Copy link
Contributor

Choose a reason for hiding this comment

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

same as above

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removed. 👍

Comment on lines 14 to 15
Note that synced flush is deprecated and will be removed in 8.0. A flush
has the same effect as a synced flush on Elasticsearch 7.6 or later.
has the same effect as a synced flush on OpenSearch 7.6 or later.
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove - "will be removed in 8.0"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thank you! I have removed these words.

Copy link
Contributor

@setiah setiah left a comment

Choose a reason for hiding this comment

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

Thanks Tianli. Added a few comments

Tianli Feng added 2 commits March 17, 2021 21:18
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Signed-off-by: Tianli Feng <ftianli@amazon.com>
@odfe-release-bot
Copy link

✅   DCO Check Passed

Signed-off-by: Tianli Feng <ftianli@amazon.com>
@odfe-release-bot
Copy link

✅   DCO Check Passed

Signed-off-by: Tianli Feng <ftianli@amazon.com>
@odfe-release-bot
Copy link

✅   DCO Check Passed

@setiah setiah merged commit f026289 into opensearch-project:oss-docs Mar 18, 2021
@tlfeng tlfeng deleted the docs-rename branch March 18, 2021 21:35
ritty27 pushed a commit to ritty27/OpenSearch that referenced this pull request May 12, 2024
* Fixing issue when tracktotalhits is disabled

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Update Changelog

Signed-off-by: Vacha Shah <vachshah@amazon.com>

---------

Signed-off-by: Vacha Shah <vachshah@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
ritty27 pushed a commit to ritty27/OpenSearch that referenced this pull request May 12, 2024
…h-project#412)

* Adding x-amz-content-sha256 header for signed requests (opensearch-project#339)

* Adding X-Amz-Content-Sha256 header for signed requests

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Adding CHANGELOG entry

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Adding documentation comment

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Adding tests

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Addressing comments

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Addressing comments

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Removing refresh policy for integ tests for Sigv4

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Updating the developer guide

Signed-off-by: Vacha Shah <vachshah@amazon.com>

Signed-off-by: Vacha Shah <vachshah@amazon.com>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Fix issue with completion suggester being parsed as term suggester. (opensearch-project#347)

* Fix issue with completion suggester being parsed as term suggester.

This commit fixes the issue where a completion suggester search request
was being parsed as a term suggester and failing due to "Missing
required property 'TermSuggestOption.score'"

This solution was originally proposed by Github user @apatrida

Signed-off-by: Dan Hart <git@danielhart.me>

* Remove commented code

Signed-off-by: Dan Hart <git@danielhart.me>

* Fix format of changelog item

Signed-off-by: Dan Hart <git@danielhart.me>

Signed-off-by: Dan Hart <git@danielhart.me>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Update USER_GUIDE to use exact AWS brand names (opensearch-project#352)

Minor update to use exact brand names. "OpenSearch" is rather overloaded
to I find it less confusing to be precise in the naming.

Signed-off-by: Andrew Ross <andrross@amazon.com>

Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Bumps Jackson from 2.14.1 to 2.14.2 (opensearch-project#357)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Bulk UpdateOperation misses upsert options (opensearch-project#353)

* Bulk UpdateOperation misses upsert options

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

* Fix formatting

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

---------

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Upgrading compatibility to opensearch 2.5 (opensearch-project#367)

* Upgrading compatibility to opensearch 2.5

Signed-off-by: amitai stern <123amitai@gmail.com>

* latest 2.4 version

Signed-off-by: amitai stern <123amitai@gmail.com>

* keep existing compatibility matrix rows, this pr adds a new row for versions of opensearch after 2.3.0

Signed-off-by: amitai stern <123amitai@gmail.com>

---------

Signed-off-by: amitai stern <123amitai@gmail.com>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* add option to set columns into cat indices request

Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* add changelog

Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* changes in CatRequestBase, IndicesRequest, NodesRequest, RecoveryRequest and add tests

Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Feature/range aggregation fix 369 (opensearch-project#370)

* test: create integration tests for date_range and range aggregation (opensearch-project#369)

Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com>

* fix: add a missing key propery to the RangeBucket (opensearch-project#369)

Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com>

* docs: add CHANGELOG entry (opensearch-project#369)

Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com>

---------

Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Fixing integration tests (opensearch-project#375)

* Fixing integration tests

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Updating the test with a non-exact check

Signed-off-by: Vacha Shah <vachshah@amazon.com>

---------

Signed-off-by: Vacha Shah <vachshah@amazon.com>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Adding bulk request example in user guide (opensearch-project#373)

Signed-off-by: Vacha Shah <vachshah@amazon.com>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Fixing issue when tracktotalhits is disabled (opensearch-project#372)

* Fixing issue when tracktotalhits is disabled

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Update Changelog

Signed-off-by: Vacha Shah <vachshah@amazon.com>

---------

Signed-off-by: Vacha Shah <vachshah@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* changes changelog

Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156 (opensearch-project#390)

* Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156

Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.154 to 4.8.156.
- [Release notes](https://github.com/classgraph/classgraph/releases)
- [Commits](classgraph/classgraph@classgraph-4.8.154...classgraph-4.8.156)

---
updated-dependencies:
- dependency-name: io.github.classgraph:classgraph
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Add 2PR approval to release workflow (opensearch-project#383)

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Adding an example to use raw JSON class instead of target classes (opensearch-project#385)

Signed-off-by: Vacha Shah <vachshah@amazon.com>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Update Gradle to 8.0.2 (opensearch-project#392)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Add "mappings" field to IndexSettings object (opensearch-project#382)

Signed-off-by: Ilya Lukyanovich <l000kian@gmail.com>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Created untriaged issue workflow. (opensearch-project#364)

Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Bump io.github.classgraph:classgraph from 4.8.156 to 4.8.157 in /java-client (opensearch-project#403)

* Bump io.github.classgraph:classgraph in /java-client

Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.156 to 4.8.157.
- [Release notes](https://github.com/classgraph/classgraph/releases)
- [Commits](classgraph/classgraph@classgraph-4.8.156...classgraph-4.8.157)

---
updated-dependencies:
- dependency-name: io.github.classgraph:classgraph
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Add buffered lookahead for Jackson (opensearch-project#338)

Signed-off-by: luneo7 <luneo7@gmail.com>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* Mask env values for snapshots (opensearch-project#411)

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* option to set headers and sort into cat requests

Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* fix test

Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* fix changelog

Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

* add cat examples into USER_GUID

Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>

---------

Signed-off-by: Vacha Shah <vachshah@amazon.com>
Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>
Signed-off-by: Dan Hart <git@danielhart.me>
Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: amitai stern <123amitai@gmail.com>
Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: Ilya Lukyanovich <l000kian@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: luneo7 <luneo7@gmail.com>
Co-authored-by: Vacha Shah <vachshah@amazon.com>
Co-authored-by: Danny Hart <git@danielhart.me>
Co-authored-by: Andrew Ross <andrross@amazon.com>
Co-authored-by: Andriy Redko <andriy.redko@aiven.io>
Co-authored-by: amitai stern <123amitai@gmail.com>
Co-authored-by: szczepanczykd <48957041+szczepanczykd@users.noreply.github.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com>
Co-authored-by: Ilya Lukyanovich <ilya.lukyanovich@dataart.com>
Co-authored-by: Lucas Rogerio Caetano Ferreira <luneo7@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation >FORK Related to the fork process Rename Renaming to OpenSearch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants