Commit f3faeab0317f2f221efbd5473af2f9f0bf9b5cb3
1 parent
c22cdbfa
Exists in
master
and in
2 other branches
Updated example [skip ci]
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
README.md
@@ -1380,6 +1380,8 @@ Create an initializer with multiple hosts: | @@ -1380,6 +1380,8 @@ Create an initializer with multiple hosts: | ||
1380 | 1380 | ||
1381 | ```ruby | 1381 | ```ruby |
1382 | ENV["ELASTICSEARCH_URL"] = "https://user:password@host1,https://user:password@host2" | 1382 | ENV["ELASTICSEARCH_URL"] = "https://user:password@host1,https://user:password@host2" |
1383 | +# or | ||
1384 | +ENV["OPENSEARCH_URL"] = "https://user:password@host1,https://user:password@host2" | ||
1383 | ``` | 1385 | ``` |
1384 | 1386 | ||
1385 | See [elastic-transport](https://github.com/elastic/elastic-transport-ruby) or [opensearch-transport](https://github.com/opensearch-project/opensearch-ruby/tree/main/opensearch-transport) for a complete list of options. | 1387 | See [elastic-transport](https://github.com/elastic/elastic-transport-ruby) or [opensearch-transport](https://github.com/opensearch-project/opensearch-ruby/tree/main/opensearch-transport) for a complete list of options. |