From 457e938a839929a7b327533bddb055f0e71f2ac8 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Thu, 20 Jan 2022 13:24:45 -0800 Subject: [PATCH] Updated readme [skip ci] --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d8826bd..36d50b5 100644 --- a/README.md +++ b/README.md @@ -45,20 +45,21 @@ Check out [Searchjoy](https://github.com/ankane/searchjoy) for analytics and [Au ## Getting Started -Install [Elasticsearch](https://www.elastic.co/downloads/elasticsearch) or [OpenSearch](https://opensearch.org/downloads.html). For Homebrew, use: +Install [OpenSearch](https://opensearch.org/downloads.html) or [Elasticsearch](https://www.elastic.co/downloads/elasticsearch). For Homebrew, use: ```sh -brew install elasticsearch # or opensearch -brew services start elasticsearch # or opensearch +brew install opensearch # or elasticsearch +brew services start opensearch # or elasticsearch ``` -Add this line to your application’s Gemfile: +Add these lines to your application’s Gemfile: ```ruby gem "searchkick" +gem "opensearch-ruby" # or "elasticsearch" ``` -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). +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). Add searchkick to models you want to search. -- libgit2 0.21.0