Commit 22f31ce0d38d471a705728ebb579a035904163d2
1 parent
63db6577
Exists in
master
and in
2 other branches
Restore current order [skip ci]
Showing
1 changed file
with
7 additions
and
7 deletions
Show diff stats
README.md
@@ -47,21 +47,21 @@ Searchkick 5.0 was recently released! See [how to upgrade](#upgrading) | @@ -47,21 +47,21 @@ Searchkick 5.0 was recently released! See [how to upgrade](#upgrading) | ||
47 | 47 | ||
48 | ## Getting Started | 48 | ## Getting Started |
49 | 49 | ||
50 | -Install [OpenSearch](https://opensearch.org/downloads.html) or [Elasticsearch](https://www.elastic.co/downloads/elasticsearch). For Homebrew, use: | 50 | +Install [Elasticsearch](https://www.elastic.co/downloads/elasticsearch) or [OpenSearch](https://opensearch.org/downloads.html). For Homebrew, use: |
51 | 51 | ||
52 | ```sh | 52 | ```sh |
53 | -brew install opensearch # or elasticsearch | ||
54 | -brew services start opensearch # or elasticsearch | 53 | +brew install elasticsearch # or opensearch |
54 | +brew services start elasticsearch # or opensearch | ||
55 | ``` | 55 | ``` |
56 | 56 | ||
57 | Add these lines to your application’s Gemfile: | 57 | Add these lines to your application’s Gemfile: |
58 | 58 | ||
59 | ```ruby | 59 | ```ruby |
60 | gem "searchkick" | 60 | gem "searchkick" |
61 | -gem "opensearch-ruby" # or "elasticsearch" | 61 | +gem "elasticsearch" # or "opensearch-ruby" |
62 | ``` | 62 | ``` |
63 | 63 | ||
64 | -The latest version works with OpenSearch 1 and Elasticsearch 7 and 8. For Elasticsearch 6, use version 4.6.3 and [this readme](https://github.com/ankane/searchkick/blob/v4.6.3/README.md). | 64 | +The latest version works with Elasticsearch 7 and 8 and OpenSearch 1. For Elasticsearch 6, use version 4.6.3 and [this readme](https://github.com/ankane/searchkick/blob/v4.6.3/README.md). |
65 | 65 | ||
66 | Add searchkick to models you want to search. | 66 | Add searchkick to models you want to search. |
67 | 67 | ||
@@ -2064,10 +2064,10 @@ For convenience, this is set by default in the test environment. | @@ -2064,10 +2064,10 @@ For convenience, this is set by default in the test environment. | ||
2064 | 2064 | ||
2065 | ### 5.0 | 2065 | ### 5.0 |
2066 | 2066 | ||
2067 | -Searchkick 5 supports both the `opensearch-ruby` and `elasticsearch` gems. Add the one you want to use to your Gemfile: | 2067 | +Searchkick 5 supports both the `elasticsearch` and `opensearch-ruby` gems. Add the one you want to use to your Gemfile: |
2068 | 2068 | ||
2069 | ```ruby | 2069 | ```ruby |
2070 | -gem "elasticsearch" | 2070 | +gem "elasticsearch" # or "opensearch-ruby" |
2071 | ``` | 2071 | ``` |
2072 | 2072 | ||
2073 | If using the deprecated `faraday_middleware-aws-signers-v4` gem, switch to `faraday_middleware-aws-sigv4`. | 2073 | If using the deprecated `faraday_middleware-aws-signers-v4` gem, switch to `faraday_middleware-aws-sigv4`. |