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

Document override_main_response_version #72

Closed
dblock opened this issue Jul 7, 2021 · 4 comments
Closed

Document override_main_response_version #72

dblock opened this issue Jul 7, 2021 · 4 comments
Labels
v1.0.0 xx-documentation Improvements or additions to documentation

Comments

@dblock
Copy link
Member

dblock commented Jul 7, 2021

A cluster setting was introduced in opensearch-project/OpenSearch#847. We removed the distribution in backwards-compatible mode in opensearch-project/OpenSearch#898. Set compatibility.override_main_response_version to put the cluster into a configuration that returns 7.10.2 as with ES OSS.

Currently https://docs-beta.opensearch.org/clients/agents-and-ingestion-tools/index/ point to "yes via a cluster setting" which links to opensearch-project/OpenSearch#693, but should be linking to the documentation that explains how to set this setting.

@aetter
Copy link
Contributor

aetter commented Jul 8, 2021

@dblock Is version.number in opensearch.yml still present/required, or is override_main_response_version all a user needs to set? Ordinarily I'd test this sort of thing, but https://hub.docker.com/r/opensearchstaging/opensearch/tags.

@dblock
Copy link
Member Author

dblock commented Jul 8, 2021

@dblock Is version.number in opensearch.yml still present/required, or is override_main_response_version all a user needs to set? Ordinarily I'd test this sort of thing, but https://hub.docker.com/r/opensearchstaging/opensearch/tags.

@mch2 can provide all the details as needed

@mch2
Copy link
Member

mch2 commented Jul 8, 2021

@aetter compatibility.override_main_response_version is all a user needs to set. This can be enabled via opensearch.yml or toggled as a cluster setting:

PUT /_cluster/settings
{
  "compatibility" : {
    "override_main_response_version" : true
  }
}

@aetter aetter mentioned this issue Jul 8, 2021
1 task
@dblock
Copy link
Member Author

dblock commented Jul 12, 2021

Closed via #77

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1.0.0 xx-documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants