Commit 457e938a839929a7b327533bddb055f0e71f2ac8
1 parent
0ec42ebc
Exists in
master
and in
2 other branches
Updated readme [skip ci]
Showing
1 changed file
with
6 additions
and
5 deletions
Show diff stats
README.md
... | ... | @@ -45,20 +45,21 @@ Check out [Searchjoy](https://github.com/ankane/searchjoy) for analytics and [Au |
45 | 45 | |
46 | 46 | ## Getting Started |
47 | 47 | |
48 | -Install [Elasticsearch](https://www.elastic.co/downloads/elasticsearch) or [OpenSearch](https://opensearch.org/downloads.html). For Homebrew, use: | |
48 | +Install [OpenSearch](https://opensearch.org/downloads.html) or [Elasticsearch](https://www.elastic.co/downloads/elasticsearch). For Homebrew, use: | |
49 | 49 | |
50 | 50 | ```sh |
51 | -brew install elasticsearch # or opensearch | |
52 | -brew services start elasticsearch # or opensearch | |
51 | +brew install opensearch # or elasticsearch | |
52 | +brew services start opensearch # or elasticsearch | |
53 | 53 | ``` |
54 | 54 | |
55 | -Add this line to your application’s Gemfile: | |
55 | +Add these lines to your application’s Gemfile: | |
56 | 56 | |
57 | 57 | ```ruby |
58 | 58 | gem "searchkick" |
59 | +gem "opensearch-ruby" # or "elasticsearch" | |
59 | 60 | ``` |
60 | 61 | |
61 | -The latest version works with Elasticsearch 6 and 7 and OpenSearch 1. For Elasticsearch 5, use version 3.1.3 and [this readme](https://github.com/ankane/searchkick/blob/v3.1.3/README.md). | |
62 | +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). | |
62 | 63 | |
63 | 64 | Add searchkick to models you want to search. |
64 | 65 | ... | ... |